*{
    box-sizing: border-box;
}
body{
    background-color:white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

article{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    border-bottom: 1px double black;
    padding-bottom: 40px;
}

img{
    width: 20%;
    padding: 20px;
}

section{
    width: 65%;
    padding-top: 30px;
}

h1{
    width: 100%;
    background-color: red;
    color: azure;
    font-size: 2em;
}

h3{
    width: 80%;
    color: gray;
    font-size: 1.5em;
}
h4{
    width: 80%;
    color: red;
    font-size: 1.2em;
}
p{
    width: 80%;
    color: lightslategray;
    font-size: 1.1em;
}

article:nth-of-type(2) {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px){
    
    body{
        flex-wrap: wrap;
    }

    article{
        width: 45%;
    }

    article:last-of-type{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

    }

    img[alt="foto3"]{
        width: 55%;
    }

    img{
        width: 100%;
    } 

    section{
        width: 100%;
    }

    article:last-of-type > section{
        width: 40%;
    }    
}

@media screen and (max-width: 576px){
    
    body{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    article{
        width: 100%;
        margin: 10px auto;
    }

    img{
        width: 100%;
    }

    article:last-of-type > section{
        width: 100%;
    } 
    img[alt="foto3"]{
        width: 100%;
    }
}