@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&display=swap');

:root {
	--bg: #fff9f3;
	--white: #fff;
	--primary-color: #012555;
	--h2: clamp(24px, 2.5vw, 48px);
	--p20: clamp(16px, 1.04vw, 20px);
	--p24: clamp(16px, 1.25vw, 24px);
	--borderRadiusProduct: clamp(12px, 2.5vw, 48px);
	--mobile-gap: clamp(60px, 10.42vw, 200px);
}

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

html {
	font-size: 20px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-style: normal;

	background-color: var(--bg);
}

.h2 {
	font-size: var(--h2);
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
}

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

.header__background {
	position: relative;
	height: 100%;
	width: 100%;
	max-width: 2560px;
}

.header__wrapper {
	position: absolute;
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 80px;
}

.header__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 20px;
	width: clamp(212px, 26.56vw, 510px);
	gap: 40px;
}

.header__content-anchor {
	width: clamp(88px, 9vw, 173px);
}

.header__content-logo {
	width: clamp(173px, 23.7vw, 455px);
}
.header__content-h1 {
	color: var(--primary-color);
	text-align: center;
	font-size: clamp(20px, 2.5vw, 48px);
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
}

.menu {
	display: flex;

	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
	gap: 64px;
	margin-top: 70px;
}

.menu > li {
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
	list-style: none;
	overflow: hidden;
	padding-bottom: 10px;
}
.menu__link {
	position: relative;
	color: #fff;
	text-decoration: none;
	transition: color, 0.4s;
}

.menu__link::before {
	content: '';
	position: absolute;
	bottom: 0;
	opacity: 0;
	width: 100%;
	height: 4px;
	background-color: #00d1ff;
	transition: opacity, transform 0.4s;
}
.menu__link:hover {
	color: #00d1ff;
	transition: color, 0.4s;
}

.menu__link:hover::before {
	opacity: 1;
	transform: translateY(8px);
}

.menu-button-container {
	position: absolute;
	top: 48px;
	right: 48px;
	display: none;
	cursor: pointer;
}

#menu-toggle {
	display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
	display: block;
	background-color: #fff;
	position: absolute;
	height: 4px;
	width: 24px;
	transition: transform 400ms;
	border-radius: 2px;
}

.menu-button::before {
	content: '';
	margin-top: -8px;
}

.menu-button::after {
	content: '';
	margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(45deg);
	transition: transform 400ms;
}

#menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-45deg);
	transition: transform 400ms;
}

@media (max-width: 1200px) {
	.menu-button-container {
		display: flex;
		z-index: 10;
	}

	.menu {
		position: absolute;
		top: 0;
		margin: 0;
		left: 0;
		flex-direction: column;
		width: 100%;
		justify-content: start;
		align-items: start;
		gap: 0;
		padding: 100px 0;
		z-index: 9;
		transition: background-color 400ms;
	}
	#menu-toggle ~ .menu li {
		margin: 0;
		padding: 20px 0 20px 24px;
		border: 0;
		transform: scale(0);
	}

	#menu-toggle:checked ~ .menu {
		background-color: var(--primary-color);
		transition: background-color 400ms;
	}

	#menu-toggle:checked ~ .menu li {
		transform: scale(1);
		transition: transform 400ms;
	}

	.menu__link::before {
		display: none;
	}

	.menu > li {
		display: flex;
		justify-content: start;
		width: 100%;
		color: white;
	}

	.menu > li:hover {
		background-color: #084390;
		cursor: pointer;
	}

	.menu__link:hover {
		color: white;
	}
}

.main-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: var(--mobile-gap);
	margin: 0 auto;
	margin-bottom: var(--mobile-gap);
	background: url(../images/main-bg.jpg) repeat-y;
	background-position: top center;
	background-size: contain;
  max-width: 1920px;
}

/*News*/
.news {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
}
.news__title {
	color: var(--primary-color);
}

