
body {
    font-family: "Voltaire", serif;
    background-image: url("../images/faustabackgroundmobile.svg");
}

#heads, #basics, #appearance, #personality, #familiar, #relationships, #history, #culture {
    background-color: #330213;
    color: #F7F3DC;
}

button, h1, h2, h3, nav a, dt, #personalitytraits li:first-child {
    font-family: "Voltaire", Arial, Helvetica, sans-serif;
}

#heads img {
    background-color: #140500;
}

#culture img, #history img, #familiar img {
    border: 2px solid #140500;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #140500;
}

::-webkit-scrollbar-thumb {
    background-color: #E69C60;
    border: 1px solid #330213;
}


.quote {
    text-align: center;
    width: 60%;
    margin: 4% auto;
    padding: 3%; 
    font-weight: bolder;
    font-size: 12pt;
    color: #F7F3DC;
    background-color: #140500;
    border-radius: 8px;
}

.quote p {
    display: none;
}

.twocolumns {
    display: grid;
    grid-template-columns: auto auto;
    text-align: center;
}

.threecolumns {
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
}

p, .traitdescription, dd {
    color: #F0E0B4;
}

img {
    max-width: 100%;
}

h3, h2 {
    text-transform: uppercase;
}

h2 {
    text-align: center;
    font-size: 2em;
}

#name p {
    display: none;
}

#profilethemes h3 {
    font-size: 1em;
    text-align: center;
    margin: 5% auto;
    margin-top: -3%;
}

#profilethemes {
    margin-top: 15%;
    background-color: #140500;
    border: 1px solid #330213;
}

#profilethemes img {
    background-color: #140500;
    border: 2px solid #330213;
    width: 20px;
    padding: 10px;
    border-radius: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    top: -20px;
}

iframe {
    width: 116%;
    height: 10%;
    border: none;
    margin: 0 -8%;
    border-radius: 8px;
}

#hubbutton {
    color:#F7F3DC;
    text-transform: uppercase;
    text-align: center;
    background-color: #140500;
    padding: 2%;
    display: block;
    width: 60%;
    margin: 10% auto;
    text-decoration: none;
    text-align: center;
    font-size: 18pt;
}

#heads {
    padding: 8%;
    margin: 0 7%;
    margin-top: 7%;
}

#name {
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
}

#name h1 {
    font-size: 40pt;
    margin: 5% auto;
    line-height: .6em;
}

#name h2 {
    font-size: 20pt;
    margin: 0 auto;
    color: #F0E0B4;
}

#name p {
    color: #E69C60;
}

nav ul {
    padding: 0;
    width: 70%;
    display: block;
    margin: 0 auto;
    margin-top: 7%;
}

nav li {
    list-style: none;
    padding: 3%;
    margin: 3%;
    text-align: center;
    border-bottom: 1px solid #F0E0B4;
}

nav li:last-child {
    border-bottom: none;
}

nav li a {
    color: #F0E0B4;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.1em;
}

#basics {
    padding: 5%;
}

#nameinfo p:first-of-type {
    color: #F0E0B4;
    padding: 0 7%;
    text-align: center;
    margin-bottom: 5%;
}

#nameinfo p {
    padding: 0;
    margin: 0;
}

#nameinfo p em {
    font-style: normal;
    color: #F7F3DC;
}

#nameinfo p:nth-child(2n + 1):not(:first-of-type) {
    padding-left: 10%;
    font-style: italic;
    color: #E69C60;
}

#basics h3 {
    text-align: center;
}

.basictraits p {
    padding: 0;
    padding-left: 7%;
    margin: 0;
}

.basictraits em {
    font-style: normal;
    color: #F7F3DC;
}

#themesongs {
    background-color: #140500;
    color: #F0E0B4;
    margin-top: 15%;
    padding: 5%;
}

#musicicon {
    width: 20px;
    margin: 0 auto;
    display: block;
    background: #140500;
    border: 2px solid #330213;
    border-radius: 100%;
    padding: 10px;
    position: relative;
    top: -35px;
}

#themesongs h3 {
    text-align: center;
    margin-top: -8%;
}

#themesongs p {
    padding: 2%;
    text-align: center;
}

#appearance {
    padding: 5%;
    margin: 0 2%;
}

