
body {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    background-image: url(../images/irisbackgroundmobile.svg);
}

::-webkit-scrollbar {
    background: none;
    background: #00254d;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 8px;
}


.overlay {
    display: none;
}

.container {
    background-color: #00254d;
    border: 1px solid #000;
    color: #fff;
}

h1, h2, h3, .quote {
    font-family: "Josefin Sans", sans-serif;
}

.quote {
    text-align: center;
    display: block;
    margin: 4% auto;
    padding: 3%; 
    font-weight: bolder;
    font-size: 1.15em;
    text-transform: uppercase;
}

.quote p {
    color: #fff;
    text-shadow: 0px 0px 5px #00254d;
}

#personality li {
    color: #c1d5e3;
}

.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: #c1d5e3;
}

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: #000;
    border: 1px solid #00254d;
}

#profilethemes img {
    background-color: #000;
    border: 2px solid #00254d;
    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;
    margin-bottom: -20%;
}

#heads {
    padding: 8%;
    margin: 0 7%;
    margin-top: 7%;
}

#name {
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
}

#name h1 {
    font-size: 2em;
    margin: 5% auto;
}

#name h2 {
    font-size: 1em;
    margin: 0 auto;
}

nav ul {
    padding: 0;
    width: 70%;
    display: block;
    margin: 0 auto;
    margin-top: 7%;
}

nav li {
    list-style: none;
    padding: 3%;
    margin: 3% auto;
    text-align: center;
    border-bottom: 1px solid #c1d5e3;
}

nav li:last-child {
    border-bottom: none;
}

nav li a {
    color: #c1d5e3;
    text-transform: uppercase;
    text-decoration: none;
}

#hubbbutton {
    display: block;
    margin: 10% auto;
}

#hubbutton a {
    color: #fff;
    background-color: #000;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 5%;
    margin: 4% auto;
    text-align: center;
    width: 50%;
}

#basics {
    margin: 2%;
    padding: 4%;
}

#basics p {
    padding: 0;
    padding-left: 8%;
    margin: 1%;
}

#themesongs {
    background-color: #000;
    color: #c1d5e3;
    margin-top: 15%;
    padding: 5%;
}

#musicicon {
    width: 20px;
    margin: 0 auto;
    display: block;
    background: #000;
    border: 2px solid #00254d;
    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 .twocolumns {
    display: block;
    text-align: justify;
}

#appearance .threecolumns {
    display: block;
    text-align: justify;
    display: none;
}

#appearance h2:nth-of-type(2) {
    display: none;
}

#appearance .threecolumns p {
    margin-top: 1%;
    padding-left: 10%;
}

#appearance .threecolumns h3 {
    line-height: 1em;
    margin-bottom: 0;
    border-bottom: 1px solid #c1d5e3;
    font-size: 1em;
}

#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: #fff;
    border-bottom: 1px solid #c1d5e3;
    font-weight: bold;
}

#personalitytraits ul li {
    padding-left: 7%;
    padding-top: 2%;
    text-transform: capitalize;
}

#personalitytraits ul  .traitdescription {
    padding-left: 15%;
    font-style: italic;
    font-size: .9em;
    padding-right: 3%;
    text-align: justify;
    display: none;
}

#personalitytraits ul li:last-child {
    margin-bottom: 8%;
}

#personality .threecolumns {
    display: block;
}

#personality .threecolumns * {
    text-align: justify;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
    text-transform: lowercase;
}

#personality .threecolumns *::first-letter {
    text-transform: uppercase;
}

#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 #000;
}

#familiar {
    padding: 2%;
}

#familiar h3 {
    font-size: 1em;
}

#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 #c1d5e3;
}

.character dd {
    padding-left: 5%;
    color: #c1d5e3;
}

.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%;
}

#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: #fff;
    margin: 0 auto;
    text-align: center;
}

