/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* BODY */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    color: white;
    background-color: black;
}

.contenedor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    min-height: 70vh;
    flex-wrap: wrap;
    padding: 40px 20px;
}

/* BURBUJA GENERAL */
.burbuja {
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 30% 70% 70% 30% / 67% 38% 62% 33%;
    box-shadow:
        inset 20px 20px 20px rgba(0,0,0,0.2),
        25px 35px 20px rgba(0,0,0,0.5),
        25px 30px 30px rgba(0,0,0,0.5),
        inset -20px -20px 25px rgba(255,255,255,0.2);
    transition: 0.5s;
}

/* EFECTO HOVER */
.burbuja:hover {
    border-radius: 50%;
}

/* IMÁGENES */ 
.burbuja1 {
    background-image: url("/img/herminia-abogada-penalista.jpg");
}

.burbuja2 {
    background-image: url("/img/contacto-abogado-penalista.jpg");
}


.burbuja3 {
    background-image: url("/img/abogada-penalista-santa-cruz.jpg");
}

.persona {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.persona h2 {
    margin-top: 15px;
    color: gold;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* TITULOS */
.titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 0;
    text-align: center;
}

h1 {
    color: gold;
    margin: 120px 0 0 0;
    font-size: 2rem;
}

.descripcion h2 {
    color: gold;
    margin: 40px 0 20px;
}

.somos {
    color: gold;
}

.descripcion {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.6;
    padding: 0 20px;
}

/* TABLET */
@media (max-width: 1024px) {
    .contenedor {
        gap: 40px;
    }

    .burbuja {
        width: 280px;
        height: 280px;
    }
}

/* MOVIL */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .burbuja {
        width: 250px;
        height: 250px;
    }

    h1 {
        margin-top: 100px;
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .persona h2 {
        font-size: 16px;
    }

    .descripcion {
        font-size: 16px;
        padding: 0 15px;
    }
}

/* MOVIL PEQUEÑO */
@media (max-width: 480px) {
    .burbuja {
        width: 220px;
        height: 220px;
    }

    h1 {
        font-size: 1.3rem;
    }
}