/* Font Declarations */
@font-face {
	font-family: "Barlow";
	src: url("../fonts/Barlow-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("../fonts/Barlow-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("../fonts/Barlow-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* CSS Reset and Base Styles */

:root {
	--color-blue: #004c9b;
	--color-lightblue: #007bc3;
	--color-darkblue: #001f3f;
	--color-orange: #ef8300;
	--color-grey: #f0ecec;

	--gutter: 60px;
}

html {
	font-size: 20px;
}

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

p {
	font-size: 1rem;
}

h1 {
	font-size: 1.8rem;
}
h2 {
	font-size: 1.8rem;
	margin-bottom: 0.75em;
	font-weight: 700;
}
h3 {
}

ul {
	font-size: 1rem;
	list-style-type: none;
}

.first-head {
	margin: 0;
}
.second-head {
	color: var(--color-lightblue);
}

body {
	font-family:
		"Barlow",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Oxygen,
		Ubuntu,
		Cantarell,
		sans-serif;
	line-height: 1.25;
	text-rendering: optimizeLegibility;
	text-align: center;
	color: var(--color-blue);
	background-color: var(--color-blue);

	min-height: 100vh;
}
#logo {
	position: absolute;
	top: var(--gutter);
	left: var(--gutter);
	z-index: 20;
	text-decoration: none;

	font-weight: 600;
	color: #fff;
}
section {
	padding: var(--gutter);
	background-color: #fff;
}
#mainTitle {
	position: absolute;
	right: 0px;
	top: 20%;

	background-color: #fff;
	color: var(--color-blue);

	display: flex;

	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
}

#mainTitle h1 {
	font-size: 2vw;
}

#hero {
	background-color: var(--color-blue);
}

#hero-typo {
	overflow: visible;
}

#hero-typo-mobile {
	margin-top: 40px;
	overflow: visible;
}

#section-2 {
	background-color: var(--color-grey);
}

#cta {
	background-color: var(--color-orange);
	color: #fff;
	text-decoration: none;
	border-radius: 60px;
	padding: 16px 24px;
	display: inline-flex;
	gap: 16px;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
	font-size: 1.1rem;
}

#cta i {
	display: flex;
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url(../img/mark_email_read.svg);
}

.wrapper {
	position: relative;
	margin: 0 auto;
	max-width: 1280px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

footer {
	background-color: var(--color-darkblue);
	padding: var(--gutter);
	color: #fff;
	text-align: right;
	padding-top: 120px;
}
footer p,
footer a {
	font-size: 0.8rem;
}

@media (min-width: 401px) {
	#hero-typo {
		display: block;
	}

	#hero-typo-mobile {
		display: none;
	}
}
@media (max-width: 400px) {
	:root {
		--gutter: 20px;
	}

	body {
		font-size: 16px;
	}

	h2 {
		font-size: 1.2rem;
	}

	br {
		display: none;
	}

	#logo {
		left: 0px;
		right: 0px;
		text-align: center;
	}
	#hero-typo {
		display: none;
	}

	#hero-typo-mobile {
		display: block;
	}

	#mainTitle {
		right: unset;
		top: unset;
		bottom: 0;
	}
	#mainTitle h1 {
		font-size: 1rem;
	}
}
