@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Montserrat", sans-serif;
}

:root {
	--background: #181818;
	--text-color: #ffffff;
	--text-color-secondary: #181818;
	--accent-color: #ccd837;
	--font-size-h1: 45px;
	--font-size-h2: 40px;
	--font-size-p: 22px;
	--font-weight-h1: 800;
	--font-weight-h2: 600;
	--font-weight-p: 300;
	--font-style-h1: italic;
	--font-style-h2: italic;
	--font-style-p: normal;
}

h1 {
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-h1);
	font-style: var(--font-style-h1);
}

h2 {
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-h2);
	font-style: var(--font-style-h2);
}

h3 {
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-h1);
	font-style: var(--font-style-h1);
}

p {
	font-size: var(--font-size-p);
	font-weight: var(--font-weight-p);
	font-style: var(--font-style-p);
	font-family: "Raleway", sans-serif !important;
}

li {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: var(--text-color);
}

body {
	background-color: var(--background);
	color: var(--text-color);
}

.accent {
	color: var(--accent-color);
}

section,
nav,
footer {
	width: min(1200px, 100% - 1rem);
	margin-inline: auto;
}

header {
	padding-top: 48px;
	height: 90vh;
	-webkit-box-shadow: inset 0px -137px 57px 0px var(--background);
	box-shadow: inset 0px -137px 57px 0px var(--background);
	background-image: url("../images/background/HeroBackground.jpg");
	background-size: cover;
	position: relative;
}

#about-header {
	background-image: url("../images/background/HeroBackgroundAbout.jpg");
}

#contacts-header {
	background-image: url("../images/background/HeroBackgroundContacts.jpg");
	height: 70vh;
}

#contacts-header .hero {
	position: absolute;
	right: 18%;
	width: fit-content;
}

/* Elements */
#button,
button {
	padding: 8px 24px;
	font-size: 22px;
	font-weight: 800;

	text-transform: uppercase;

	border-radius: 6px;
	border: none;

	width: fit-content;
}

#book-button {
	margin-top: 32px;
}

button > a {
	text-decoration: none;
	color: var(--text-color-secondary);
}

.separator {
	display: block;
	background-color: var(--accent-color);
	height: 3px;
	border-radius: 4px;

	margin: 48px 200px;
}

/* navBar */
.nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;

	transition: 0.3s;
}

.nav > * {
	width: 100%;
	display: flex;
}

.nav-logo > img {
	width: 70%;
}

.nav-links {
	justify-content: center;
}

.nav-social {
	justify-content: flex-end;
}

.nav-links ul {
	padding: 12px 32px;
	background: linear-gradient(
		159deg,
		rgba(0, 0, 0, 0.8) -100%,
		rgba(30, 30, 30, 0) 100%
	);
	backdrop-filter: blur(21px);
	border-radius: 24px;
	display: flex;
	align-items: center;

	font-weight: bolder;

	height: fit-content;
	width: fit-content;
	display: flex;
	flex-direction: row;
	gap: 48px;
	list-style-type: none;
}

.nav-links ul li a {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;

	font-size: 16px;
}

.nav-links ul li a.active {
	color: var(--accent-color);
}

.nav-social .socials {
	padding: 8px 32px;
	background: linear-gradient(
		159deg,
		rgba(0, 0, 0, 0.8) -100%,
		rgba(30, 30, 30, 0) 100%
	);
	backdrop-filter: blur(21px);
	border-radius: 24px;
	display: flex;
	align-items: center;
	gap: 24px;

	height: fit-content;
	width: fit-content;
}

.socials a {
	line-height: 0;
}

.burger {
	position: absolute;

	top: 24px;
	right: 24px;

	display: flex;
	flex-direction: column;

	gap: 6px;
	width: 48px;

	cursor: pointer;

	z-index: 1000;

	opacity: 0;

	transition: opacity 0.3s;
}

.burger .burger-element {
	height: 6px;
	background-color: #b9d212;
	border-radius: 6px;
}

@media only screen and (max-width: 1000px) {
	.header {
		padding-top: 0px;
	}

	.burger {
		opacity: 1;
	}

	nav {
		padding: 0;
	}

	.nav {
		transform: translateY(calc(-100% - 48px));
		opacity: 1;
		backdrop-filter: blur(0px);
		transition: transform 0.5s ease, opacity 0.5s ease;
	}

	.nav.nav-active {
		transform: translateY(-48px);
		opacity: 1;
	}

	.nav-logo {
		display: none;
	}

	.nav .nav-links ul {
		width: 100%;
		flex-direction: column;
		align-items: center;
		padding: 24px;
		border-radius: 0px;
	}

	.nav .nav-social {
		display: none;
	}
}

