:root {
    --blanco: #fff;
    --boton: #ff6600;
    --linea: #ff4605;
    --sombra: #eee5;
}

/* Carrusel SLIDER  */
.carrusel {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    overflow: hidden;
}

.lista {
    width: 100%;
    height: 100%;
}

.carrusel .elemento {
    width: 100%;
    height: 100%;
}

.carrusel .elemento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45%;
    transform: translate(-90%, -50%);
    background: rgba(0, 0, 0, .25);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.contenido_titulo {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: var(--boton);
    font-size: 3rem;
}

.descripcion {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--blanco);
    font-size: 1.3rem;
    margin-top: 10px;
}

/* Botón */
.click_boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    margin-top: 15px;
    background: var(--boton);
    color: var(--blanco);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.click_boton:hover {
    background: var(--linea);
}

.click_boton svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.click_boton rect {
    width: 100%;
    height: 100%;
    stroke: var(--blanco);
    stroke-width: 10px;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset .6s ease;
}

.click_boton:hover rect {
    stroke-dashoffset: 0;
}

/* Miniaturas */
.miniatura {
    position: absolute;
    bottom: 110px;
    left: 80%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.miniatura .elemento {
    width: 90px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    opacity: .6;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .3s;
}

.miniatura .elemento.active,
.miniatura .elementob:hover {
    opacity: 1;
    border-color: var(--boton);
}

/* Flechas */
.flechas_siguiente_anterior {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 20;
}

.flechas_siguiente_anterior button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--sombra);
    border: none;
    color: var(--boton);
    font-weight: bold;
    font-size: 2em;
    cursor: pointer;
    transition: .5s;
    /* centrar Flechas */
    display: flex;
    align-items: center;
    justify-content: center;
}

.flechas_siguiente_anterior button:hover {
    background: var(--boton);
    color: var(--blanco);
}

@media (max-width: 1024px) {
    .contenido {
        width: 80%;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .contenido_titulo {
        font-size: 2.2rem;
    }

    .descripcion {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .contenido {
        transform: translate(-50%, -30%);
    }

    .carrusel {
        height: 60vh;
    }

    .contenido {
        padding: 15px;
    }

    .contenido_titulo {
        font-size: 1.8rem;
    }

    .descripcion {
        font-size: 1rem;
    }

    .click_boton {
        width: 150px;
        height: 50px;
        font-size: 1.3rem;
    }

    .miniatura {
        display: none;
    }
}

/* Móviles medianos */
@media (max-width: 480px) {
    .carrusel {
        height: 50vh;
    }

    .contenido {
        width: 90%;
    }

    .contenido_titulo {
        font-size: 1.4rem;
        text-align: center;
    }

    .descripcion {
        font-size: 0.9rem;
    }

    .click_boton {
        width: 100px;
        height: 40px;
        font-size: 1rem;
    }

    .flechas_siguiente_anterior {
        bottom: 20px;

    }

    .flechas_siguiente_anterior button {
        width: 50px;
        height: 50px;
    }
}

/* Móviles pequeños */
@media (max-width: 360px) {
    .carrusel {
        height: 45vh;
    }

    .contenido_titulo {
        font-size: 1.1rem;
    }

    .descripcion {
        font-size: 0.7rem;
    }

    .click_boton {
        width: 80px;
        height: 30px;
        font-size: 0.7rem;
    }
}