:root {
	--dark-black: #000;
	--rainforest: #007660;
	--salt: #f0f3eb;
}

body {
	color: var(--dark-black);
	font-family: Montserrat, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 20px;
}

h1 {
	color: var(--rainforest);
	margin-top: 20px;
	margin-bottom: 10px;
	font-family: "Filson Pro", sans-serif;
	font-size: 4.25rem;
	font-weight: 800;
	line-height: 5rem;
}

._404-wrapper {
	height: 100dvh;
	grid-column-gap: 3rem;
	grid-row-gap: 3rem;
	justify-content: center;
	align-items: center;
	padding-left: 5%;
	padding-right: 5%;
	display: flex;
}

._404-left {
	flex-direction: column;
	display: flex;
}

._404-right {
	justify-content: center;
}

.error_404 {
	max-width: 85%;
}
._404-error-title {
	line-height: 2.5rem;
	margin: 0 0 .6em;
}

.margin-bottom.margin-medium {
	margin-bottom: 2rem;
}

._404-error-subtext {
	color: var(--rainforest);
	font-family: "Filson Pro", sans-serif;
	font-size: 2.4375rem;
	font-weight: 500;
	line-height: 2.5rem;
}

._404-error-description {
	font-size: 1rem;
	font-weight: 500;
}



.section_404 {
	background-color: var(--salt);
}

.container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 991px) {
	._404-wrapper {
		grid-column-gap: 5rem;
		grid-row-gap: 5rem;
		flex-direction: column-reverse;
	}
}

@media screen and (max-width: 767px) {
	._404-wrapper {
		grid-column-gap: 3rem;
		grid-row-gap: 3rem;
	}
}

@media screen and (max-width: 479px) {
	._404-wrapper {
		grid-column-gap: 2rem;
		grid-row-gap: 2rem;
	}

	._404-error-title {
		font-size: 3rem;
		line-height: 3rem;
	}

	.margin-bottom.margin-medium {
		margin-bottom: 2rem;
	}

	._404-error-subtext {
		font-size: 2.5rem;
		line-height: 2.5rem;
	}
}

@font-face {
	font-family: "Filson Pro";
	src: url("../fonts/FilsonProBlack.otf") format("opentype");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Filson Pro";
	src: url("../fonts/FilsonProMedium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/MontserratBold.woff2") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Medium.ttf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Regular.ttf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