.news__conteiner {
	background-color: var(--primary-color);
	border-radius: var(--borderRadiusProduct);
	margin: 0 auto;
}


.news__content {
	display: flex;
	padding: clamp(16px, 1.67vh, 32px) 0px;
	justify-content: center;
	align-items: center;
	color: var(--white);
	font-size: var(--h2);
	text-align: center;
	min-height: 200px;
	width: clamp(300px, 49.64vw, 953px);
}

.about {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	justify-content: center;
}

.about__img {
	width: 100%;
}

.about__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: var(--primary-color);
	font-style: normal;
	line-height: normal;
	max-width: 700px;
}

.about__content-text {
	font-size: var(--p20);
	font-weight: 400;
}

@media (max-width: 1440px) {
	.about {
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
	}
	.about__content-title {
		text-align: center;
	}
}

/* Services */
.services {
	display: flex;
	gap: 40px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--primary-color);
}

.services__items {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 32px;
}

.services__item {
	display: flex;
	gap: 16px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 300px;
}

.services__item-img {
	display: flex;
	width: 96px;
	height: 96px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 80px;
	background-color: var(--primary-color);
}

.services__item-text {
	text-align: center;
	font-size: var(--p20);
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.services__item-text span {
	white-space: nowrap;
}
/* Advantages */

.advantages {
	color: var(--primary-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.advantages__title {
	text-align: right;
}

.advantages__list {
	font-size: var(--p20);
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Product */
.products {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	color: var(--primary-color);
	max-width: 1437px;
}

.products__items {
	display: flex;
	flex-wrap: wrap;
}

.product {
	background-color: var(--primary-color);
	border-radius: var(--borderRadiusProduct);
	max-width: 467px;
	margin: 0 auto;
}

.product__img {
	border-top-right-radius: var(--borderRadiusProduct);
	border-top-left-radius: var(--borderRadiusProduct);
	width: 100%;
}

.product__content {
	display: flex;
	padding: clamp(16px, 1.67vh, 32px) 0px;
	justify-content: center;
	align-items: center;
	color: var(--white);
	height: 118px;
}

.product__content > p {
	max-width: 220px;
	text-align: center;
	font-size: var(--p20);
}

.products__items {
	display: flex;
	gap: 18px;
}

/*  PRICE */
.price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	color: var(--primary-color);
}

.price__title {
	text-align: right;
}

.price__img {
	width: 80px;
}

.price__btn {
	display: flex;
	font-size: var(--p20);
	padding: 8px 32px;
	justify-content: center;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	background-color: var(--primary-color);
	text-decoration: none;
	color: var(--white);
}

/* addresses */
.contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	color: var(--primary-color);
	background: linear-gradient(0deg, #fff9f3 0%, rgba(255, 249, 243, 0) 100%);
}

.contact__title {
	text-align: right;
}

.social {
	padding: 0 20px;
}

.social a {
	padding: 16px;
}

.addresses {
	display: flex;
	gap: 20vw;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 80px;
}

.adress__title {
	font-size: var(--p24);
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.adress__content {
	font-size: var(--p20);
	display: flex;
	flex-wrap: wrap;
	gap: 2vw;
	flex-direction: column;
	justify-content: flex-start;
	padding: 40px 0 67px 0;
}
.adress__work {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 205px;
}

.adress__work p {
	display: flex;
	gap: 24px;
	justify-content: space-between;
}

.map {
	width: 100%;
	height: 400px;
	background-color: #084390;
}

.footer {
	display: none;
}

@media (max-width: 1024px) {

	.main-container {
		padding: 0px 24px;
	}

	.footer {
		background-color: var(--primary-color);
		display: flex;
		position: fixed;
		padding: 12px;
		width: 100%;
		bottom: 0;
	}

	.footer > .logo-port {
		max-width: 100px;
	}
	.footer > .social a {
		padding: 0 5px;
	}
}

