#Galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: #084999;
}

.h2Contact {
    color: white;
    font-weight: bolder;
}

.galCont {
    margin: 70px auto 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.galCont2 {
    display: none;
}

.carousel-item {
    position: absolute;
    width: 330px;
    height: 215px;
    transform-style: preserve-3d;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    border-radius: 25px;
    cursor: grab;
    user-select: none;
}

.IMGcarou {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

#carousel-container {
    perspective: 1000px;
    width: 300px;
    height: 200px;
}

#carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

@media (max-width:1200px) {
    .carousel-item {
        width: 290px;
        height: 210px;
    }
}

/* Posible corrección */
@media (max-width:1140px) {
    .carousel-item {
        width: 250px;
        height: 170px;
        background-color: #084999;
    }

    #carousel-container {
        perspective: 950px;
        width: 230px;
    }

    #carousel {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
    }
}

@media (max-width:900px) {

    .galCont {
        display: none;
    }
    
    .galCont2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    #carouselExampleIndicators {
        width: 80%;
    }

    .carousel-inner {
        width: auto;
        height: 350px;
    }

    .carousel-item {
        width: 100%;
        height: 100%;
        display: none;
    }

    .IMGcarou2 {
        width: 100%;
        height: 100%;
    }
}

@media (max-width:680px) {
    #Galeria {
        padding: 30px;
    }
    
    .carousel-inner {
        width: auto;
        height: 300px;
    }

}

@media (max-width:599px) {

    #carouselExampleIndicators {
        width: 90%;
    }

    .carousel-inner {
        width: auto;
        height: 250px;
    }

}

@media(max-width:470px) {

    .galCont2 {
        margin: 0;

    }

    #carouselExampleIndicators {
        width: 100%;
    }

    .carousel-inner {
        height: 200px;
    }
}