@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
	overscroll-behavior-y: none;
}

body {
	font-family: "Roboto", sans-serif;
	display: flex;
	flex-flow: column;
	line-height: 1.6;
	background-color: #241933;
}

a {
	text-decoration: none;
}

body > .background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

body > header {
	height: 48px;
	z-index: 1;
	overflow: hidden;
	background-color: transparent;
	color: #fff;
	position: sticky;
	top: 0;
	border-bottom: 1px solid rgba(255,255,255,0.16);

	&::before {
		position: absolute;
		left: 0;
		top: 0;
		content: "";
		width: 100%;
		height: 100%;
		backdrop-filter: blur(16px);
		z-index: -1;
	}

	& > .image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		object-fit: cover;
		z-index: -2;
	}

	& > .content {
		margin: 0 auto;
		display: flex;
		max-width: 1366px;
		align-items: center;
		height: 100%;

		& > h1 {
			font-size: 18px;
			font-weight: normal;
			margin-right: 24px;
			font-family: "Oxanium", sans-serif;
			text-transform: uppercase;
		}

		& > a {
			height: 32px;
			border-radius: 16px;
			padding: 0 16px;
			display: flex;
			justify-content: center;
			align-items: center;

			&:hover {
				background-color: rgba(0,0,0,0.06);
			}
		}

		& > .social {
			width: 32px;
			height: 32px;
			border-radius: 16px;
			overflow: hidden;
			margin-left: 8px;
			font-size: 24px;
			color: #fff;
		}
	}
}

body > .splash {
	width: 100%;
	height: 440px;
	position: relative;
	color: #fff;
	display: flex;

	& > .content {
		display: flex;
		align-items: center;
		max-width: 1366px;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: 0 auto;

		& > * {
			flex: 1 1 auto;
		}

		& > .title {
			display: flex;
			flex-flow: column;
			justify-content: center;

			& > h1 {
				font-weight: lighter;
				font-size: 80px;
				margin-top: 0;
				margin-bottom: 0;
				font-family: "Oxanium", sans-serif;
				text-shadow: 1px 1px 4px #000;
				text-transform: uppercase;
			}
			
			& > h2 {
				font-weight: 300;
				font-size: 28px;
				margin: 0;
				width: 50%;
				text-shadow: 1px 1px 4px #000;
				width: 100%;
			}
		}

		& > .latest-news {
			align-self: flex-start; 
			margin: 24px 0;
			width: 320px;
			max-width: 320px;

			& > .title {
				font-family: "Oxanium", sans-serif;
				font-weight: 500;
				font-size: 16px;
				margin: 4px 0;
				text-shadow: 1px 1px 4px #000;
			}

			& > .block {
				display: block;
				backdrop-filter: blur(16px);
				border: 1px solid rgba(255,255,255,0.16);
				color: inherit;

				&:hover {
					text-decoration: underline;
				}

				& > h1 {
					font-family: sans-serif;
					font-size: 14px;
					font-weight: 400;
					margin: 8px;
				}

				& i {
					margin-left: 8px;
				}
			}
		}
	}

	& > .image {
		width: 100%;
		height: 100%;
		z-index: -1;
		background-color: rgba(0,0,0,0.25);
		object-fit: cover;
		margin-top: -48px;
		position: fixed;
	}
}

body > .request {
	width: 100%;
	position: relative;

	& > .wrapper {
		max-width: 1366px;
		margin: 0 auto 32px auto;
		display: flex;
		flex-flow: column;
		align-items: center;

		& > a {
			text-align: center;
			color: #fff;
			margin-top: 12px;
			text-shadow: 1px 1px 4px #000;
			font-size: 13px;
			width: fit-content;

			& > .logo {
				font-family: "Oxanium", sans-serif;
				font-weight: 600;
				text-transform: uppercase;
			}

			& > .underline {
				text-decoration: underline;
			}

			& > .fa-arrow-right {
				margin-left: 8px;
			}

			& > .fa-envelope {
				margin-right: 8px;
			}

			&:hover {
				text-decoration: underline;
			}
		}

		& > .buttons {
			width: 100%;
			display: flex;
			gap: 16px;

			& > a {
				flex: 1 1 50%;
				display: flex;
				justify-content: center;
				backdrop-filter: blur(16px);
				border-radius: 8px;
				color: #fff;
				border: 1px solid rgba(255,255,255,0.16);
				height: 64px;
				align-items: center;
				font-size: 22px;
				padding: 8px;
				font-family: "Oxanium", sans-serif;
				font-weight: 300;
				box-shadow: 0 4px 12px 0 rgba(0,0,0,0.24);
				transition: transform 0.2s, background-color 0.2s, backdrop-filter 0.2s;
				background-color: rgba(128,128,255,0.12);
				
				&:hover {
					transform: scale(1.04);
					box-shadow: 0 4px 12px 0 rgba(0,0,0,0.24);
					z-index: 1;
					backdrop-filter: blur(16px);
				}
			}
		}
	}
}

