body {
	height: 100vh;
	overflow: hidden;
	width: 100vw;
}

:root {
    font-size: calc(100vw / 1920 * 10);
    --soft: #f9ecdf;
    --black: #010101;
    --white-2: white;
    --line-color: #7c5658;
    --line-decor: #a2777a;
    --gap: 2.8rem;
    --line-medium: #d8bfc0;
    --line-soft: #ead5d6;
    --dark: #3c1317;
    --color: #5d3136;
    --white: white;
    --decor: #ffe2c5;
    --black-2: black;

}


.preloader {
    background: var(--dark);
}
.counter-preloader {
	position: fixed;
	z-index: 2;
	left: 50vw;
	top: 50vh;
	transform: translate(-50%, -50%);
	font-size: 2.5rem;
	color: var(--white);
}
.content {
	width: 100vw;
	height: 100vh;
	position: relative;
	background: var(--soft);
}

ul.list__container {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	width: 100%;
	height: 100vh;
	padding: 1rem;
}

li.list__item {
	height: calc(100vh / 6 - 0.5rem);
	padding: 0.8rem;
}


li.list__item img {
	height: 100%;
	border-radius: 0.7rem;
	border: 1px solid var(--line-soft);
}

li.list__item.content__texts {
	grid-column: 4 / span 2;
	grid-row: 3 / span 2;
	height: auto;
}

li.list__item:nth-child(20), li.list__item:nth-child(21), li.list__item:nth-child(28), li.list__item:nth-child(29) {
	opacity: 0;
}

.content__texts {
	height: 31.2vh;
	left: 50vw;
	position: absolute;
	top: 50vh;
	transform: translate(-50%, -50%);
	width: 46rem;
	z-index: 1;
}

.texts {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 0 7rem;
	width: 100%;
    overflow: hidden;
}

.content__texts h1 {
	font-size: 5rem;
	letter-spacing: -0.1rem;
}

.subt {
	font-size: 2rem;
	text-align: center;
	margin: 2rem 0 0 0;
	color: var(--color);
}
.content__texts__holder, .texts {
    position: relative;
    width: 100%;
    height: 100%;
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
	background: var(--white);
	border-radius: 0.7rem;
	border: 1px solid var(--line-soft);

}
.texts a {
	border: 1px solid var(--line-medium);
	background: var(--line-soft);
	padding: 1.1rem 5.3rem;
	border-radius: 50px;
	margin: 3rem 0 0 0;
}
.texts  > *, .list__item, .bg {
    will-change: transform, opacity;
}