/* Hero */

.title-box {
	padding-top: 100px;
}

.title-box p {
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-h1);
	font-style: var(--font-style-h1);
}

.title-box > p:nth-child(1) {
	font-size: 64px;
	text-transform: uppercase;
	padding-left: 48px;
}

.title-box > p:nth-child(2) {
	font-size: 64px;
}

.title-box > p:nth-child(3) {
	color: var(--accent-color);
	font-size: 100px;
	text-transform: uppercase;
	padding-left: 48px;
}

.hero-info-container {
	display: flex;
	flex-direction: column;
	align-items: center;

	gap: 32px;
}

.hero-info-container h1,
.hero-info-container h2,
.hero-info-container > p {
	text-align: center;
}

.hero-info h1 {
	color: var(--accent-color);
}

@media only screen and (max-width: 1000px) {
	.title-box {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.title-box > p:nth-child(1) {
		font-size: 48px;
		padding: 0;
	}

	.title-box > p:nth-child(2) {
		font-size: 64px;
		padding: 0;
	}

	.title-box > p:nth-child(3) {
		font-size: 75px;
		padding: 0;
	}
}

@media only screen and (max-width: 600px) {
	header {
		height: 75vh;
	}

	.title-box {
		padding: 0;
	}

	.title-box > p:nth-child(1) {
		font-size: 48px;
	}

	.title-box > p:nth-child(2) {
		font-size: 48px;
	}

	.title-box > p:nth-child(3) {
		font-size: 64px;
	}
}

@media only screen and (max-width: 500px) {
	header {
		height: 70vh;
	}

	.title-box > p:nth-child(1) {
		font-size: 36px;
	}

	.title-box > p:nth-child(2) {
		font-size: 36px;
	}

	.title-box > p:nth-child(3) {
		font-size: 48px;
	}
}

/* Trainings */

.trainings {
	background-image: url("../images/background/trainingsBackground.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	padding-top: 32px;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

#trainings-aboutus {
	margin-top: 64px;
}

.training-box {
	display: flex;

	gap: 12px;
}

.training-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;

	width: 100%;
	padding-top: 24px;

	border: 3px solid #b9d212;

	border-radius: 20px;

	background: rgb(30 30 30 / 40%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);

	overflow: hidden;
}

.training-card img {
	aspect-ratio: auto;
}

.training-card > .info {
	display: flex;
	flex-direction: column;
	align-items: center;

	gap: 24px;
}

.training-card > .info > * {
	color: var(--text-color);
	text-align: center;
}

.training-card > .info > .description {
	font-size: 18px;
	font-weight: 400;
	width: 80%;
}

.training-card > .content {
	display: flex;
	flex-direction: column;

	width: 100%;
	margin-top: auto;
}

.training-card > .content img {
	width: 100%;
}

.training-card > .content > .banner {
	background-color: #fff;
	color: var(--text-color-secondary);

	padding: 4px 12px;

	border-radius: 12px;

	position: absolute;
	bottom: 12px;
	right: 12px;

	font-weight: 800;
	font-size: 18px;
}

.training-card > .content > .banner > p {
	font-weight: 800;
	text-align: center;

	font-family: "Montserrat", sans-serif;
}

@media only screen and (max-width: 1000px) {
	.training-box {
		flex-direction: column;
	}
}

/* Offers */
.offers {
	padding-bottom: 64px;
	background-image: url("../images/background/background2.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.offers * {
	font-family: "Montserrat", sans-serif;
}

.offers-box {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 48px;
}

.offer-card {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;

	width: 100%;
	max-height: 576px;
	padding: 152px 0;

	border-radius: 20px;

	background-image: url("../images/offers/offersCard2.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	aspect-ratio: 1;
	z-index: 1;

	overflow: hidden;
}

.offer-card .info::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgb(30 30 30 / 20%);
	z-index: 2;
}

.offer-card .info {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.offer-card .info-box {
	display: flex;
	flex-direction: column;
	z-index: 3;
}

.offer-card .info div {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.offer-card .info p,
.offer-card .info span {
	color: var(--text-color);
	font-size: 64px;
	font-weight: var(--font-weight-h1);
	font-style: var(--font-style-h1);
	text-align: center;
}

.offer-card .info span {
	color: var(--accent-color);
	font-size: 96px;
	line-height: 1;
}

@media only screen and (max-width: 1000px) {
	.offers-box {
		flex-direction: column;
	}
	.offers-box .offer-card {
		flex-direction: column;
		padding: 24px 0px;
	}

	.offer-card .info {
		gap: 12px;
		padding: 20px;
	}

	.offer-card .info p {
		font-size: 70px;
	}
	.offer-card .info-box > p {
		font-size: 45px;
	}
	.offer-card span {
		font-size: 55px !important;
	}
}

@media only screen and (max-width: 500px) {
	.offer-card .info p {
		font-size: 36px;
	}

	.offer-card span {
		font-size: 36px;
	}
}

/* News */

.news {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
}

.news-title {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.news-title h2 {
	text-align: center;
	font-size: 45px;
}

.news-title h2:nth-child(2) {
	color: var(--accent-color);
	font-weight: 800;
}

.news-box {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.news-card {
	position: relative;
	width: 100%;
	background-color: rgb(255, 255, 255);
	border-radius: 20px;
}

.news-card p {
	position: absolute;
	color: var(--text-color-secondary);
	bottom: 24px;
	right: 24px;

	font-weight: 800;
	font-size: 45px;
}

@media only screen and (max-width: 1000px) {
	.news-box {
		flex-direction: column;
	}

	.news-title {
		flex-direction: column;
	}

	.news-title h2 {
		text-align: center;
		font-size: 35px;
	}
}
/* Promotions */

.promotion {
	padding-top: 64px;

	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 48px;
}

.promotion .promotion-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;

	width: 100%;
}

.promotion .promotion-text .info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.promotion .promotion-text .info button {
	display: flex;
	gap: 8px;
}

.promotion .promotion-text .info ul {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-size: 24px;
}

.promotion .promotion-text p {
	font-size: 48px;
	font-weight: 300;
	font-style: normal;
}

.promotion .promotion-text h2 {
	font-size: 50px;
	color: #b9d212;
	text-transform: uppercase;
	font-weight: 800;
}

.promotion-box {
	width: 100%;
}

.promotion-form {
	display: flex;
	width: 100%;
}

.promotion-form form {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 16px;
}

.promotion-form .promotion-input {
	width: 100%;
	padding: 20px 17px;
	border: none;
	background: none;
	border-bottom: 1px solid var(--accent-color);
	outline: none;

	color: var(--text-color);
	font-size: 35px;
	position: relative;
}

.promotion-form .promotion-input::placeholder {
	color: var(--text-color);
}

.promotion-form .checkbox-container {
	display: flex;
	gap: 24px;
	padding: 24px;
}

.promotion-form .checkbox-container .promotion-input {
	width: 45px;
	cursor: pointer;
}

.promotion-text * {
	text-align: center;
}

.promotion .info {
	align-items: center;
}

@media only screen and (max-width: 1000px) {
	.promotion {
		flex-direction: column;
	}

	.promotion-text * {
		text-align: center;
	}

	.promotion-text div p {
		font-size: 32px !important;
	}

	.promotion-text div h2 {
		font-size: 40px !important;
	}

	.promotion .info {
		align-items: center;
	}
}

/* Location */
.location {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 96px;
	gap: 48px;
}

.location span {
	color: var(--accent-color);
}

.map {
	width: 100%;
	display: flex;
	justify-content: center;
}

.map iframe {
	width: 100%;
	border-radius: 24px;
}

/* Footer */
footer {
	padding-bottom: 12px;
}

.footer-box {
	display: flex;
	justify-content: space-around;
}

.footer-box .box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;

	width: 100%;
}

.footer-box .box > div {
	display: flex;
	flex-direction: column;
	gap: 24px;

	width: 40%;
}

.footer-box h2 {
	font-weight: 800;
}

.footer-box li {
	font-weight: 500;
}

.footer-box ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.footer-box ul li:last-child {
	padding-top: 18px;
}

.footer-box .box .socials {
	display: flex;
	gap: 12px;
}

.footer-box .box .socials img {
	width: 32px;
}

footer > p {
	text-align: center;

	padding: 28px 0;
}

footer > p > a {
	color: var(--accent-color);
}

@media only screen and (max-width: 1000px) {
	.footer-box {
		flex-direction: column;
		gap: 48px;
	}

	footer * {
		text-align: center;
		align-items: center;
	}
}
