
/* CSS Reset Rule */

nav, main, footer, #heads {
    margin: 0;
    padding: 0;
    border: 0;
    text-shadow: 0px 0px 3px rgb(0, 0, 0);
}

body {
    background: rgb(255,226,0);
    background: linear-gradient(0deg, rgb(255, 94, 0) 0%, rgb(212, 78, 0) 15%, rgb(192, 70, 0) 25%, rgb(145, 46, 0) 75%, rgb(54, 11, 0) 100%);
    background-size: cover;
    font-size: 1em;
    margin-top: 60%;
}

#content {
    padding: 4%;
    border-radius: 10px;
    font-family: 'Cabin', sans-serif;
    background: linear-gradient(rgb(54, 8, 0), rgba(36, 8, 0, 0.9));
    border: 1px solid #ffd000;
    color: #ffe880;
}

h1, h2, h3, h4, dt, details summary {
    color: #fff4c0;
    text-shadow: 0px 0px 5px rgb(255,226,0);

}


h1 {
    line-height: 1em;
    margin-top: 2%;
}

#heads img {
    width: 100%;
    position: absolute;
    top: -5%;
    left: 0;
    z-index: -3;
}

#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;
    font-weight: bold;
}

#heads h3 {
    text-align: center;
    line-height: 1em;
    text-transform: uppercase;
    margin-top: 0;
    font-size: 1.25em;
    font-family: 'Taviraj', serif;
    font-weight: bold;
}

#hub {
    display: block;
    margin: 0 auto;
    background: #240000;
    padding: 5%;
    margin-bottom: 2%;
    text-transform: uppercase;
    color: #fff4c0;
    text-decoration: none;
    width: 50%;
    text-align: center;
    font-size: 1.25em;
    border: 1px solid #ffd000;
    border-radius: 10px;
}

nav {
    margin: 0 auto;
    display: block;
}

nav summary {
    text-transform: uppercase;
    text-align: center;
    margin: 2% auto;
    font-size: 1.25em;
    line-height: 1em;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style: none;
    text-align: center;
    margin: 1% auto;
    width: 40%;
    border-bottom: 1px solid #ffe880;
    padding-bottom: 1%;
}

nav ul li:last-child {
    border-bottom: none;
}

nav ul li a:hover {
    color: #fff;
}

nav a {
    color:#fff4c0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    text-align: center;
}

h2 {
    font-family: 'Taviraj', serif;
    font-size: 1.75em;
    margin: 2%;
    text-transform: uppercase;
    text-align: center;
}

#basicssub {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 1%;
    line-height: 1em;
    font-size: .9em;
}

.grid {
    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;
}

.grid .gridhead {
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: bolder;
    padding-bottom: 0;
    font-style: normal;
    font-size: .9em;
}

.grid p {
    margin-top: 0;
    padding-top: 0;
    font-style:italic;
}

img {
    width: 100%;
}

#basics {
    line-height: normal;
    margin: 0 auto;
    font-size: 1em;
    text-align: center;
}

#themesongs {
    background-color: rgb(36, 0, 0, .8);
    color: #ffe880;
    text-align: center;
    border: 1px solid #ffd000;
    border-radius: 8px;
    margin: 0 auto;
    margin-top: 10%;
    width: 80%;
    display: block;
    padding: 2%;
}

#themesongs img {
    width: 15%;
    margin: 0 auto;
    background: #240000;
    padding: 3%;
    border-radius: 100%;
    border: 1px solid #ffd000;
    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: .8em;
}

#themesongs p:last-child {
    margin-bottom: 7%;
}

.divider {
    margin: 10% auto;
    display: block;
}

#appearance p {
    text-align: center;
}

#appearance img {
    width: 100%;
    margin: 2% auto;
    display: block;
}

#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;
    font-size: .9em;
}

#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 dd {
    text-align: center;
}

#personality dt {
    text-transform: uppercase;
}

#personality p {
    text-align: center;
    padding: 0 3%;
}

#familiar img {
    margin: 2% auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #ffe200;
}

#familiar h2 {
    margin-bottom: 0;
    line-height: 1em;
}

#familiar h3 {
    font-size: .8em;
    line-height: 1em;
    margin: 0 auto;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
}

#familiar h3 p {
    border-right: 2px solid #ffd000;
}

#familiar h3 p:last-child {
    border-right: none;
}

