* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(.9vw + .9vh);
	/* --transition: 0.7s cubic-bezier(0.2, 0.5, 0.3, 1);*/
}
@font-face {
	font-family: Montserrat;
	font-weight: 900;
}
@font-face {
	font-family: Montserrat;
	font-weight: 900;
}
body {
	background-color: #ffffff;
	color: #4a441b;
	font-family: Montserrat;
}
.logo {
	--logo-size: calc(var(--index) * 11);
	width: var(--logo-size);
	height: var(--logo-size);
	background-repeat: no-repeat;
	position: absolute;
	left: calc(51% - calc(var(--logo-size) / 2));
	top: calc(var(--index) * 5);
	z-index: 1;
}
.layers {
	perspective: 1000px;
	overflow: hidden;
}
.layers__container {
	height: 100vh;
	min-height: 500px;
	transform-style: preserve-3d;
	transform: rotateX(var(--move-y)) rotateY(var(--move-x));
	will-change: transform;
	transition: transform var(--transition);
}
.layers__item {
	position: absolute;
	inset: -5vw;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.layer-1 {
	transform: translateZ(-55px) scale(1.06);
}
.layer-2 {
	transform: translateZ(80px) scale(.88);
}
.layer-3 {
	transform: translateZ(180px) scale(.6);
}
.layer-4 {
	transform: translateZ(190px) scale(.9);
}
.layer-5 {
	transform: translateZ(300px) scale(.9);
}
.layer-6 {
	transform: translateZ(380px);
}
.hero-content {
	font-size: calc(var(--index) * 2.0);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: calc(var(--index) * -.15);
	line-height: 2em;
	margin-top: calc(var(--index) * 5.5);
}
.hero-content span {
	display: block;
}
.hero-content__p {
	text-transform: none;
	font-family: Montserrat;
	letter-spacing: normal;
	font-size: calc(var(--index) * .73);
	line-height: 3;
}
.button-start {
	font-family: Montserrat;
	font-weight: 600;
	text-transform: uppercase;
	font-size: calc(var(--index) * .71);
	letter-spacing: -.02vw;
	padding: calc(var(--index) * .7) calc(var(--index) * 1.25);
	background-color: transparent;
	color: #fff;
	border-radius: 10em;
	border: rgb(255 255 255 / .4) 3px solid;
	outline: none;
	cursor: pointer;
	margin-top: calc(var(--index) * 2.5);
}
.layer-4, .layer-5, .layer-6 {
	pointer-events: none;
}

.task-section {
	background-color: #fff;
	color: #625d38;
	padding: 20px 20px;
	font-family: Montserrat, sans-serif;
}

.task-container {
    display: flex;
    max-width: 70%;
    margin: 0 auto;

    position: relative; /* Для позиционирования .task-left */
}

.task-left {
    flex: 30%;
    font-size: 60px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right; /* Выравнивание текста по правому краю */
    padding: 30px; /* Отступы от краев */
}

.task-right {
	flex: 70%;
	font-size: 28px;
	line-height: 1.5;
	padding: 30px; /* Отступы от краев */
}

.custom-slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  height: auto;
}

.bottom-image, .top-image {
  width: 100%;
  display: block;
}

.top-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.curtain {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  background-color: white;
  transform: translateX(-50%);
}

.block {
    max-width: 80%;
    margin: auto;
    padding: 80px;
}

.block__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.block__row--reverse {
    flex-direction: row-reverse;
}

.block__image {
    flex: 1 1 50%;
    min-width: 300px;
    max-width: 600px;
}

.block__image img {
    width: 100%;
    height: auto;
}

.block__text {
    flex: 1 1 50%;
    min-width: 300px;
    font-size: 32px;
    line-height: 1.5;
}

.block__text--left {
    text-align: left;
    padding-left: 20px;
}

.block__text--right {
    text-align: right;
    padding-right: 20px;
}

.inter {
    width: 100%;
    text-align: center;
}

.inter .responsive-text {
    margin: 0;
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
}

.inter img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
}

.footer {
    width: 100%;
    background-color: #48421a;
    text-align: center;
	padding: 50px 20px;
}

.footer img {
    width: auto;
    height: 100px;
}

@media (max-width: 1024px) {
    .task-container {
        flex-direction: column;
        max-width: 90%;
    }
    .task-left {
        text-align: center;
        font-size: 24px;
        padding: 10px;
    }
    .task-right {
        font-size: 20px;
        padding: 15px;
    }
    .logo {
        width: 30vw;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-content {
        font-size: 4vw;
    }
}

@media (max-width: 768px) {
    .task-left {
        font-size: 30px;
    }
    .task-right {
        font-size: 18px;
    }
    .hero-content {
        font-size: 5vw;
    }
}

@media (max-width: 480px) {
    .task-left {
        font-size: 24px;
        padding: 5px;
    }
    .task-right {
        font-size: 16px;
        padding: 10px;
    }
    .hero-content {
        font-size: 6vw;
    }
}

@media (max-width: 768px) {
    .block {
    max-width: 100%;
	font-size: 24px;	
    padding: 10px;
    }
}

@media (max-width: 768px) {
.footer img {
    width: auto;
    height: 80px;
	}
}	
	
@media (max-width: 768px) {
    .inter .responsive-text {
    max-width: 100%;
	font-size: 24px;	
    padding: 10px;
    }
}