html {
	scroll-behavior: smooth;
}

:root {
	--primary-color: #dada24;
	--secondary-color: #24272e;
	--primary-hover: #5d5d1f;
	--secondary-hover: #333949;

	--text-primary: #aaa;
	--text-secondary: #f5efdb;
	--text-inverted: #ffffff;

	--background-color: #313222;
	--secondary-background: #040404;
	--accordion-active: #969604;

	--border-radius-primary: 0;
}

body {
	margin: 0;
	width: 100%;
	background-color: var(--background-color);
	color: var(--text-primary);

	overflow-x: hidden;
}

body:has(.mobile-menu-active) {
	overflow: hidden;
}

body:has(.terms-privacy) .header {
	background-color: var(--secondary-background);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

button {
	cursor: pointer;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

section {
	overflow-x: hidden;
}

.title {
	font-weight: 600;
	font-size: 60px;
	line-height: 130%;
	letter-spacing: 0.03em;
	text-transform: capitalize;
	text-align: center;
	color: var(--primary-color);
}

.subtitle {
	font-weight: 700;
	font-size: 23px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	color: var(--primary-color);
}

.descr {
	color: var(--text-primary);
	font-weight: 400;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;
	color: var(--text-primary);
}

.section-name {
	font-weight: 700;
	font-size: 23px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	color: var(--text-inverted);
}

.decoration {
	position: relative;
}

.decoration::after {
	content: '';
	position: absolute;
	bottom: -6px;
	width: 40px;
	height: 1px;
	background-color: var(--primary-color);
}

.decoration.left::after {
	left: 0;
}

.decoration.center::after {
	left: 50%;
	transform: translateX(-50%);
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 80px;
}

.container-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	gap: 80px;
}

.primary-btn {
	font-weight: 700;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;

	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;

	background: var(--primary-color);
	color: var(--background-color);
	padding: 8px 32px;
	border: none;
	border-radius: var(--border-radius-primary);
	transition: all 0.3s ease;
}

.primary-btn:hover {
	background: var(--primary-hover);
	text-decoration: none;
	color: var(--background-color);
}

.primary-btn:hover img {
	transform: translateX(5px);
}

.primary-btn img {
	width: 18px;
	transition: all 0.3s ease;
	transform: translateX(0);
}

.secondary-btn {
	font-weight: 700;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;

	display: block;
	background: transparent;
	color: var(--text-inverted);
	padding: 8px 32px;
	border-radius: var(--border-radius-primary);
	border: 1px solid var(--text-inverted);
	transition: all 0.3s ease;
}

.secondary-btn:hover {
	border: 1px solid var(--primary-color);
	text-decoration: none;
	color: var(--primary-color);
}

.terms-privacy {
	padding: 140px 0 80px;
}

.terms-privacy .title {
	margin-bottom: 40px;
}

.terms-privacy .subtitle {
	margin: 25px 0;
}

.thank-you-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	padding: 180px 30px 0;
}

.thank-you-container p {
	font-size: 1.2rem;
	color: var(--text-primary);
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	/* color: var(--text-inverted); */
	background-color: #f5efdb;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.logo:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.logo img {
	width: 60px;
	object-fit: contain;
}

.link {
	font-weight: 700;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;
	color: var(--primary-color);

	text-decoration: none;
	position: relative;
	padding: 3px 12px;
	transition: all 0.3s ease-in-out;
}

.link::before {
	content: '';
	background-color: var(--primary-hover);
	border-radius: var(--border-radius-primary);
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: -2px;
	height: 1px;
	z-index: -1;
	transition: all 0.3s ease-in-out;
}

.link:hover::before {
	height: 110%;
}

.link:hover {
	color: var(--text-inverted);
}

@media screen and (max-width: 1240px) {
	.container {
		padding: 0 15px;
	}

	.title {
		font-size: 27px;
	}

	.title span {
		font-weight: 700;
		font-size: 26px;
	}

	.subtitle {
		font-size: 22px;
	}

	.descr {
		font-weight: 400;
		font-size: 14px;
	}

	.section-name {
		font-size: 18px;
	}

	.primary-btn {
		font-size: 14px;
		padding: 10px 15px;
	}

	.secondary-btn {
		font-size: 14px;
		padding: 10px 15px;
	}

	.terms-privacy {
		padding: 120px 0 60px;
	}

	.terms-privacy .title {
		margin-bottom: 30px;
	}

	.terms-privacy .subtitle {
		margin: 25px 0;
	}
}
