
.carousel-container {
    position: relative;
    width: 100%;
    /*margin: auto;*/
    overflow: visible;
    height: 80vh;
    background-color: black;
}

.carousel-container .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 80%;
    background-color: black;
    /*flex-direction: column;
    align-items: center;*/
}

.carousel-item {
    max-width: 100%;
    transition: opacity 0.5s ease;
    display: none;
}


.carousel-item img {
    max-height: 100%;
    width: 100%;
    margin-top: 2%;
}

.carousel video {
    width: 100%;
    max-height: 100%;
}

button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
}

button.prev {
    left: 0;
}

button.next {
    right: 0;
}

.carousel-container .thumbnails {
    display: flex;
    justify-content: center;
    height: 20%;
    gap: 0.5vw
}

.carousel-container .thumbnails img {
    height: 84%;
    margin: 2% 0% 1% 0%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.thumbnails img:hover {
    opacity: 1;
}

.carousel-item.active {
    display: block;
    margin: 0 auto;
}

/* DISEÑO RESPONSIVE */

/*Media Query para pantallas pequeñas tipo tablet */
@media (max-width: 1300px) {

    .carousel-container {
        height: 48vh;
    }
    
}


/* Media Query para pantallas tipo celular  */
@media (max-width: 768px) {

    .carousel-container {
        height: 48vh;
    }
    

}

