/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: #FAD201;
}





header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #FAD201;
}

.nav-list {
    list-style-type: none;
    display: flex;
    gap: 1rem;
}

.nav-list li a {
    text-decoration: none;
    color: #1c1c1c;
}

.abrir-menu,
.cerrar-menu {
    display: none;
}










 .container {
            padding: 20px;
                background-color:#FAD201;
                text-align: justify;
                font-size:18px;

        
        }
        .carousel-item img {
            width: 100%;
            height: auto;       
            
        }
        
         .carousel-item img {
            max-width:auto;
            height: 500px;
            
        }
        .carousel {
            max-width: 800px; /* Ajusta el tamaño del carrusel aquí */
            margin: 0 auto;
            
        }
        .carousel-inner {
            max-height: 500px; /* Ajusta la altura máxima del carrusel aquí */
        
        }
        



h5 {
    font-weight: bold;
    font-size:20px;

}


.col {
    margin: 10px 0; /* Ajusta el valor vertical como desees */
}
        .card-columns .card {
        display: inline-block;
        width: 200%;
        
        }

        .card-img-top {
        width: 100%;
        height: 200px !important; //esta es la parte importante para que todas tus card-img tengan la misma medida sin importar el tamaño de la imagen
        border-top-left-radius: calc(0.25rem - 1px);
        border-top-right-radius: calc(0.25rem - 1px);
        background-color:#FAD201;
        }
        .card-columns {
        column-gap: 0;
        background-color:#FAD201;
        }
        





@media screen and (max-width: 550px) {
    .abrir-menu,
    .cerrar-menu {
        display: block;      
        border: 0;
        font-size: 4.25rem;
        background-color: transparent;
        cursor: pointer;
    }
  
    .abrir-menu {
        color: #1c1c1c;
    }

    .cerrar-menu {
        color: #ececec;
    }

    .nav {
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 1rem;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: #1c1c1c;
        padding: 2rem;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
         z-index: 1000;
    }

    .nav.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: end;
    }

    .nav-list li a {
        color: white;
    }
}



.contvideos {
    padding: 0 9% ;
    margin: auto;    
    display: grid;    
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1 rem;
    
}










/* Estilos específicos para dispositivos más pequeños */
@media screen and (max-width: 950px) {
    .abrir-menu,
    .cerrar-menu {
        display: block;
        border: 0;
        font-size: 4.25rem; /* Ajusta el tamaño de la fuente para dispositivos más pequeños */
        background-color: transparent;
        cursor: pointer;
    }

    .abrir-menu {
        color: #1c1c1c;
    }

    .cerrar-menu {
        color: #ececec;
    }

   