html {
    height: 100%;
}
body {
    background-color: #DEDBD2;
    font-family: 'Palanquin';
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 10%;
    font-weight: 400;
    color: #081C15;
    font-size: 20px;
}

/* all pages */

body {
    padding: 8px;
    font-size: 20px;
}

.site-header {
    z-index: 1100;
    position: absolute;
    text-align: right;
    top: 10%;
    width: 100%;
}

nav {
    list-style: none;
    padding-top: 2%;
    padding-right: 10%;
    font-size: 20px;
    display: inline-block;
}

.button {
    display: block;
    float: left;
    text-decoration: underline dotted;
    letter-spacing: 4px;
    color: #081C15;
    width: 80%;
    text-align: center;
}

.button:hover {
    background-color: #081C15;
    color: #DEDBD2;
}

p {
    font-size: 20px;
    line-height: 30px;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0%;
    height: 40px;
    padding-top: 10px;
    /* background-color: #DEDBD2; */
    text-align: center;
    font-size: 16px;
}

/* homepage */

main {
    position: absolute;
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

main h1 {
    font-size: 40px;
    letter-spacing: 4px;
}

.intro {
    background-image: url("./sofi-and-the-plates.jpg");
}

div.logo img {
    max-width: 3%;
    position: absolute;
    top: 15%;
    right: 50%;
}

/* about page */

div.about p {
    width: 50%;
}

div.portrait img {
    max-width: 20%;
    position: absolute;
    right: 15%;
}

/* gallery */

.gallery {
    padding: 0% 10%;
}

.frame {
    padding: 1%;
    border: 1px solid #ccc;
    float: left;
    width: 25%;
}

.frame:hover {
    border: 1px solid #777;
}

.item img {
    width: 100%;
    height: auto;
    max-height: 450px;
}

* {
    box-sizing: border-box;
}

@media only screen and (max-width: 600px) {
    main h1 {
        font-size: 20px;
    }

    div.logo img {
        max-width: 5%;
        top: 12%;
    }

    nav {
        padding: 0px;
        width: 100%;
        font-size: 15px;
        top: 12%;
    }

    .site-header {
        left: 0%;
        width: 60%;
    }

    .button {
        float: none;
        text-align: left;
    }

    div.about {
        margin-top: 30%;
    }

    div.about p {
        width: 50%;
        font-size: 10px;
    }

    body {
        font-size: 10px;
    }

    footer {
        position: fixed;
        bottom: 0;
        width: 100%;
    }

    .gallery {
        padding: 15% 10%;
    }

}


@media only screen and (max-width: 700px) {
    .frame {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px) {
    .frame: {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
