* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--transition: 1.5s cubic-bezier(.05, .5, 0, 1);
}
@font-face {
	font-family: kamerik-3d;
	src: url(../fonts/kamerik205-heavy.woff2);
	font-weight: 900;
}
@font-face {
	font-family: merriweather-italic-3d;
	src: url(../fonts/merriweather-regular-italic.woff2);
}
body {
	
}
.logo {
	--logo-size: calc(var(--index) * 7.8);
	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) * 2.8);
	z-index: 34;
}

.img_p{
	width: 200px;
	height: 200px;
}
.layers {
	perspective: 800px;
	overflow: hidden;

}
#layers{
	opacity: 0;
    transform: translateY(50px); /* Inicialmente desplazado hacia abajo */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Para una transición suave */

}
.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(.8);
}
.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.9);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: calc(var(--index) * -.15);
	line-height: 1.35em;
	margin-top: calc(var(--index) * 5.5);
	color: #d3d3d3;
}
.hero-content span {
	display: block;
	font-size: 50px;
}
.logo1{
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
}

.hero-content__p {
	text-transform: none;
	font-family: merriweather-italic-3d;
	letter-spacing: normal;
	font-size: calc(var(--index) * .73);
	line-height: 3;
}
.button-start {
	font-family: Arial;
	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);
}
.button-start:hover{
	color: #d3d3d3;
	background-color: grey;
	transition: all .5s;
}
.layer-4, .layer-5, .layer-6 {
	pointer-events: none;
}

/*=============== RESPONSIVE ===============*/

/* Small Devices */
@media screen and (max-width: 375px) {
	:root {
		--index: calc(1vw + 1vh);
	}
	
	.logo {
		--logo-size: calc(var(--index) * 6);
		top: calc(var(--index) * 1.5);
	}
	
	.img_p {
		width: 120px;
		height: 120px;
	}
	
	.layers__container {
		min-height: 400px;
	}
	
	.hero-content {
		font-size: calc(var(--index) * 3.5);
		margin-top: calc(var(--index) * 4);
	}
	
	.hero-content span {
		font-size: 30px;
	}
	
	.hero-content__p {
		font-size: calc(var(--index) * 0.9);
		line-height: 2;
	}
	
	.button-start {
		font-size: calc(var(--index) * 0.9);
		padding: calc(var(--index) * 0.8) calc(var(--index) * 1.5);
		margin-top: calc(var(--index) * 1.5);
	}
}

/* Medium Devices */
@media screen and (min-width: 600px) and (max-width: 768px) {
	:root {
		--index: calc(1vw + 1vh);
	}
	
	.logo {
		--logo-size: calc(var(--index) * 7);
	}
	
	.img_p {
		width: 160px;
		height: 160px;
	}
	
	.hero-content {
		font-size: calc(var(--index) * 2.5);
	}
	
	.hero-content span {
		font-size: 40px;
	}
	
	.button-start {
		font-size: calc(var(--index) * 0.65);
	}
}

/* Large Devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	.logo {
		--logo-size: calc(var(--index) * 7.5);
	}
	
	.img_p {
		width: 180px;
		height: 180px;
	}
	
	.hero-content {
		font-size: calc(var(--index) * 2.7);
	}
	
	.hero-content span {
		font-size: 45px;
	}
}

/* Extra Large Devices */
@media screen and (min-width: 1024px) {
	.logo {
		--logo-size: calc(var(--index) * 8);
	}
	
	.img_p {
		width: 200px;
		height: 200px;
	}
}

/* Landscape Mobile */
@media screen and (max-width: 812px) and (orientation: landscape) {
	.layers__container {
		min-height: auto;
		height: auto;
		min-height: 300px;
	}
	
	.hero-content {
		font-size: calc(var(--index) * 2);
		margin-top: calc(var(--index) * 2);
	}
	
	.hero-content span {
		font-size: 25px;
	}
	
	.hero-content__p {
		line-height: 1.5;
	}
	
	.button-start {
		margin-top: calc(var(--index) * 1);
	}
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
	.button-start:hover {
		color: #fff;
		background-color: transparent;
	}
	
	.button-start:active {
		background-color: grey;
	}
}