#appearance img {
    display: block;
    margin: 0 auto;
}

#appearance #noclothes {
    display: none;
}

#appearance .twocolumns {
    display: block;
    text-align: justify;
}


#inventory div h3:nth-child(2) {
    font-style: italic;
    text-transform: capitalize;
    font-size: 15pt;
}

#appearance .twocolumns div p {
    padding: 0 4%;
} 

#appearance button {
    background-color: #140500;
    padding: 5%;
    font-size: 14pt;
    text-transform: uppercase;
    border: none;
    margin: 0 auto;
    display: block;
    color: #F7F3DC;
    cursor: pointer;
}

#appearance .threecolumns {
    display: block;
    text-align: justify;
}

#appearance .threecolumns p {
    margin-top: 1%;
    padding-left: 10%;
}

#appearance .threecolumns h3 {
    line-height: 1em;
    margin-bottom: 0;
    border-bottom: 1px solid #F0E0B4;
    font-size: 1em;
}

button#inventorybutton {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    padding: 1%;
}

button#inventorybutton img {
    height: 60px;
    width: 60px;
}


#appearance #inventory {
    height: 300px;
    overflow-y: scroll;
    scrollbar-color: #F7F3DC #330213;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

#inventory div {
    background-color: #140500;
    padding: 5%;
    margin: 4% 0;
}

#inventory h3 {
    margin-top: 0;
    padding-top: 0;
}


#inventory p {
    color: #F0E0B4;
}

#inventory h3 {
    margin-top: 0;
}

#personality {
    padding: 2%;
}

#personalitytraits ul {
    list-style-type: none;
    padding-left: 1%;
}

#personalitytraits ul li:first-child, #personality .threecolumns h3 {
    padding-left: 0;
    text-transform: uppercase;
    font-size: 1.15em;
    margin: 2% 0;
    color: #F7F3DC;
    border-bottom: 1px solid #F0E0B4;
    font-weight: bold;
}

#personalitytraits ul li {
    padding-left: 7%;
    color: #F0E0B4;
}

#personalitytraits ul  .traitdescription {
    padding-left: 15%;
    font-style: italic;
    font-size: 1em;
    padding-right: 3%;
    text-align: justify;
    color: #E69C60;
}

#personalitytraits ul li:last-child {
    margin-bottom: 8%;
}

#personality .threecolumns {
    display: block;
}

#personality .threecolumns * {
    text-align: justify;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
}

#personality .threecolumns div ul {
    padding-left: 5%;
    margin-left: 0;
    width: 100%;
}

#personality .threecolumns li {
    padding: 0;
    list-style-type: circle;
    margin-right: 0;
    text-align: left;
    width: 100%;
}

#familiar img, #history img {
    border: 1px solid #140500;
}

#familiar {
    padding: 2%;
}

#familiar h3 {
    font-size: 1.25em;
}

#familiar .twocolumns {
    display: block;
    text-align: justify;
    padding: 0 5%;
}

#relationships {
    padding: 2% 5%;
    padding-bottom: 5%;
}

#relationships .twocolumns {
    display: block;
    padding-left: 10%;
    padding-right: 4%;
}

#relationships .twocolumns * {
    text-align: justify;
    margin: 2% auto;
}

#relationships .twocolumns .character {
    margin-bottom: 5%;
}

.character dt {
    text-transform: uppercase;
    border-bottom: 1px solid #F0E0B4;
}

.character dd {
    padding-left: 5%;
    color: #F0E0B4;
}

.character dd:nth-child(3) {
    padding-left: 0;
    text-transform: capitalize;
    font-style: italic;
    font-weight: bold;
}

#relationships .twocolumns .character:last-child {
    margin-bottom: 15%;
}

#culture {
    margin: 0 2%;
    padding: 5%;
    text-align: justify;
}

#culture h3 {
    text-align: center;
    font-size: 18pt;
}

#culture p {
    color: #F0E0B4;
}

#culture p a {
    color: #F7F3DC;
}

#history {
    margin: 0 2%;
    padding: 2% 5%;
}

#history img {
    width: 100%;
}


#history .twocolumns {
    display: block;
    text-align: justify;
    padding: 0 5%;
}

footer {
    padding: 5%;
}

