* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-container-front {
    position: absolute;
    padding: 2rem 0 0 0;
    left: 50%;
    transform: translateX(-50%); /* para centrar horizontalmente */
    max-width: 1345px;
    width: 100%;
    color: white;
    border-radius: 0.5rem;
    z-index: 3;
    /* border: 1px solid rgb(47, 255, 255); */
    height: 52vh;
    
}

.carousel-slides {
    display: flex;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.container-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    /* border: solid 1px red; */
    max-width: 1345px;
    display: flex;
    transform: translate(-50%, -50%);
    color: white;
    width: 100%;

    
}
.overlay-card {
    margin: 0 auto;
    /* border: solid 1px greenyellow;  */
    padding: 60px 95px;
    border-radius: 15px;
    text-align: justify;
    background-color: rgba(66, 64, 64, 0.6);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 60px 95px;
    max-width: 700px;
}

.overlay-card h3 {
    font-family: 'Gotham Black', sans-serif;
    font-weight: 900;
    font-size: 2.0rem;
    margin-bottom: 25px;

}
.overlay-card em {
    font-family: 'Roboto', sans-serif;
    display: block;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-style: italic;
}

.overlay-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}


.carousel-container-front-botons {
    position: absolute;
    top: 40vh;
    padding: 6rem 0 0 0;
    left: 50%;
    transform: translateX(-50%); /* para centrar horizontalmente */
    max-width: 1345px;
    width: 100%;
    color: white;
    border-radius: 0.5rem;
    z-index: 8;
    /* border: 1px solid red; */
}

.carousel-button {
    position: absolute;
    /* top: 50%; */
    transform: translateY(-50%);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-color: transparent;
    bottom: 0;
}


.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.logo-header img {
    height: 50px;
    margin-left: 2rem;
    margin-bottom: 6rem;
}

#footer-container {
    margin-top: auto;
    /* Empuja el footer hacia abajo */
    width: 100%;
}

@media (max-width: 1200px) {
    .carousel-container {
        max-height: 800px;
    }

    .overlay-card {
        max-width: 600px;
    }
    .carousel-slide {
        flex-shrink: 1;
    }
}

@media (max-width: 1024px) {
    .logo-header img {
        margin-left: 1rem;
        margin-bottom: 6rem;
        height: 40px;
    }

}



@media (max-width: 992px) {
    .carousel-container {
        max-height: 700px;
    }

    .overlay-card h3 {
        font-size: 1.6rem;
    }

    .overlay-card em {
        font-size: 1rem;
    }

    .overlay-card p {
        font-size: 1rem;
    }

    /* .logo-header {
        top: 20px;
        left: 20px;
        padding: 8px 12px;
    } */

    /* .logo-header img {
        height: 35px;
    } */
    .carousel-container-front {
        height: 47vh;
    }
}



@media (max-width: 770px) {
    .carousel-container {
        max-height: 600px;
    }

    .overlay-card {
        padding: 25px 30px;
        width: 90%;
    }

    .carousel-button {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    /* .logo-header img {
        height: 30px;
    } */

    .overlay-card {
        max-width: 500px;
    }
    .carousel-container-front {
        height: 40vh;
    }
}

@media (max-width: 690px) {
    .overlay-card {
        max-width: 400px;
    }
    .carousel-container-front {
        height: 40vh;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        max-height: 500px;
    }

    .overlay-card {
        padding: 20px 25px;
    }

    .carousel-container-front {
        height: 35vh;
    }

    .overlay-card h3 {
        font-size: 1.4rem;
    }

    .overlay-card em {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .overlay-card p {
        font-size: 0.9rem;
    }

    .carousel-button {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    /* .logo-header {
        top: 15px;
        left: 15px;
        padding: 6px 10px;
    } */

    /* .logo-header img {
        height: 25px;
    } */
}

@media (max-width: 558px) {
    .overlay-card {
        max-width: 300px;
    }
    .carousel-container-front {
        height: 40vh;
    }
    .container-overlay-card {
        position: absolute;
        top: 57%;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
    
}

@media (max-width: 400px) {
    .carousel-container {
        max-height: 350px;
    }
    .overlay-card {
        max-width: 200px;
    }

    .overlay-card {
        padding: 15px 20px;
    }

    /* .logo-header {
        padding: 5px 8px;
    } */

    /* .logo-header img {
        height: 22px;
    } */
}
/* .carousel-slide {
  display: none;
} */