:root {
	--nabornyy: #25282b;
	--accent-text: #1d6fb6;
	--white-text: #f8fcff;
	--seryy: #d0dce7;
}

body {
	font-family: "Montserrat", sans-serif;
	color: var(--nabornyy);
	line-height: calc(20 / 16);
	font-weight: 400;
	background: var(--white-text);
}

.container {
	max-width: 1230px;
	padding: 0 15px;
	margin: 0 auto;
	height: 100%;
}

/* ------------------------------------------------ */

.header {
	line-height: 1.5;
}


.header__inner {
	min-height: 108px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 15px;
	align-content: center;
	align-items: center;
}

.header__logo {
	max-width: 54px;
}

.header__social {
	justify-content: end;
}

.nav {}

.nav__list {
	display: flex;
	gap: 10px 30px;
	flex-wrap: wrap;
}


.social {
	display: flex;
	gap: 10px 30px;
	flex-wrap: wrap;
}

/* ---------------------- */

.hero {
	padding: 120px 0;
	position: relative;
	color: var(--white-text);
	line-height: 1.5;
}

.hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero__title {
	font-weight: 600;
	font-size: 52px;
	margin-bottom: 30px;
}

.hero__list {
	font-size: 24px;
	margin-bottom: 40px;
}

.hero__list-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	gap: 10px;
	transition: all .5s;
}

.hero__list-item:last-child {
	margin-bottom: 0;
}
.hero__list-item:hover {
	color: var(--accent-text);
}
.hero__list-item path {
	transition: all .5s;
}
.hero__list-item:hover {
	color: var(--accent-text);
}


.hero__video {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}

.hero__video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__video::before{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(16, 46, 73 , .8);
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;

	font-weight: 500;
	font-size: 16px;
	line-height: calc(20 / 16);;

	max-width: 288px;
	width: 100%;
	height: 56px;
	background: var(--seryy);
	color: var(--accent-text);
	border-radius: 100px;
}

.button:hover{
	background: #83add3;
	color: var(--white-text);
	transition: all .5s;
}

/* -------------------------------- */

.main__general {
	padding: 120px 0;

}

.main__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 30px;
}

.main__sidebar{
	position: sticky;
	top: 5vh;
}

.main__body {
	width: 100%;
	max-width: 792px;
}

.main__gallery{
	margin-bottom: 120px;
}

.sidebar {
	border: 2px solid var(--seryy);
	padding: 30px;
	font-weight: 500;
	max-width: 282px;
	width: 100%;
	min-height: 60vh;
}

.sidebar__item {
	margin-bottom: 20px;
}
.sidebar__item:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------ */

.gallery {
	display: grid;
	grid-template-columns: repeat(4 , 1fr);
	gap: 24px;
	grid-auto-flow: dense;
	font-weight: 500;
	color: var(--white-text);
}

.galleru__img{
	display: block;
	position: relative;
	overflow: hidden;
	padding-bottom: 100%;
}

.galleru__img img {
	position: absolute;
	top: 0;
	left:  0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;

}

.galleru__img--left{
	grid-column: 1 / 3;
	grid-row: span 2;
}

.galleru__img--right{
	grid-column: -1 / -3;
	grid-row: span 2;
}

.galleru__hunt{
	position: absolute;
	left : 0;
	right: 0;
	bottom: 0;
	height: 53px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(29, 111, 182, 0.7);
	transform: translateY(100%);
	transition: all .5s;
	opacity: 0;
}

.galleru__img:hover .galleru__hunt{
	transform: translateY(0%);
	opacity: 1;
}

.galleru__img--left .galleru__hunt,
.galleru__img--left .galleru__hunt{
	height: 102px;
	line-height: 29px;
	font-size: 24px;
}

/* --------------------------- */

.products {
	display: grid;
	grid-template-columns: repeat(2 , 1fr);
	gap: 24px;
}
.products_item {
}

.product__item-img{
	position: relative;
	padding-bottom: 62%;
}

.product__item-img img{
	position: absolute;
	top: 0;
	left:  0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.product__item-badge{
	position: absolute;
	top: 12.5%;
	left: 0;
	color: var(--accent-text);
	min-width: 33.9%;
	font-weight: 500;
	background: var(--white-text);
	text-align: center;
	padding: 18px 15px;
	border-radius: 0 100px 100px 0;
	animation: badge-action 2s infinite alternate;
}

@keyframes badge-action {
	0% {
		min-width: 33.9%;
	}
	66.666%{
		min-width: 33.9%;
	}
	100%{
		min-width: 37.3%;
	}
}

.product__item-body{
	border: 1px solid var(--seryy);
	border-top: none;
	padding: 30px 15px;
}

.product__item-button{
	margin: 0 auto;
}

/* ------------------------------ */

.footer{
	padding: 15px 0;
	text-align: center;
	background: #788088;
	color: var(--white-text);
}

.footer__inner{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}