footer p {
    color: #140500;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    color: white;

}

@media screen and (min-width: 600px) {

    body {
        font-size: 1.15em;
    }

    #heads {
        padding: 3%;
        margin-top: 10%;
    }

    #heads img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    #hubbutton {
        width: 50%;
        font-size: 20pt;
    }

    #heads h1 {
        font-size: 3em;
    }

    #heads h2 {
        font-size: 2em;
    }

    dt, h3 {
        font-size: 1.15em;
    }

    nav {
        width: 100%;
        margin: 0 auto;
    }

    nav ul {
        width: 40%;
        margin-top: 5%;
    }

    nav li {
        margin: 1%;
        padding: 3%;
        font-size: 1.4em;
    }

    #profilethemes {
        margin-top: 10%;
    }

    #profilethemes img, #themesongs img {
        width: 40px;
        height: 40px;
    }

    #profilethemes img {
        top: -25px;
    }

    #themesongs img {
        top: -65px;
    }

    #profilethemes {
        width: 80%;
        display: block;
        margin: 0 auto;
        margin-top: 5%;
    }

    #profilethemes h3 {
        margin-top: -3%;
        font-size: 1.75em;
    }

    iframe {
        display: block;
        height: 10%;
        width: 90%;
        border: none;
        margin: 0 auto;
        margin-bottom: -5%;
    }

    #themesongs {
        width: 80%;
        display: block;
        margin: 8% auto 1%;
    }

    #nameinfo p:first-of-type, #nameinfo p:nth-child(2n + 2):not(:first-of-type) {
        padding-left: 4%;
    }

    .basictraits {
        columns: 3;
        margin-top: 4%;
    }

    .basictraits * {
        margin: 0;
        padding: 0;
    }

    .basictraits p {
        padding-top: 0;
        margin-top: 0;
    }

    #appearance {
        margin: 0 5%;
    }

    #appearance h3 {
        margin-bottom: 0;
    }

    #appearance .twocolumns {
        columns: 2;
        margin: auto;
        column-gap: 3%;
        margin-bottom: 5%;
    }

    #appearance button {
        font-size: 1.5em;
    }

    #appearance .twocolumns * {
        margin-top: 0;
    }

    #appearance .threecolumns {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-column-gap: 2%;
        text-align: center;
    }

    #appearance .threecolumns p {
        padding-left: 1%;
    }

    #personalitytraits {
        display: grid;
        grid-template-columns: auto auto;
    }

    #personalitytraits ul .traitdescription {
        padding-left: 10%;
    }

    #personality .threecolumns {
        width: 100%;
        display: grid;
        grid-template-columns: 33% 33% 33%;
    }

    #personality .threecolumns h3, #personalitytraits ul li:first-child {
        font-size: 1.25em;
    }

    #familiar .twocolumns {
        columns: 2;
        column-gap: 5%;
    }

    #relationships .twocolumns {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 5%;
    }

    #history .twocolumns {
        columns: 2;
        column-gap: 5%;
        margin-top: 5%;
        padding: 0;
        margin-bottom: 5%;
    }

    #history .twocolumns * {
        margin: 0;
        padding: 0;
    }

    #history .twocolumns p {
        padding-bottom: 8%;
    }

}

@media screen and (min-width: 1000px) {

    body {
        font-size: 1.35em;
    }

    h2 {
        font-size: 3em;
    }

    h3, dt {
        font-size: 1.5em;
    }

    p, dd, li {
        font-size: 1.25em;
    }

    img {
        display: block;
        margin: 0 auto;
    }

    #profilethemes {
        display: none;
    }

    #themesongs {
        width: 60%;
    }

    #basics {
        margin: 0 5%;
    }

    #relationships div dt {
        font-size: 18pt;
    }

    #appearance {
        margin: 0 5%;
    }

    #appearance img {
        width: 90%;
    }
}

