
.frame {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 40vh;
	overflow: hidden;
	cursor: pointer;
	border-radius: 20px;
	border:#141414 5px inset;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
	  margin-bottom: 1.5rem;
	  /* border-bottom: #b85777 5px inset; */
	transition: border 0.3s ease-in-out;

	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	&:hover {
		border: #505050 4px inset; /* ridge */
	}
}

.frame:hover .image {
	transform: scale(1.05);
	/* opacity: 1; */
}

.image {
	opacity: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#uno {
	background-image: url('/images/coscorock/1.webp');
}

#dos {
	background-image: url('/images/superbichos/1.webp');
}

#tres {
	background-image: url('/images/coscorock/2.webp');
}

#cuatro {
	background-image: url('/images/guateque/1.webp');
}

#cinco {
	background-image: url('/images/viaja/1.webp');
}

/* MOSTRAR TEXTO CUANDO EL CURSOR ESTE ENCIMA DE LA IMAGEN */
.overlay {
	letter-spacing: 1em; /* Espaciado proporcional al tamaño de la fuente */
	padding-left: 1em; /* Ajuste fino para compensar la última letra */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.65);
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: bw_letter;
	/* font-size: 60%; */
	font-size: 2.5rem;
	/* font-size: 3vw; */
	text-align: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	/* transition-delay: 0.1s; */
	color:#bebebe;
}

.frame:hover .overlay {
	opacity: 1;
	backdrop-filter: blur(1px);
}

/* @keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
} */

.container {
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5%;
	/* animation: fadeIn 4s ease-in-out; */
}

#uparticle {
	color: #b85777;
	margin-bottom: 5%;
	font-size:150%;
	text-align: center;
	border-radius: 20px;
	background-color: #141414;
	border:#333 6px solid;
	/* width: 95%; */
	/* margin-left: 2.5%; */
	p {
		color: #bebebe;
		font-size: 80%
	}
}

/* #downarticle {
	background-color:#b85777;
	#3cc0efff
	background-color:#2596be;
	font-size:400%;
} */

/* Para smartphones y tablets*/
@media (width <= 860px) {

	.frame {
		height: 25vh;
	}

	.overlay {
		letter-spacing: 0.2em; /* Espaciado proporcional al tamaño de la fuente */
		padding-left: 0.2em; /* Ajuste fino para compensar la última letra */
		font-size: 2rem;
		opacity: 1;
		transition: opacity 0.5s ease;
		backdrop-filter: blur(1px);
	}

	.image {
		opacity: 1;
	}
	
	.frame:hover .overlay {
		opacity: 0;
	}
}


/* HERO SECTION */
.hero {
	/* font-family: 'Segoe UI', sans-serif; */
	background-color: #141414;
	padding: 60px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.hero-text {
	flex: 1 1 500px;
	max-width: 600px;
	padding: 20px;
}

.hero-text h1 {
	color: #ff007a;
	font-size: 2.8rem;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-text p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 16px;
}

.hero-text strong {
	color: #fff;
}

.cta-button {
	display: inline-block;
	background-color: #ff007a;
	color: #fff;
	padding: 12px 24px;
	border: none;
	border-radius: 30px;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.3s ease;
}

.cta-button:hover {
	background-color: #e6006b;
}

.hero-image {
	flex: 1 1 400px;
	max-width: 500px;
	padding: 20px;
	text-align: center;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.hero {
		flex-direction: column;
		padding: 40px 20px;
	}

	.hero-text h1 {
		font-size: 2rem;
	}

	.hero-text p {
		font-size: 1rem;
	}
}