@media (max-width: 1200px) {
	footer .before {
		flex-direction: column;
	}
}

@media (max-width: 800px) {
	header {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 20px;
		width: 100% !important;
	}
    .main h1 {
		font-size: 10vw !important;
        height: 420px !important;
    }

	.main .hero-image img:first-of-type {
		margin-bottom: -100px !important;
	}

	.main .hero-image img:last-of-type {
		margin-top: -50px !important;
	}

	.main h2, .contact h1 {
		font-size: 7.5vw !important;
	}

	.main .hero-image .middle {
		width: 75vw;
	}

	.services {
		flex-direction: column;
	}

	.services .group a {
		min-width: unset !important;
	}

	.contact {
		flex-direction: column-reverse;
		gap: 40px !important;
	}

    .contact h3 {
        font-size: 5vw !important;
    }

	.contact div {
		width: unset !important;
	}

	.contact form {
		width: 100% !important;
	}
}

@media (max-width: 450px) {
    header {
        width: calc(100vw - 60px) !important;
        left: 0 !important;
        padding: 30px !important;
    }

    header .links .button {
        display: none;
    }

    .main h1 {
        height: 222px !important;
        padding-top: 0 !important;
        margin-bottom: -50px;
    }

    footer .after {
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 30px 7.6vw 20px 7.6vw !important;
    }
}

html {
	background-color: black;
	color: white;
	padding: 0;
	margin: 0;
	font-family: "Forum", sans-serif;
	-ms-overflow-style: none;
	scrollbar-width: none;
	scroll-behavior: smooth;
}

::-webkit-scrollbar {
	display: none;
}

* {
	transition: 0.5s;
}

body {
	margin: 0;
	padding: 100px 7.6vw 0 7.6vw;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 20px;
	position: fixed;
	width: calc(90vw - 40px);
	top: 0;
	left: 5vw;
	background-color: black;
	z-index: 2;
}

header .logo {
	font-size: 30px;
	font-weight: 100;
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
}

header .logo img {
	max-width: 400px;
    width: 100%;
}

header .links {
	display: flex;
	align-items: center;
	gap: 20px;
}

header .links .link {
	color: gray;
	text-decoration: none;
	font-size: 20px;
	cursor: pointer;
}

header .links .link.active,
header .links .link:hover {
	color: white;
	border-color: white;
}

header .links .sub {
	margin-right: -320px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	width: 260px;
	height: calc(100% - 60px);
	position: fixed;
	top: 0;
	right: 0;
	background-color: white;
	color: black;
	padding: 30px;
	z-index: 100;
}

header .links .sub.active {
	margin-right: 0;
}

header .links .sub .link.active,
header .links .sub .link:hover {
	color: black;
}

header .links .button {
	padding: 10px 15px;
	border: 2px solid gray;
}

header .links .button:hover {
	background-color: white;
	color: black;
}

.anchor {
	display: block;
	height: 100px;
	margin-top: -100px;
	visibility: hidden;
}

.main {
	display: flex;
	flex-direction: column;
	gap: 50px;
    overflow: hidden;
}

.main h1 {
	font-size: 67px;
	font-weight: 100;
	max-width: 900px;
	height: 222px;
	padding-top: 50px;
}

.main .hero-image {
	display: flex;
	align-items: center;
	gap: -20px;
}

.main .hero-image .middle {
	z-index: 1;
}

.main .hero-image img:first-of-type {
	margin-bottom: -250px;
	margin-right: -100px;
}

.main .hero-image img:last-of-type {
	margin-top: -100px;
	margin-left: -100px;
}

.main h2 {
	font-size: 60px;
	font-weight: 100;
	margin-bottom: 0px;
}

.main .button {
	padding: 10px 15px;
	border: 2px solid gray;
	color: white;
	text-decoration: none;
	font-size: 20px;
}

.main .button:hover {
	background-color: white;
	color: black;
	border-color: white;
}

.services {
	border-top: 1px solid gray;
	display: flex;
	justify-content: space-between;
	gap: 40px;
	padding: 50px 0 20px 0;
}

.services h2 {
	font-size: 40px;
	font-weight: 100;
	margin: 0;
}

.services h4 {
	font-size: 25px;
	font-weight: 100;
	margin: 10px 0 15px 0;
}

.services p {
	font-size: 20px;
	font-weight: 100;
	margin: 0;
	max-width: 700px;
}

.services .group {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.services .group a {
	font-size: 51px;
	margin: 0;
	min-width: 700px;
	padding-bottom: 30px;
	border-bottom: 1px solid gray;
	color: white;
	text-decoration: none;
	cursor: pointer;
}

.services .group a:hover {
	color: gray;
}

.services .group a:last-child {
	border-bottom: none;
}

.contact {
	border-top: 1px solid gray;
	display: flex;
	justify-content: space-between;
	padding: 50px 0 20px 0;
}

.contact div {
	width: 75%;
}

.contact h1 {
	font-size: 70px;
	font-weight: 100;
	margin: 0;
}

.contact h3 {
	font-size: 50px;
	font-weight: 100;
	margin: 10px 0 0 0;
}

.contact form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 20%;
}

.contact form label {
	font-size: 20px;
	font-weight: 100;
	margin: 0;
}

.contact form input,
.contact form textarea {
	background-color: transparent;
	color: white;
	border: none;
	border-bottom: 1px solid gray;
	padding: 10px 15px;
	margin-bottom: 10px;
	font-family: "Forum", sans-serif;
	font-size: 20px;
}

.contact form input:active,
.contact form textarea:active,
.contact form input:focus,
.contact form textarea:focus,
.contact form input:hover,
.contact form textarea:hover {
	border-color: white;
}

.contact form button {
	background-color: white;
	color: black;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
}

.contact form button:hover {
	background-color: gray;
	letter-spacing: 1px;
}

footer .before {
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	width: calc(100vw - 7.6vw - 7.6vw);
	margin-left: -7.6vw;
	padding: 50px 7.6vw;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}

footer .before .logo {
	width: 100%;
    max-width: 400px;
}

footer .before h3 {
	font-weight: 100;
	margin-top: 0;
}

footer .before .links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer .before .links .link {
	color: white;
	text-decoration: none;
	font-size: 17px;
}

footer .before .group {
	display: flex;
	gap: 20px;
}

footer .before a {
	display: flex;
	align-items: center;
	gap: 5px;
	text-decoration: none;
}

footer .before a img {
	height: 52px;
	width: unset;
}

footer .before a h3 {
	font-size: 28px;
	font-weight: 600;
	font-family: "Inter", sans-serif;
	color: white;
	text-decoration: none;
	margin: 0;
}

footer .after {
	width: calc(100vw - 7.6vw - 7.6vw);
	margin-left: -7.6vw;
	padding: 0 7.6vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 75px;
	background-color: #070707;
}

footer .after a {
	color: white;
	text-decoration: none;
}