@media screen and (min-width: 1200px) {

    body {
        font-size: 1em;
        background-image: url("../images/faustabackground.jpg");
        background-attachment: fixed;
        background-size: cover;
    }

    p, li, dd {
        font-size: 1em;
    }

    #heads {
        margin: 5% 20%;
        margin-bottom: 2%;
        font-size: 1.25em;
    }

    #heading {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 5%;
        width: 90%;
        margin: 0 auto;
    }

    #hubbutton {
        width: 30%;
        margin: 7% auto;
    }

    #hubbutton:hover {
        animation-name: hubbutton;
        animation-duration: .5s;
        animation-fill-mode: forwards;
    }

    @keyframes hubbutton {
        from {
            scale: 1;
        } 

        to {
            scale: 1.05;
        }
    }

    #heading img {
        width: 100%;
    }

    #name {
        margin: auto;
    }

    #heads h1 {
        margin-bottom: 10%;
        font-size: 4em;
    }

    #name p {
        display: block;
        position: relative;
        top: 50px;
        text-transform: none;
        font-style: italic;
    }

    nav {
        margin: 0 auto;
        width: 90%;
    }

    nav ul {
        width: 100%;
        margin: 3% auto;
    }

    nav li {
        display: inline-block;
        padding: 1.5%;
        margin: 1%;
        font-size: .9em;
        border-bottom: none;
        background-color: #140500;
    }

    nav li a:hover {
        color: #F7F3DC;
    }

    #profilethemes {
        display: block;
        width: 60%;
    }

    #profilethemes h3 {
        margin-top: 0%;
        display: none;
    }

    .quote {
        margin: 3% auto;
        width: 25%;
        padding: 1%;
    }

    #basics {
        margin: 2% 20%;
        padding: 2%;
    }

    #nameinfo {
        width: 50%;
        margin: 0 auto;
    }

    .basictraits {
        width: 70%;
        display: block;
        margin: 0 auto;
        margin-top: 4%;
    }

    #themesongs {
        width: 40%;
        padding: 3%;
    }

    #themesongs img {
        top: -65px;
    }

    #themesongs h3 {
        margin-top: -12%;
    }

    #themesongs p {
        margin-bottom: 1%;
    }

    #appearance {
        margin: 0 20%;
        padding: 2% 5%;
    }

    #appearance .twocolumns {
        width: 90%;
        margin: 0 auto;
    }

    #appearance img {
        display: block;
        margin: 5% auto;
        width: 80%;
    }

    #appearance button {
        padding: 2%;
        font-size: 1.25em;
    }

    #appearance .threecolumns {
        width: 80%;
        margin: 0 auto;
        grid-column-gap: 7%;
    }

    #appearance .threecolumns h3 {
        font-size: 1.15em;
        padding-bottom: 1.5%;
    }

    #appearance .threecolumns p {
        text-align: justify;
        padding-left: 1%;
    }

    #inventory {
        display: grid;
        margin: 0 auto;
        width: 50%;
        overflow-y: scroll;
        scrollbar-width: thin;
        scrollbar-color: #F7F3DC #330213;
        padding: 3%;
    }

    #inventory div {
        margin: 2% auto;

    }

    #inventory div p {
        text-align: justify;
    }

    #personality {
        margin: 0 12%;
    }

    #personalitytraits {
        grid-template-columns: auto auto auto;
        grid-gap: 3%;
        width: 90%;
        margin: 0 auto;
    }

    #personalitytraits ul li:first-of-type, #personality .threecolumns h3 {
        font-size: 18pt;
    }

    ul .traitdescription {
        padding-left: 13%;
    }

    #personality .threecolumns {
        width: 90%;
        margin: 0 auto;
    }

    #familiar {
        margin: 0 15%;
    }

    #familiar img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }

    #familiar .twocolumns {
        width: 90%;
        column-gap: 3%;
        margin: 2% auto;
    }

    #relationships {
        margin: 0 25%;
        padding: 2%;
    }

    #relationships h3 {
        text-align: center;
    }

    #relationships dt {
        font-size: 18pt;
    }

    #culture {
        margin: 0 20%;
        padding: 2%;
    }

    #culture section {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    #history {
        margin: 0 15%;
    }

    #history div {
        border-radius: 8px;
        overflow: hidden;
        background-color: #140500;
        margin: 5% auto;
        padding: 1%;
        width: 90%;
    }

    #history section {
        text-align: justify;
        overflow-y: scroll;
        height: 500px;
        scrollbar-width: thin;
        scrollbar-color: #F7F3DC  #140500;
        padding: 3%;
    }

    footer p {
        width: 50%;
    }
    
}