
/* CSS Reset Rule */

nav, main, footer {
    margin: 0;
    padding: 0;
    border: 0;
    text-shadow: 1px 1px 2px #344963;
}

body {
    background: rgb(125,168,201);
    background: linear-gradient(rgb(197, 117, 117), rgb(221, 138, 142), rgba(125,168,201,1), rgb(219, 178, 103));    
    margin: 5%;
    margin-top: 60%;
    background-size: cover;
    font-size: 1em;
    color: #fad6d6;
}

#content {
    background: linear-gradient(rgb(52, 73, 99), rgb(97, 66, 81, .8));
    border: 1px solid #fff2f2;
    padding: 4%;
    border-radius: 10px;
    font-family: 'Cabin', sans-serif;
}

img {
    width: 100%;
}

.divider {
    width: 70%;
    margin: 4% auto;
    display: block;
}

#heads img {
    position: absolute;
    width: 100%;
    top: 3%;
    width: 90%;
    left: 5%;
}

h1, h2, h3, h4, a, dt, details summary {
    color: #fff2f2;
}

#heads {
    padding-bottom: 4%;
}

#heads h1 {
    font-family: 'Taviraj', serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 4em;
    margin-bottom: 0;
    line-height: 1em;
}

#heads h3 {
    text-align: center;
    line-height: 1em;
    text-transform: uppercase;
    margin-top: 0;
    font-size: 1.75em;
    font-family: 'Taviraj', serif;
}

#hub {
    display: block;
    margin: 0 auto;
    background:#15212e;
    padding: 5%;
    margin-bottom: 5%;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    width: 50%;
    text-align: center;
    font-size: 1.25em;
    border: 1px solid #fad6d6;
    border-radius: 10px;
}

nav {
    margin: 0 auto;
    display: block;
}

nav summary {
    text-transform: uppercase;
    text-align: center;
    margin: 2% auto;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style: none;
    text-align: center;
    margin: 1% auto;
    padding: 1%;
    width: 40%;
    border-bottom: 1px solid #fad6d6;
}

nav ul li:last-child {
    border-bottom: none;
}

nav a {
    color:#caedff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    text-align: center;
}

nav a:hover {
    color: #fad6d6;
}

h2 {
    font-family: 'Taviraj', serif;
    font-size: 1.75em;
    margin: 2%;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .3em;
}

#basicssub {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 1%;
}

.mobileonly {
    display: grid;
    grid-template-columns: 31% 31% 31%;
    grid-column-gap: 1.5%;
    margin: 0 auto;
    text-align: center;
    font-size: .8em;
    text-transform: lowercase;
}

.mobileonly .gridhead {
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: bolder;
    padding-bottom: 0;
    font-style: normal;
    font-size: 1.15em;
}

.mobileonly p {
    margin-top: 0;
    padding-top: 0;
    font-style: italic;
}

#themesongs {
    background-color: rgb(35, 50, 70, .8);
    color: #fff;
    border: 1px solid #fad6d6;
    border-radius: 8px;
    margin: 0 auto;
    margin-top: 10%;
    width: 80%;
    display: block;
    text-align: center;
    padding: 2%;
}

#themesongs img {
    width: 15%;
    margin: 0 auto;
    background: rgb(35, 50, 70);
    padding: 3%;
    border-radius: 100%;
    border: 1px solid #fad6d6;
    position: relative;
    top: -30px;
}

#themesongs h3 {
    line-height: 1em;
    margin: 0 auto;
    text-transform: uppercase;
    margin-top: -10%;
}

#themesongs p {
    margin: 4% auto;
    line-height: 1em;
    text-transform: uppercase;
    font-size: .9em;
    color: #fad6d6;
}

#themesongs p:last-child {
    margin-bottom: 7%;
}
hr {
    margin: 10% 0;
}

#appearance p {
    text-align: center;
}

#appearance img {
    width: 100%;
}

#personality #personalitytraits {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    text-align: center;
    margin: 0 auto;
}

#personalitytraits div {
    background-color: #000;
    color: #fff;
    margin: 0 2%;
    padding: 0 1%;
    border-radius: 10px;
}

#personalitytraits div h3 {
    text-transform: uppercase;
    text-decoration: underline;
}

#positive {
    border: 1px solid greenyellow;
}

#positive p {
    color: greenyellow;
}

#neutral { 
    border: 1px solid yellow;
}

#neutral p { 
    color: yellow;
}

#negative {
    border: 1px solid red;
}

#negative p { 
    color: red;
}

#likesanddislikes {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 5%;
}

#personality dl {
    text-align: left;
}

#personality dt {
    text-transform: uppercase;
}

#personality p {
    text-align: center;
    padding: 0 3%;
}

#summoning h2 {
    margin-bottom: 0;
    line-height: 1em;
}

