* {
    box-sizing: border-box;
    margin: 9px 55px;
}
html {
    margin: 0;
}
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f9f9f9;
}

header {
    margin: 0;
    text-align: center;
    width: 100%;
    height: 700px;
    background-image: url(../maqueta/header-bg-gradient.original.jpg);
    /* background-repeat: no-repeat; */
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
}

figure {
    text-align: center;
}

h2 {
    text-align: center;
}

main {
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    text-align: center;


    div {
        display: flex;
        align-items: center;

    }
}

.cajas {
    /* width: 72%; */
    padding: 0 150px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;

    div {
        flex-direction: column;
    }
}

section {
    h2 {
        text-align: center;
    }

    p {
        text-align: center;
    }
}

section {
    /* text-align: center; */
    align-items: center;

    figure {
        text-align: center;
    }

    article {
        /* text-align: center; */
        align-items: center;
        display: flex;
        flex-direction: column;

    }

}

.testimonios {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.contenedor-opiniones {
    display: flex;
    /* justify-content: center; */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    /* align-items: center; */
    flex-direction: 50%;
}

.opiniones {
    flex: 1;
    text-align: left;
}

.burbuja-texto {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 20px;
}

.burbuja-texto p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.autor {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
}

.autor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.autor cite {
    font-weight: bold;
    font-style: normal;
}

article {
    .cajas-sorpresa {
        padding: 0 -30px;
         margin: 0 20%;
        display: flex;
        gap: 20px;
        text-align: center;
        

        div {
            width: 100%;
            height: 150px;
            padding: 15px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            h3, p, h4 {
                margin: 0;
            }
        }
        
    }
    .caja-loca{
        display: flex;
        flex-direction: column;
        border-radius: 4px;
        
    }

}
sub{
    margin: 0;
}
aside{
    h3{
        color: #555;
    }
    p{
        color: rgb(168, 167, 167);
    }
    div1{
        
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
    }
    
}

section2{
    text-align: center;
    width: 100%;
    height: 500px;
    background-image: url(../maqueta/footer-img.original.jpg);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
}
footer{
    text-align: center;
    margin: 50px;
    a{
        color: rgb(60, 151, 255);
        text-decoration: none;
    }
}
.cajass{
           margin: 0 38%;
        display: flex;
        gap: 10px;
        text-align: center;
        .caja{
            margin: 10px 0;
        }
}
