.title{
    width: 500px;
    height: 130px;
    background-color: blue;
    text-align: center;
    font-size: 50px;
    margin: auto;
    border-radius: 20px;
    margin-bottom: 20px;
    
}
.caja{
    display: flex;
    background-color: black;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 600px;
    border-radius: 20px;
}
.ima{
    width: 50%;
    background-color:  rgb(120, 163, 212);;
    height: 100%;
    border-radius: 20px;
    align-items: center;
    

}
.con{
  width: 50%;
    background-color: rgba(60, 114, 230, 0.777);
    height: 100%;
    border-radius: 20px;  
}
.ime{
    width: 80%;
    height:80% ;
    background-color: chocolate;
    margin: auto;
    margin-top: 50px;

}
img{
    width: 100%;
    height: 100%;
}
h2{
    font-size: 30px;
    padding: 20px;
    margin-top: 45px;
    text-align: justify;
}

.NOSOTROS{
    background-color: rgb(120, 163, 212);
    width: 8%;
    padding: 5px;
    font-size: 25px;
    text-align: center;
    border-radius: 20px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 10px;
    top: 50px;
    transform: translateY(-110%);
}

/* ==========================================================
   RESPONSIVE (se agregó al final, no cambia el diseño de escritorio)
   ========================================================== */

/* Celular: la imagen arriba y el texto abajo */
@media (max-width: 768px){
    body{
        padding-top: 60px;      /* espacio para el botón del menú */
    }
    .NOSOTROS{
        width: auto;            /* el botón se ajusta a su texto */
        padding: 5px 12px;
        font-size: 18px;
    }
    .title{
        width: 90%;
        height: auto;
        font-size: 28px;
        padding: 10px;
    }
    .caja{
        flex-direction: column; /* una caja debajo de la otra */
        height: auto;
    }
    .ima{
        width: 100%;
        height: 280px;
    }
    .con{
        width: 100%;
        height: auto;
    }
    .ime{
        margin-top: 20px;
    }
    h2{
        font-size: 18px;
        padding: 15px;
        margin-top: 0;
    }
}
