html {
    scroll-behavior: smooth;
}

body {
    background-color: #131313;
    color: rgb(255, 255, 255);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Text */
h1 {
    display: inline-block;
    text-align: center;
    margin-bottom: 0;
    margin-top: 1%;
    width: 100%;
    font-size: 500%;
    text-decoration: underline;
    text-decoration-thickness: 3%;
    text-decoration-color: rgb(225, 228, 68);

}

h2 {
    display: inline;
    padding-left: 12.5%;
    font-size: 200%;
    text-decoration: overline;
    text-decoration-color: rgb(68, 209, 228);
    text-decoration-thickness: 12%;
}

h4 {
    font-size: 70%;
}

p {
    padding-left: 10%;
    font-size: 100%;
    line-height: 150%;
}

ul {
    padding-top: .5%;
    padding-bottom: .5%;
    padding-left: 10%;
    font-size: 100%;
}

li {
    padding: .25%
}

/* Sidebar, Logo, and Footer */
nav {
    display: block;
    position: fixed;
    width: 7%;
    left: 0;
    top: 0;
    bottom: 0;
}

#logo {
    position: fixed;
    display: block;
    width: 15%;
    right: 1%;
    top: 3%;
}

footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 33%;
    right: 33%;
    text-align: center;
    background-color: #131313;
}

/* Hyperlink Adjustments*/

#main-links a {
    display: inline-flex;
    font-size: 1.25em;
    padding-top: 71%;
    padding-bottom: 71%;
    padding-left: 10%;
    padding-right: 10%;
    text-decoration: none;
    color: rgb(133, 225, 228);
    transition: 500ms;
    width: 100%;
}

#main-links a:hover {
    color: rgb(255, 230, 0);
    transition: 500ms;
}

#main-page a {
    display: flex;
    justify-content: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin-left: 30%;
    padding-left: 10%;
    margin-right: 30%;
    padding-right: 10%;
    border-style: dotted;
    font-size: 2em;
    padding-bottom: .75em;
    margin-bottom: 2%;
    padding-top: .75em;
    text-decoration: none;
    color: rgb(133, 225, 228);
    border-color: rgb(255, 230, 0);
    transition: 500ms;
    width: 20%;
}

#main-page a:hover {
    color: rgb(255, 230, 0);
    border-color: rgba(133, 225, 228, 0);
    transition: 500ms;
}

.links {
    color: rgb(133, 225, 228);
    padding-left: 15%;
    transition: 500ms;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-decoration: none;
}

.links:hover {
    color: rgb(255, 238, 88);
    transition: 500ms;
}

/* Size Adjust */
@media only screen and (max-width: 855px) {
    nav {
        visibility: hidden;
    }
}

@media only screen and (max-width: 860px) {
    footer {
        width: 100%;
        left: 0;
        right: 0;
        background-color: #13131300;
    }
}

@media only screen and (max-width: 1210px) and (min-width: 653px) {
    #logo {
        top: 15%;
    }

    nav {
        top: 15%;
    }
}

@media only screen and (max-width: 510px) {
    #logo {
        top: 15%;
    }
}