@media screen and (min-width: 600px) {

    body {
        font-size: 1.15em;
    }

    #heads {
        padding: 3%;
        margin-top: 10%;
    }

    #hubbutton a {
        width: 30%;
        font-size: 1.5em;
    }

    #heads img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    #heads h1 {
        font-size: 3em;
    }

    #heads h2 {
        font-size: 2em;
    }

    nav {
        width: 100%;
        margin: 0 auto;
    }

    nav ul {
        width: 40%;
        margin-top: 5%;
    }

    nav li {
        margin: 1%;
        padding: 3%;
        font-size: 1.25em;
    }

    #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%;
    }

    #appearance h3 {
        margin-bottom: 0;
    }

    #appearance .twocolumns {
        columns: 2;
        margin: auto;
        column-gap: 3%;
        margin-bottom: 5%;
    }

    #appearance .twocolumns * {
        margin-top: 0;
    }

    #appearance .threecolumns {
        display: none;
    }

    #appearance .threecolumns p {
        padding-left: 1%;
    }

    #personalitytraits {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-column-gap: 4%;
    }

    #personalitytraits ul .traitdescription {
        padding-left: 10%;
    }

    #personality .threecolumns {
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 30% 30% 30%;
    }

    #personality .threecolumns h3, #personalitytraits ul li:first-child {
        font-size: 1.25em;
    }

    #familiar .twocolumns {
        columns: 2;
        column-gap: 5%;
        margin-top: 4%;
    }

    #familiar .twocolumns * {
        padding-top: 0;
        margin-top: 0;
    }

    #relationships .twocolumns {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 5%;
    }

    #history .twocolumns {
        margin-top: 5%;
        padding: 3%;
        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;
    }

    #profilethemes {
        display: none;
    }

    #themesongs {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {

    body {
        font-size: 1em;
        background-image: url("../images/irisbackground.jpg");
        background-attachment: fixed;
    }

    .overlay {
        position: sticky;
        top: 0;
        opacity: .2;
        pointer-events: none;
        height: 1000px;
        display: block;
        z-index: 5;
    }    

    #heads {
        margin: 5% 20%;
        margin-bottom: 2%;
        font-size: 1.25em;
        margin-top: -50%;
    }

    #hubbutton a {
        font-size: 1em;
        padding: 2%;
        width: 20%;
        margin-bottom: 0;
    }

    #heading {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 5%;
        width: 90%;
        margin: 0 auto;
    }

    #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: 60%;
    }

    nav ul {
        width: 100%;
        margin: 3% auto;
    }

    nav li {
        display: inline-block;
        padding: 1.5%;
        margin: 1%;
        font-size: .8em;
        border-bottom: none;
        background-color: #000;
    }

    nav li a:hover {
        color: #fff;
    }

    #profilethemes {
        display: block;
        width: 60%;
    }

    #profilethemes h3 {
        margin-top: 0%;
        display: none;
    }

    .quote {
        margin: 3% auto;
        width: 50%;
        padding: 1%;
    }

    #basics {
        margin: 2% 20%;
        padding: 2%;
    }

    .basictraits {
        columns: 3;
        width: 90%;
        margin: 0 auto;
        column-gap: 0;
    }

    .basictraits * {
        margin-top: 0;
        padding-top: 0;
        width: max-content;
    }


    #themesongs {
        width: 40%;
        padding: 3%;
    }

    #themesongs img {
        top: -65px;
    }

    #themesongs h3 {
        margin-top: -12%;
    }

    #themesongs p {
        margin-bottom: 1%;
    }

    #appearance {
        margin: 0 15%;
        padding: 2% 5%;
    }

    #appearance .twocolumns {
        width: 80%;
        margin: 0 auto;
    }

    #appearance img {
        display: block;
        margin: 5% auto;
    }

    #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%;
    }

    #personality {
        margin: 0 25%;
    }

    #personalitytraits {
        grid-template-columns: auto auto auto;
        grid-gap: 3%;
        width: 70%;
        margin: 0 auto;
    }

    ul .traitdescription {
        padding-left: 13%;
    }

    #personality .threecolumns {
        width: 80%;
        margin: 0 auto;
        grid-column-gap: 2%;
        grid-gap: 0;
    }

    #familiar {
        margin: 0 15%;
    }

    #familiar img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }

    #familiar .twocolumns {
        width: 80%;
        margin: 3% auto;
    }

    #familiar p {
        margin: 2% auto;
        width: 100%;
    }

    #relationships {
        margin: 0 25%;
        padding: 2%;
    }

    #relationships h3 {
        text-align: center;
    }

    #history {
        margin: 0 15%;
    }

    #history .twocolumns {
        width: 90%;
        margin: 5% auto;
        height: 500px;
        overflow: scroll;
        scrollbar-color: #fff #00254d; 
        scrollbar-width: thin;
        overflow-x: hidden;
    }

    #history .twocolumns p {
        padding-bottom: 4%;
    }

    footer p {
        width: 50%;
    }
    
}