body > .about {
	/* background-color: #fff; */
	backdrop-filter: blur(64px);
	color: #fff;
	border-top: 1px solid rgba(255,255,255,0.16);
	border-bottom: 1px solid rgba(255,255,255,0.16);

	& > .container {
		margin: 32px auto;
		max-width: 1366px;
		display: flex;
		flex-flow: row nowrap;
		gap: 32px;
		font-size: 18px;
		font-weight: 300;

		& > * {
			width: 50%;
		}

		& > .image {
			width: 50%;
			flex: 1 1 50%;
			border-radius: 16px;

		}

		& > .text {
			font-size: 18px;
			font-weight: 300;

			& > h2 {
				font-family: "Oxanium", sans-serif;
				font-weight: 400;
			}
		}
	}
}

body > .services {
	background-color: #fff;
	padding-bottom: 32px;

	& > .container {
		margin: 0 auto;
		max-width: 1366px;
		display: flex;
		flex-flow: column nowrap;

		& > .services {
			display: flex;
			gap: 32px;

			& > * {
				flex: 1 1 50%;
				font-size: 18px;
				font-weight: 300;
			}
		}

		& > h1 {
			font-weight: 400;
			font-size: 32px;
			margin: 0;
			font-family: "Oxanium", sans-serif;
		}
	}
}

body > .news {
	/* background: linear-gradient(transparent 0px, #fff 16px, #fff calc(100% - 16px), transparent 100%); */
	background: #fff;
	color: #000;
	padding-bottom: 32px;

	& > .container {
		margin: 0 auto;
		max-width: 1366px;

		& > h1 {
			font-weight: normal;
			font-size: 24px;
			margin: 32px 0;
		}

		& > .blocks {
			display: flex;
			flex-flow: row wrap;

			& > .block {
				display: flex;
				flex-flow: row;
				width: 33%;
				border: 1px solid #000;
				padding: 16px;

				&:first-of-type {
					border-right: 0;
				}

				&:last-of-type {
					border-left: 0;
				}

				&:hover {
					background-color: rgba(0,0,0,0.06);
					cursor: pointer;
				}

				& h1 {
					font-size: 20px;
					font-weight: normal;
					margin: 0;
					margin-bottom: 12px;
				}

				& .image {
					aspect-ratio: 1/1;
					height: 100%;
					width: 240px;
					background-color: rgba(0,0,0,0.25);
					margin-left: 8px;
					opacity: 0.5;
				}
			}
		}
	}
}

body > .spacer {
	min-height: 0;
	min-width: 0;
	width: 100%;
	height: 100%;
	flex: 1 1 auto;
}

.spacer {
	min-height: 0;
	min-width: 0;
	max-width: 100%;
	max-height: 100%;
	flex: 1 1 auto;
}

body > footer {
	color: #fff;
	width: 100%;
	position: relative;
	margin-top: auto;
	margin-bottom: 1px;

	& > .content {
		max-width: 1366px;
		margin: 32px auto;
		display: flex;
		flex-flow: row nowrap;
		gap: 32px;
		line-height: 1.6;

		& > h1 {
			font-weight: normal;
			margin-top: 0;
			padding-right: 32px;
			font-family: "Oxanium", sans-serif;
			text-transform: uppercase;
		}
	}

	&::before {
		position: absolute;
		left: 0;
		top: 0;
		content: "";
		width: 100%;
		height: 100%;
		backdrop-filter: blur(8px);
		z-index: -1;
		border-top: 1px solid rgba(255,255,255,0.16);
	}
}

body > .footer-spacer {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	border-top: 1px solid rgba(255,255,255,0.16);
}


@media (width <= 800px) {
	body > .splash > .content > .title > h1 {
		font-size: 64px;
	}

	body > .splash > .content > h2 {
		width: auto;
	}

	body > .news > .container > .blocks {
		flex-flow: column;
		border-bottom: 1px solid #000;

		& > .block {
			width: 100%;
			border: 1px solid #000 !important;
			border-bottom: none !important;

			&:last-of-type {
				border-bottom: 1px solid #000;
			}
		}
	}

	body > .splash > .content {
		flex-flow: column;
		align-items: initial;

		& > .latest-news {
			width: 100%;
			max-width: 100%;
		}

		& > .spacer {
			max-width: 0;
			max-height: 0;
		}
	}

	body > .about > .container {
		flex-flow: column nowrap;
		margin-top: 16px;
		gap: 0;
	}

	body > .request > .wrapper > .buttons {
		flex-flow: column;
		gap: 4px;
	}
}

@media (width <= 1366px) {
	body > header > .content {
		margin: 0 16px;
	}

	body > .splash > .content {
		margin: 0 16px;
	}

	body > footer > .content {
		margin: 32px 16px;
	}

	body > .about > .container {
		margin: 16px 16px;
	}

	body > .request > .wrapper {
		margin-left: 16px;
		margin-right: 16px;
	}

	/*
	body > footer > .content,
	body > .splash > .content,
	body > header > .content {
		margin: 0 16px;
	}
	*/

	body > .about > .container {
		/* flex-flow: column nowrap; */
		/* margin: 0 auto; */
		
		& > * {
			width: 100%;
		}

		& > .image {
			width: 100%;
		}

		& > .text {
			font-size: 20px;
		}
	}

	body > .services > .container {
		margin: 0 16px;
		margin-bottom: 32px;

		h1 {
			margin: 16px 0;
			font-size: 24px;
		}

		& > .services {
			flex-flow: column;

			& > * {
				margin: 0;
				font-size: 20px !important;
			}
		}
	}

	body > .news {
		margin-bottom: 32px;
	}

	body > footer > .content {
		margin-top: 32px !important;
	}
}