#summoning h3 {
    text-transform: uppercase;
    display: grid;
    grid-template-columns: auto auto;
    margin: 0 auto;
    font-size: 1em;
    width: 100%;
}

#summoning h3 p:first-child {
    text-align: left;
    padding-right: 5%;
}

#summoning h3 p:last-child {
    text-align: right;
    padding-left: 5%;
}

#summoning dt {
    text-transform: uppercase;
    border-bottom: 1px solid #fad6d6;
}

dd {
    margin: 0 3%;
    text-align: left;
}

#summoning dd {
    margin-bottom: 5%;
}

#summoning dd:last-child {
    margin-bottom: 0;
}

#relationships h2 {
    font-size: 1.5em;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#relationships dt {
    text-transform: uppercase;
    border-bottom: 1px solid #fad6d6;
}

#relationships dd {
    margin-bottom: 5%;
}

#relationships dd:last-child {
    margin-bottom: 0;
}

#relationships h3 {
    font-variant: small-caps;
    font-size: 1.5em;
}

#history summary {
    text-transform: uppercase;
}

details p {
    position: relative;
    left: 10%;
    text-align: justify;
    font-size: 1em;
    width: 85%;
}

footer p {
    color: #fff;
    font-family: 'Cabin', sans-serif;
    font-size: 1em;
    line-height: 1em;
    text-align:center;
}

@media screen and (min-width: 600px) {

    body {
        margin: 10%;
        margin-top: 50%;
    }

    #heads img {
        width: 70%;
        left: 15%;
    }

    #hub {
        width: 30%;
        font-size: 1.25em;
    }

    #heads summary, #history summary {
        font-size: 1.25em;
    }

    .mobileonly {
        font-size: 1.15em;
    }

    #themesongs {
        width: 60%;
        margin-top: 7%;
        font-size: 1.15em;
    }

    #themesongs img {
        top: -40px;
    }

    #themesongs p {
        font-size: 1em;
    }

    hr {
        margin: 4%;
    }

    #personality dd, #personality dt {
        margin: auto;
        text-align: center;
    }

    #heads h1 {
        font-size: 4em;
    }

    #heads li {
        font-size: 1.5em;
    }

    h2 {
        font-size: 2em;
    }

    #relationships h2 {
        font-size: 2em;
    }
}

@media screen and (min-width:1000px) {
    body {
        font-size: 1.25em;
    }

    #heads h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 1.75em;
    }

    #heads li a {
        font-size: 1.15em;
    }

    #hub, #heads details summary {
        font-size: 1.5em;
    }

    #hub {
        width: 40%;
    }

    #basicssub {
        font-size: 1.25em;
    }

    #themesongs img {
        top: -50px;
    }

    #themesongs p {
        font-size: 1.25em;
    }

    p, dl {
        font-size: 1.5em;
    }

    .mobileonly p {
        font-size: 1.25em;
    }

    .gridhead {
        font-size: 1.75em;
    }

}

@media screen and (min-width:1200px) {

    body {
        margin: 5% 30%;
        margin-top: 28%;
        background-image: url(../images/miyakobackground.jpeg);
        background-size: cover;
        background-attachment: fixed;
    }

    .divider {
        width: 50%;
    }

    #heads img {
        width: 40%;
        left: 30%;
    }

    #basics {
        width: 80%;
        margin: 0 auto;
    }

    #basicssub p {
        font-size: 1em;
    }

    .mobileonly {
        font-size: .8em;
    }

    #themesongs h3 {
        font-size: 1.15em;
        margin-top: -12%;
    }

    #themesongs p {
        font-size: .8em;
    }

    #heads h1 {
        font-size: 5em;
    }

    #heads a {
        width: 25%;
        padding: 2%;
        margin-bottom: 0;
    }

    #heads {
        margin-bottom: 2%;
        padding-bottom: 2%;
    }

    #heads details summary {
        font-size: 1em;
    }

    #hub {
        font-size: 1em;
    }

    nav ul li {
        width: 25%;
    }

    #heads ul li {
        font-size: .9em;
    }

    h2 {
        font-size: 2.5em;
        margin: 1% auto;
    }

    #appearance p {
        font-size: 1em;
        margin: 2% auto;
    }

    #appearance img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    #personalitytraits p {
        font-size: .9em;
    }

    #personalitytraits h3 {
        font-size: 1.15em;
        margin: 2% auto;
        padding: 5%;
        line-height: 1em;
    }
    
    #likesanddislikes dl {
        font-size: 1em;
    }

    #personality p {
        font-size: 1em;
    }

    #summoning h3 {
        font-size: .75em;
        line-height: 1em;
        width: 70%;
        margin: 0 auto;
    }

    #summoning dl {
        font-size: 1em;
    }

    #relationships dl {
        font-size: 1em;
    }

    #history summary {
        font-size: 1em;
    }

    #historytext p {
        font-size: 1em;
    }
}