/*font-family: "Gravitas One", serif;*/
/*font-family: "Fredoka", sans-serif;*/
/*font-family: "Aladin", sans-serif;*/

html {
    font-size: 10px;
    color: #DDD;
    font-family: 'Fredoka', sans-serif;
}

body {
    background-image: url(../images/texture.jpg);
    background-size: cover;
    background-attachment: fixed;
}

div#contain {
    background-color: #CAA387;
    width: 90%;
    margin: 0 auto;
    border: 5px solid #8F705A;
    border-top: none;
    border-bottom: none;
    padding: 4rem 0 4rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 40%;
    box-shadow: 0 0 0 8px #8F705A;
}

p, section#ing ul li, section#dir ol li {
    font-size: 1.8rem;
    line-height: 2rem;
}

header { margin: 0 3rem; }

article#img {
    margin: 0 0 4rem;
    border: 3px solid #DDD;
    border-radius: 30%;
}

article#title { margin-bottom: 2rem; }

article#title h1 {
    font-family: "Gravitas One", serif;
    color: #666;
    font-size: 3rem;
    margin: 0 0 2rem;
    text-align: center;
}

p#byline {
    font-family: "Aladin", sans-serif;
    font-style: italic;
    text-align: center;
    color: #8F705A;
}

section#info { margin: 4rem 3rem; }

a:link { color: #8F705A; }

a:hover { text-decoration: none; color: #FFD3F7; }

a:active { text-decoration: none; color: #8F705A; }

a:visited { color: #666; text-decoration: underline; }

article.details {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

article.details p { font-size: 2rem; }

p.top {
    color: #666;
    font-family: "Gravitas One", serif;
    letter-spacing: -2px;
}

p.bottom { font-weight: 500; }

span.option {
    font-family: "Aladin", sans-serif;
    color: #FFD3F7;
    letter-spacing: 2px;
    font-variant: small-caps;
    font-size: 1.9rem;
}

h2, h3 {
    font-family: "Gravitas One", serif;
    color: #666;
    font-size: 2.7rem;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

section#hist, section#ing, section#dir, section#mod { margin: 0 2rem; }

section#hist p, section#mod p { margin-bottom: 1rem; }

section#ing, section#dir, section#mod { margin-top: 2rem; }

section#ing ul {
    list-style-type: disc;
    padding-left: 3.5rem;
}

section#dir ol {
    list-style-type: decimal;
    padding-left: 3.5rem;
}

h3 {
    font-size: 2.1rem;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

footer {
    display: flex;
    justify-content: space-between;
    margin: 4rem 2rem 0;
}

@media screen and (min-width: 500px) {
    article#img { margin: 0 4rem 4rem; }
    
    section#hist, section#ing, section#dir, section#mod { margin: 0 2.5rem; }
}

@media screen and (min-width: 600px) {
    div#contain { width: 85%; }

    img { box-shadow: 0 0 0 8px #8F705A; }

    header {
        display: grid;
        grid-template-columns: 1fr 0.75fr;
        gap: 2rem;
        margin: 0 2rem;
    }

    article#img {
        margin: 2rem 1rem 0;
        border: 3px solid #DDD;
    }

    article#title {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    section#info {
        display: flex;
        justify-content: space-evenly;
        margin: 5rem 3rem 4rem;
    }
    
    article.details {
        display: flex;
        gap: 1rem;
        margin-bottom: 0;
    }

    section#ing, section#dir, section#mod { margin-top: 3rem; }
}

@media screen and (min-width: 750px) {
    div#contain { width: 80%; }
    
    section#hist, section#ing, section#dir, section#mod { margin: 0 4rem; }
    
    section#ing, section#dir, section#mod { margin-top: 3rem; }
    
    img { box-shadow: 0 0 0 10px #8F705A; }
    
    header { grid-template-columns: 1fr 1fr; }
    
    article#title h1 { font-size: 3.5rem; }
    
    footer { margin: 4rem 5rem 0; }
}

@media screen and (min-width: 1100px) {
    div#contain { 
        width: 75%; 
        padding: 0 0 4rem;
    }

    img { box-shadow: 0 0 0 12px #8F705A; }

    p, section#ing ul li {
        font-size: 1.8rem;
        line-height: 2rem;
    }

    header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin: 0 4rem;
    }

    article#img {
        margin: 7rem 0 0;
        border: 3px solid #DDD;
    }

    article#title {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    article#title h1 {
        font-family: "Gravitas One", serif;
        color: #666;
        font-size: 5rem;
        margin: 0 0 4rem;
        text-align: center;
    }

    section#info {
        display: flex;
        justify-content: space-around;
        margin: 6rem 7rem;
    }

    article.details {
        display: flex;
        gap: 1rem;
    }

    article.details p { font-size: 2.3rem; }

    h2 { font-size: 2.7rem; }

    section#hist, section#ing, section#dir, section#mod { margin: 0 5rem; }

    section#ing, section#dir, section#mod { margin-top: 3rem; }
    
    footer { margin: 5rem 5rem 0; }
}




