/* styles for all devices */
body {
    background-color: cornsilk;
}

h1 {
    border-top: 2px solid rosybrown;
    border-bottom: 2px solid rosybrown;
    padding: 8px 4px;
    font-family: Baskerville Old Face,serif;
    font-size: 2.0em;
    color: #8d5152;
    line-height: 1.5em;
}

img {
    display: block;
    width: 30%;
}

p {
    margin: 10px;
}

footer {
    font-weight: bold;
    text-align: center;
}

/* styles for mobile */
@media screen and (max-width: 480px) {

    header img {
        display: block;
        margin: auto;
        width: 50%;
    }

    h1 {
        background-color: bisque;
        color: #8d5152;
        text-align: center;
        font-weight: bold;
    }

    img.size1 {
        width: 100%
    }

    img.size2, img.size3 {
        display: none;
    }

    article {
        display: grid;
        grid-template-columns: 1fr;
        padding-bottom: 0px;
    }

    p {
        padding: 5px;
        text-align: justify;
    }
}

/* styles for tablet */

@media screen and (min-width: 481px)  and (max-width: 960px) {
    h1 {
        background-color: white;
        color: #8d5152;;
        text-align: left;
        font-weight: bold;
    }

    section#sheet div {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 5px;
    }

    header img {
        margin: 0 auto;
        width: 50%;
    }

    p{
        margin-left: 50px;
    }

    img.size1 {
        width: 100%
    }

    img.size2 {
        width: 100%
    }

    img.size3 {
        width: 100%
    }
}


/* styles for desktop */

@media screen and (min-width: 961px) {

    article div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    p{
        display: inline-block;
        vertical-align: top;
        margin: 0;
        padding: 10px;
    }

    section#sheet h1{
        border-bottom: none;
        background-color: indianred;
        color: white;
    }

    section#sheet div {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 5px;
    }

    section#sheet {
        background-color: indianred;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    header img {
        margin: 0 auto;
        width: 50%;
    }

    article h1 {
        background-color: white;
    }


    img.size1 {
        width: 100%
    }

    img.size2 {
        width: 100%
    }

    img.size3 {
        width: 100%
    }
}