/* Contenido MAIN O BANNER */

main {
    padding: 0;
    height: 450px;
}

main .container {
    position: relative;
    height: 100%;
}

/* El background */
main .container .background {
    width: 100%;
    height: 80%; /* PROPORCION */
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-radius: 10px;
}

/* EXCLUSIVO PARA METER FONDOS */
.bg-slider-1{
    background-image: url('bg-slider/slider.png');
    background-size: cover;
    /* La imagen cubre todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
}
.bg-slider-2{
    background-image: url('bg-slider/slider.png');
    background-size: cover;
    /* La imagen cubre todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
}
.bg-slider-3{
    background-image: url('bg-slider/slider.png');
    background-size: cover;
    /* La imagen cubre todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
}

/* Imagen y capa de enfrente */
main .container .front-layer {
    width: 100%;
    height: 100%;
    z-index: 14;
    overflow: hidden;
    position: relative;
}

.front-layer .wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    /* Abarca el 100% del contenedor padre */
}

.front-layer .content,
.front-layer .image {
    width: 50%;
    /* Cada div ocupa el 50% del ancho del contenedor */
    box-sizing: border-box;
    /* Para que padding y border no aumenten el ancho */
    overflow: hidden;
}

.front-layer .image img {
    width: 100%;
    /* La imagen ocupa el 100% del div .image */
    height: auto;
    /* Mantiene la proporción de la imagen */
    object-fit: cover;
    /* Ajusta la imagen para cubrir el div si es necesario */
}

/* CAPA DE TEXTO */
main .container {
    position: relative;
}
main .container .text {
    width: 100%;
    height: 80%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 80px;
    z-index: 30;
}

main .container .text h2 {
    font-size: 1.7em;
    color:white;
    text-shadow: 2px 3px 5px rgba(219, 102, 135, 0.39);
}

main .container .text p {
    font-size: 0.6em;
    width: 40%;
     color:white;
     text-shadow: 2px 3px 5px rgba(219, 102, 135, 0.39);
}

/* Estilos del contenedor */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    padding: 0 5%;
    font-size: 2em;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: scaleY(1.5);
    color: rgb(62, 62, 62);
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
    background-color: transparent;
}

.nav-button.left {
    left: 0px; /* Mueve el botón a la izquierda del contenedor */
    color: #ff8fae;
}

.nav-button.right {
    right: 0px; /* Mueve el botón a la derecha del contenedor */
    color: #ff8fae;
}

.nav-button:hover {
    color: #ffc4c6;
}