* {
    box-sizing: border-box;
}

body {
    background-color: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}

div{
    width: 40%;
    margin:10px 20px;
}
h2{
    font-size: 1.8vw;
}
img {
    width: 100%;
}

p {
    width: 100%;
}

#footer {
    width: 100%;
    color: blue;
}

@media screen and (max-width: 768px){
    body{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    div{
        width: 45%;
        margin:10px auto;
    }

    div:last-of-type{
        width: 100%;
        margin: 50px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    img[alt = g3]{
        width: 50%;
    }

    section{
        width: 40%;
    }

    h2 {
        font-size: 4vw;
    }
}

@media screen and (max-width: 425px){
    body{ /* Se ponen cajas flexibles aquí */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    div{
        width: 100%;
        margin:10px auto;
    }
    img[alt = g3]{
        width: 100%;
    }

    section{
        width: 100%;
    }

    h2 {
        font-size: 5vw;
    }
}
