@font-face {
	font-family: 'Shantell Sans';
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url('fonts/shantell-sans-1.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Shantell Sans';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('fonts/shantell-sans-2.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Varta';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('fonts/varta.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



:root {
    
	/* FONT FAMILIES */
		--heading-font: 'Shantell Sans', cursive;
		--body-font: 'Varta', sans-serif;
		
	/* COLOR DEFINITIONS */
	--color-1: #262650;     /* Dark contrast */
    --color-2: #34318d;     /* Primary */
    --color-3: #5756A2;     /* Primary brighter contrast */
    --color-4: #BEC7F9;     /* Secondary */
    --color-5: #E3E8F6;        /* Secondary light contrast */
    --color-selected: #E7FFD4;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


h1, h2 {
	font-family: var(--heading-font);
	font-weight: 700;
	color: var(--color-5);
	font-size: 1.7rem;
	line-height: 2.1rem;
}

h2 {
	margin-bottom: 14px;
}

a, p {
	font-family: var(--body-font);
	color: var(--color-5);
	font-size: 1rem;
	line-height: 1.3rem;
}

p:not(:first-of-type) {
	margin-top: 12px;
}

.flex {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}


body {
    background-color: var(--color-2);
    background-image: url(background.svg);
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: 110%;
    background-attachment: fixed;
}

header {
	border-bottom: 3px solid var(--color-5);
	position: fixed;
	top: 0;
	padding-top: 16px;
	padding-bottom: 4px;
	width: 100%;
	background: var(--color-2)
}

header #logo {
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

header #logo img {
	width: 52px;
}

header #logo h1 {
	font-size: 2.1rem;
}

header nav {
	display: flex;
	justify-content: space-around;
}

header nav a {
	text-decoration: none;
}

header nav p:nth-last-of-type(1) {
	display: none;
}



section {
	width: 90%;
	padding: 16px;
	max-width: 500px;
	margin: 50px auto;
	border-radius: 24px;
	border: 4px solid var(--color-3);
	background: var(--color-2);
}

section:first-of-type {
	margin-top: 180px;
}

section#intro {
	border: 4px solid var(--color-5);
	background: var(--color-3);
}

section#intro * {
	color: white;
}

section#requirements ul {
	list-style-type: none;
	list-style: "⚠";
	font-family: 'Segoe UI Emoji', var(--body-font);
	margin-left: 20px;
}

section#requirements ul li {
	margin-bottom: 4px;
}


footer {
	max-width: 500px;
	width: 90%;
	padding: 16px;
	margin: 0 auto;
	margin-top: 100px;
	border-radius: 24px;
	border: 4px solid var(--color-3);
	border-bottom: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	background: var(--color-1);
}

footer nav {
	display: flex;
	margin-top: 12px;
	gap: 16px;
}





@media only screen and (min-width: 980px) {
	h1, h2 {
		font-size: 2.2rem;
		line-height: 2.5rem;
	}
	
	a, p {
		font-size: 1.12rem;
		line-height: 1.5rem;
	}

	a:hover {
		color: white;
	}
	
	p:not(:first-of-type) {
		margin-top: 12px;
	}
	
	header {
		border-bottom: none;
		position: unset;
		padding-top: 80px;
		background: none;
	}
	
	header #logo {
		gap: 24px;
		margin-bottom: 20px;
	}
	
	header #logo img {
		width: 100px;
	}
	
	header #logo h1 {
		font-size: 3.7rem;
	}
	
	header nav {
		margin: 0 auto;
		margin-top: 40px;
		max-width: 520px;
	}

	header nav a {
		display: flex;
		flex-direction: column;
		width: 154px;
		height: 154px;
		background: var(--color-1);
		border: 4px solid var(--color-4);
		border-radius: 30px;
		overflow: hidden;
		text-align: center;
		justify-content: space-around;
		padding: 20px;
		transition: .2s;
	}

	header nav a:hover {
		transform: scale(1.05);
		background: var(--color-3);
		border: 4px solid white;
		transition: .1s;
	}

	header nav p:first-of-type {
		color: white;
		font-family: var(--heading-font);
		font-weight: 700;
		font-size: 1.8rem;
		line-height: 2.1rem;
	}
	
	header nav p:nth-last-of-type(1) {
		display: unset;
		font-size: 1rem;
		line-height: 1.2rem;
		color: var(--color-4)
	}

	section:first-of-type {
		margin-top: 100px;
	}

	section {
		width: 70%;
		padding: 34px;
		max-width: 720px;
		margin: 80px auto;
		border-radius: 42px;
		border: 4px solid var(--color-3);
		background: var(--color-2);
	}

	section#requirements ul {
		margin-top: 14px;
	}

	footer {
		text-align: center;
		width: 70%;
		padding: 34px;
		max-width: 720px;
		border-top-left-radius: 42px;
		border-top-right-radius: 42px;
	}

	footer nav {
		justify-content: center;
	}
}


@media only screen and (min-width: 1700px) {
	header {
		border-bottom: none;
		position: unset;
		padding-top: 150px;
		background: none;
	}
	
	header #logo {
		gap: 28px;
	}
	
	header #logo img {
		width: 124px;
	}
	
	header #logo h1 {
		font-size: 4.2rem;
	}
	
	header nav {
		margin: 0 auto;
		margin-top: 50px;
	}
}