.familiarsummary {
    text-align: center; 
    margin: 1% auto;
    font-size: 1em;
}

dd {
    margin: 0 3%;
    text-align: justify;
}

#relationships h2 {
    font-size: 1.5em;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#relationships dt {
    text-transform: uppercase;
    border-bottom: 1px solid #ffd000;
}

#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: #fff4c0;
    font-family: 'Cabin', sans-serif;
    font-size: 1em;
    line-height: 1em;
    text-align:center;
}

@media screen and (min-width: 600px) {

    body {
        margin: 10%;
        font-size: 1.15em;
        margin-top: 40%;
    }

    #heads img {
        width: 70%;
        left: 15%;
    }

    #heads h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 2em;
    }

    #hub {
        width: 40%;
        padding: 2%;
        font-size: 1.5em;
    }

    nav ul li {
        font-size: 1.25em;
    }

    .grid {
        font-size: 1.15em;
    }

    #themesongs {
        width: 60%;
        margin-top: 7%;
        font-size: 1.15em;
    }

    #themesongs img {
        top: -40px;
    }

    #themesongs p {
        font-size: .9em;
    }

    #appearance img {
        width: 100%;
    }

    hr {
        margin: 4%;
    }

    #personality dd, #personality dt {
        margin: auto;
        text-align: center;
    }

    #familiar h3 {
        font-size: 1em;
    }

    #relationships h2 {
        font-size: 2em;
    }
}

@media screen and (min-width:1000px) {
    body {
        font-size: 1.25em;
    }

    #heads h1 {
        font-size: 5em;
    }

    #heads h3 {
        font-size: 2.5em;
    }

    #hub {
        font-size: 2em;
        width: 45%;
    }

    #heads details summary {
        font-size: 1.5em;
    }

    #heads ul li {
        font-size: 1.75em;
    }

    #themesongs img {
        top: -50px;
    }

    #themesongs p {
        font-size: 1.15em;
    }

    #appearance img {
        width: 100%;
    }

    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 1.75em;
    }

    #basicssub {
        font-size: 1.25em;
    }

    p, dl {
        font-size: 1.5em;
    }

    #personality dl {
        text-align: justify;
    }

    .familiarsummary {
        font-size: 1.25em;
    }

    .grid p {
        font-size: 1.25em;
    }

    .gridhead {
        font-size: 1.75em;
    }
}

@media screen and (min-width:1200px) {

    body {
        margin: 5% 30%;
        margin-top: 25%;
        background-attachment: fixed;
        background-size: cover;
        background-image: url(../images/leonticastle2.jpeg);
    }

    #heads img {
        width: 40%;
        left: 31.5%;
    }

    #basics {
        width: 80%;
        margin: 0 auto;
    }

    #basicssub p {
        font-size: 1em;
    }

    .grid {
        font-size: .8em;
    }

    .divider {
        width: 70%;
    }

    #heads h1 {
        font-size: 3.5em;
    }

    #heads h3 {
        font-size: 1.5em;
    }

    #hub {
        width: 30%;
        padding: 2%;
        margin-bottom: 0;
        font-size: 1.15em;
    }

    #heads {
        margin-bottom: 2%;
        padding-bottom: 2%;
    }

    #heads details summary {
        font-size: 1em;
    }

    nav summary {
        font-size: .9em;
    }

    #heads nav ul li {
        width: 25%;
        font-size: 1em;
    }

    h2 {
        font-size: 2.5em;
        margin: 1% auto;
    }

    #basicssub {
        font-size: 1.1em;
        margin-bottom: .5%;
        line-height: 0;
    }

    #themesongs h3 {
        font-size: 1.15em;
        margin-top: -12%;
    }

    #themesongs p {
        font-size: .8em;
    }

    #appearance p {
        font-size: 1em;
        margin: 2% auto;
    }

    #appearance img {
        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;
        margin-right: 2%;
    }
    
    #likesanddislikes dl:last-child {
      margin-right: 0;
    }

    #personality p {
        font-size: 1em;
    }

    #familiar img { 
        width: 70%;
        margin: 0 auto;
        margin-bottom: 7%;
    }

    #familiar h3 {
        font-size: .7em;
    }

    .familiarsummary {
        font-size: 1em;
    }

    #relationships dl {
        font-size: 1em;
    }

    #history summary {
        font-size: 1em;
    }

    #historytext p {
        font-size: 1em;
    }
}