* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
}

/* Header marcar sobre-nosotros */
.textotarjetas {
    height: 40px;
}
.bot {
    background-color: white;
}

.lasalleimg {
    width: 100%;
    height: 400px;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(25, 118, 210, 0.15);
    margin-top: 2rem;
    object-fit: cover;
}

/* Contenedor de las imágenes de actividades */
.primdiv {
    width: 100%;
    height: 400px;
    margin-top: 10vh;
}

.lacajaqcontalostres {
    width: 90%;
    height: 400px;
    margin-left: 55px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Tarjeta de imagen de actividad */
.lasstres {
    width: 100%;
    max-width: 350px;
    height: 220px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(25, 118, 210, 0.10);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.lasstres img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1.5rem 1.5rem 0 0;
    display: block;
}

/* Estilos para las imágenes internas (puedes ajustar si quieres que sean iguales a las de arriba) */
.one, .two, .three {
    width: 100%;
    height: 220px;
}
.one img, .two img, .three img {
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
    object-fit: cover;
    border-radius: 1.5rem 1.5rem 0 0;
}

/* Fondo en la sección de cursos */
#conocenossection {
    margin-top: 100px;
}
.fondooscuro {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 1;
}
.fondoazul {
    background-color: rgba(3, 14, 26, 0.76);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#textoocurso {
    line-height: 0.6;
    margin-left: 150px;
}

/* Subrayado para títulos */
.subrayado {
    display: inline-block;
    border-bottom: 4px solid #007bff;
    padding-bottom: 5px;
}

/* Responsive: imágenes de actividades ocupan todo el ancho en móviles */
@media (max-width: 600px) {
    .lacajaqcontalostres {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-left: 0;
        width: 100%;
        height: auto;
    }
    .lasstres {
        width: 100%;
        max-width: 100%;
        height: 220px;
        margin-left: 0;
    }
    .lasstres img,
    .one img, .two img, .three img {
        width: 100%;
        height: 220px;
        border-radius: 1.5rem 1.5rem 0 0;
        object-fit: cover;
    }
}
