@import "fonts.css";

:root {
	--main-gray: #2d2d2d;
	--secondary-gray: #7d7d7e;
	--text-white: #ffffff;
	--main-red: #e30613;
}

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

p {
	margin: 0;
}

html, body {
	/* height: 100vh; */
	margin: 0;
	padding: 0;
}

body {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	line-height: 16px;
	font-weight: 400;
	background-color: var(--main-gray);
	color: var(--text-white);
	@media screen and (max-height: 800px) {
		height: 100%;
	}
}

.body-container {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	height: 100vh;
	background-color: var(--main-gray);
	@media screen and (max-height: 800px) {
		height: 100%;
	}
}

.header-logo{
	background-color: var(--main-gray);
	padding: 20px 0 6px 61px;
	border-bottom: 1px solid var(--main-red);
	& > .logo-link img {
		@media screen and (max-width: 590px) {
			width: 160px;
			height: auto;
		}
	}
}

.main-container {
	position: relative;
	flex-grow: 1;
	background-image: url("../assets/img/bg_image.png");
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	& > .main-content {
		padding: 50px 20px;
		max-width: 750px;
		width: 100%;
		@media screen and (min-width: 1920px) {
			max-width: 950px;
			font-size: 2.5rem;
			line-height: 4rem;
		}
		@media screen and (max-width: 780px) {
			max-width: 100%;
		}
		& > .about {
			position: relative;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			text-align: center;
			gap: 1.25rem;
			z-index: 1;
			& > .title {
				width: 100%;
				font-size: 2rem;
				font-weight: 900;
				line-height: 4.19rem;
				overflow: hidden;
				@media screen and (max-width: 780px) {
					font-size: 1.9rem;
					line-height: 4rem;
				}
				@media screen and (max-width: 590px) {
					font-size: 1.6rem;
					line-height: 3.8rem;
				}
				@media screen and (max-width: 530px) {
					font-size: 1.4rem;
					line-height: 1.5rem;
					margin-bottom: 10px;
				}
			}
			& > .description {
				margin-bottom: 40px;
				& p {
					width: 100%;
					font-size: 1.25rem;
					line-height: 1.4rem;
					overflow: hidden;
					@media screen and (min-width: 1920px) {
						font-size: 1.7rem;
						line-height: 2rem;
					}
					@media screen and (max-width: 780px) {
						font-size: 1rem;
					}
					@media screen and (max-width: 530px) {
						font-size: 1rem;
					}
				}
				@media screen and (max-width: 780px) {
					margin-bottom: 20px;
				}
			}
			& > .main-button {
				height: 50px;
				border-radius: 5px;
				box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
				font-weight: 700;
				font-size: 1.5rem;
				color: var(--text-white);
				transition: background-color 0.3s ease-in-out 0s;
				font-family: 'Roboto Condensed', sans-serif;
				&.red {
					position: relative;
					display: flex;
					justify-content: center;
					align-items: center;
					gap: 43px;
					padding: 8px 34px;
					margin-bottom: 20px;
					background-color: var(--main-red);
					border: none;
					&:hover {
						cursor: pointer;
						background-color: #ba171b;
					}
					@media screen and (max-width: 780px) {
						gap: 50px;
						margin-bottom: 10px;
					}
					@media screen and (max-width: 590px) {
						gap: 40px;
					}
					@media screen and (max-width: 450px) {
						gap: 30px;
					}
				}
				&.gray {
					padding: 11px 94px;
					background-color: rgba(125, 125, 126, 0.6);
					border: none;
					text-align: center;
					&:hover {
						cursor: pointer;
						background-color: #757575;
					}
					@media screen and (max-width: 780px) {
						padding: 0 95px;
					}
					@media screen and (max-width: 590px) {
						padding: 0 87px;
					}
				}
				@media screen and (max-width: 780px) {
					font-size: 1.3rem;
				}
				@media screen and (max-width: 590px) {
					font-size: 1.1rem;
				}
				@media screen and (max-width: 450px) {
					font-size: 1rem;
					width: 90%;
				}
			}
		}
	}
	& > .scull-container {
		position: absolute;
		top: 0;
		left: 50%;
		z-index: 0;
		transform: translate(-50%, 0);
		max-width: 100%;
		height: 100%;
		aspect-ratio: 5/4;
		& > img {
			position: absolute;
			object-fit: cover;
			max-width: 100%;
			height: 100%;
			display: block;
		}
		@media screen and (max-width: 600px) {
			width: 100%;
			height: 80%;
		}
	}
}

.footer-container {
	& > .footer-address {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: var(--main-gray);
		padding: 1.25rem 0 0;
		font-size: 0.875rem;
		& > .info-title {
			margin-bottom: 0.8rem;
			text-align: center;
		}
		& > .info-email {
			text-decoration: underline;
			color: var(--text-white);
		}
	}
	& > .footer-policies {
		padding: 1.25rem 0;
		background-color: var(--main-gray);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		& > .info-list {
			max-width: fit-content;
			margin: auto;
			font-size: 0.9rem;
			list-style: none;
			& > a {
				text-decoration: underline;
				color: var(--text-white);
				font-size: 0.88rem;
				line-height: 27px;
				transition: color 0.3s ease-in-out 0s;
				&:hover {
					color: #ba171b;
				}
			}
		}
	}
}

.mb-20 {
	margin-bottom: 20px;
}

.text-bold {
	font-weight: 900;
}
