/* Media query para pantallas más pequeñas, como móviles */

@media (max-width: 575px) {
    /* .p-ocultar{
        display:none;
    } */

    .projectscontent {
        /* position: relative;
        top: -60px; */
        margin: 10px;
        width: 100vw;
    }

    .fotoprojects {
        display: none;
        /*desaparece la foto para celulares*/
    }

    .fotoprojectsmobile {
        display: block !important;
        background-image: url('imagenes/CB_3_Projects.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-size: contain !important;
        min-width: 100vw;
        min-height: 100vh;
    }

    td.videos {
        display: flex;
    }
    
    iframe {
        width: 85vw !important;
    }
}

.fotoprojects {
    background-image: url('imagenes/CB_3_Projects.jpg');
    background-repeat: no-repeat;
    background-size: 95%;
    /* Cubrir todo el contenido del body */
    /* background-attachment: fixed; /* Fijar la imagen de fondo */
    min-height: 800px;
}

.fotoprojectsmobile {
    display: none;
}

iframe {
    width: 20vw;
    /* Ancho del 100% para que se ajusten al contenedor /*
    max-width: 100%; /* Ancho máximo para limitar el tamaño */
    height: auto;
    /* Altura automática para mantener la proporción*/
    margin: auto;
    /* Agrega espacio alrededor de los iframes */
    display: block;
    /* Evita el espacio adicional debajo de los iframes */
    padding: 5px;
    border-radius: 10px;
}

.projectsbody {
    background-color: white;
    color: rgb(65, 41, 121);
    padding-top: 80px;
}

.projectsbody h6 {
    text-align: center;
}

.projectsbody p {
    text-align: justify;
    font-size: small;
}

.projectstable {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.videosytexto {
    padding-top: 70px;
    background-image: url(imagenes/CB_3_Projects.jpg);
    background-repeat: no-repeat;
    background-size: 50%;
    /* Cubrir todo el contenido del body */
    background-attachment: fixed;
    /* Fijar la imagen de fondo */
}

.videosytexto p {
    font-size: small;
}