
/* CSS Reset Rule */

nav, main, footer {
    margin: 0;
    padding: 0;
    border: 0;
    text-shadow: 1px 1px 2px #000;
}

body {
    background: rgb(116,128,138);
    background: linear-gradient(0deg, rgba(116,128,138,1), rgba(81,87,92,1), rgba(68,72,75,1), rgba(38,43,46,1) 48%, rgba(0,0,0,1));
    margin: 5%;
    background-size: cover;
    font-size: 1em;
    margin-top: 30%;
}

img {
    width: 100%;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
}

.divider {
    border: none;
    width: 100%;
    margin: 2% auto;
}

h2, h1, h3, dt {
    color: #fff;
}

.noborder {
    border: none;
}

#heads img {
    width: 70%;
    border-radius: 100%;
    display: block;
    position: absolute;
    top: 2%;
    left: 15%;
}


#content {
    background: linear-gradient(rgb(23, 23, 23, .8), rgb(0, 0, 0, .8));
    color: #dbdbdb;
    border: 1px solid #e6e6e6;
    padding: 4%;
    padding-top: 50%;
    border-radius: 10px;
    font-family: 'Cabin', sans-serif;
}

#heads {
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 4%;
}

#heads h1 {
    font-family: 'Taviraj', serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 3em;
    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:#000;
    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 #e6e6e6;
    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-bottom: 1%;
    width: 40%;
    border-bottom: 1px solid #e6e6e6;
}

nav ul li:last-child {
    border-bottom: none;
}

nav a {
    color:#e6e6e6;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    text-align: center;
}

nav a:hover {
    color: #fff;
}

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(0, 0, 0, .8);
    color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin: 0 auto;
    margin-top: 10%;
    width: 80%;
    display: block;
    padding: 2%;
    text-align: center;
}

#themesongs img {
    width: 15%;
    margin: 0 auto;
    background: #000;
    padding: 3%;
    border-radius: 100%;
    border: 1px solid #e6e6e6;
    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: #e6e6e6;
}

#themesongs p:last-child {
    margin-bottom: 7%;
}

hr {
    margin: 10% 0;
}

#appearance p {
    text-align: center;
}

#appearance img {
    width: 100%;
    display: block;
    margin: 0 auto;
    border: none;
}

#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 #e6e6e6;
}

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 h3 {
    font-variant: small-caps;
}

#relationships dt {
    text-transform: uppercase;
    border-bottom: 1px solid #e6e6e6;
}


#relationships dd {
    margin-bottom: 5%;
}

#relationships dd:last-child {
    margin-bottom: 0;
}

#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: 25%;
        font-size: 1.25em;
    }

    #content {
        padding-top: 33%;
    }

    #heads img {
        width: 50%;
        left: 25%;
    }

    .mobileonly {
        font-size: 1.15em;
    }

    #themesongs {
        width: 60%;
        margin-top: 7%;
        font-size: 1.15em;
    }

    #themesongs img {
        top: -40px;
    }

    #themesongs p {
        font-size: .9em;
    }

    hr {
        margin: 4%;
    }

    #appearance img {
        width: 70%;
    }

    #personality dd, #personality dt {
        margin: auto;
        text-align: center;
    }

    h2 {
        font-size: 2em;
    }

    #relationships h2 {
        font-size: 2em;
    }

    #relationships img, #summoning img, #history img {
        display: block;
        margin: 0 auto;
        width: 70%;
    }
}

@media screen and (min-width:1000px) {
    body {
        font-size: 1.25em;
    }

    h2 {
        font-size: 3em;
    }

    #heads h1 {
        font-size: 5em;
    }

    #heads details summary, #heads details a {
        font-size: 1.5em;
    }

    #heads a {
        font-size: 2em;
    }

    #themesongs img {
        top: -50px;
    }

    #themesongs p {
        font-size: 1.25em;
    }

    h3 {
        font-size: 1.75em;
    }

    #basicssub {
        font-size: 1.25em;
    }

    p, dl, p {
        font-size: 1.5em;
    }

    dd {
        text-align: justify;
    }

    .mobileonly p {
        font-size: 1.25em;
    }

    .gridhead {
        font-size: 1.75em;
    }

    #history summary {
        font-size: 1.5em;
    }

    #history p {
        font-size: 1.5em;
    }
}

@media screen and (min-width:1200px) {

    body {
        margin: 5% 30%;
        margin-top: 10%;
        font-size: 1.15em;
        background-image: url(../images/cysinebackgrounddesktop.jpg);
        background-attachment: fixed;
    }

    #heads details summary {
        font-size: 1em;
    }

    #content {
        padding-top: 25%;
    }

    #heads img {
        width: 20%;
        left: 40%;
    }

    #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: .9em;
    }

    p {
        font-size: 1em;
    }

    #heads h1 {
        font-size: 4em;
    }

    #heads a {
        width: 25%;
        padding: 2%;
        margin-bottom: 0;
        font-size: 1.25em;
    }

    #heads {
        margin-bottom: 2%;
        padding-bottom: 2%;
    }


    nav ul li {
        width: 25%;
    }

    #heads nav details a {
        font-size: 1.25em;
    }

    h2 {
        font-size: 2.5em;
        margin: 1% auto;
    }

    #appearance p {
        font-size: 1em;
    }

    #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;
    }
    
    dd {
        text-align: justify;
    }

    #personality p {
        font-size: 1em;
    }

    #likesanddislikes {
        margin: 1% auto;
        width: 80%;
    }

    #likesanddislikes dl {
        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: 1.15em;
    }

    #history details p {
        font-size: 1em;
    }
}