/*-------------------------⬇⬇⬇ Body ⬇⬇⬇-------------------------*/
body {
    width: 100%;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: larger;
    text-align: justify;
}
/*-------------------------⬆⬆⬆ Body ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Header ⬇⬇⬇-------------------------*/
header {
    height: calc(4rem + 250px);
}

#header-image {
    padding-top: 2.5rem;
    text-align: center;
}

#header-image > img {
    width: 1000px;
}
/*-------------------------⬆⬆⬆ Header ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Nav ⬇⬇⬇-------------------------*/
nav > ul {
    position: fixed;
    width: 100%;
    min-height: 2.5rem;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    list-style-type: none;
    background-color: #4086c6;
    z-index: 1;
}

nav > ul > li > a {
    display: block;
    padding: 0.6rem 1rem 0.6rem 1rem;
    color: white;
    text-decoration: none;
}

nav > ul > li > a:hover {
    background-color: #1b77ce;
}

nav > ul > li > a:focus {
    outline: none;
    padding: 0.4rem 0.8rem 0.4rem 0.8rem;
    border: 0.2rem solid rgb(9, 150, 237);
}
/*-------------------------⬆⬆⬆ Nav ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Nav For Mobile ⬇⬇⬇-------------------------*/
nav > div {
    display: none;
}
.display-mobile {
    display: block;
    position: relative;
}
/*-------------------------⬆⬆⬆ Nav For Mobile ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Main ⬇⬇⬇-------------------------*/
main {
    margin: 0 auto 0 auto;
    padding: 0 3rem 0 3rem;
    width: 1000px;
    min-height: 100vh;
}

main > p {
    width: 95%;
    margin: auto;
    white-space: pre-line;
    font-size: x-large;
}

main > h1:nth-child(1) {
    margin: 0 0 0.5rem 0;
}

main > h2:nth-child(2) {
    margin: 0.5rem 0 1rem 0;
    font-style: italic;
}

main > h1:nth-child(1),
main > h2:nth-child(2) {
    text-align: center;
    color: #4086c6;
}
/*-------------------------⬆⬆⬆ Main ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Links ⬇⬇⬇-------------------------*/
a {
    text-decoration: none;
}
/*-------------------------⬆⬆⬆ Links ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Iframe ⬇⬇⬇-------------------------*/
iframe {
    width: 560px;
    max-width: 100%;
    height: 315px;
    border: none;
}
/*-------------------------⬆⬆⬆ Iframe ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Aside ⬇⬇⬇-------------------------*/
aside {
    display: grid;
    grid-template-columns: 50% 50%;
}
/*-------------------------⬆⬆⬆ Aside ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Blockquote ⬇⬇⬇-------------------------*/
blockquote {
    margin: 2rem 2rem 0 2rem;
    text-align: left;
    font-style: italic;
    font-size: x-large;
}

blockquote::before {
    content: url('../images/left-quotemark.png');
}

blockquote::after {
    content: url('../images/right-quotemark.png');
    float: right;
}

blockquote p {
    margin: 0;
}

/*
blockquote p::before {
    content: '\201C';
}

blockquote p::after {
    content: '\201D';
}
*/
/*-------------------------⬆⬆⬆ Blockquote ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Figure ⬇⬇⬇-------------------------*/
figure {
    text-align: center;
}
/*-------------------------⬆⬆⬆ Figure ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Long Heading ⬇⬇⬇-------------------------*/
#long-heading {
    text-align: left;
    font-size: larger;
}
/*-------------------------⬆⬆⬆ Long Heading ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Text Align ⬇⬇⬇-------------------------*/
.text-align-center {
    text-align: center;
}

.text-align-center > img {
    max-width: 100%;
}

.text-align-left {
    text-align: left;
}
/*-------------------------⬆⬆⬆ Text Align ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Display None ⬇⬇⬇-------------------------*/
.display-none {
    display: none;
}
/*-------------------------⬆⬆⬆ Display None ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Blue ⬇⬇⬇-------------------------*/
.blue {
    color: #4086c6;
}
/*-------------------------⬆⬆⬆ Blue ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Footer ⬇⬇⬇-------------------------*/
footer {
    height: 3rem;
    margin-top: 1rem;
    color: white;
    background-color: rgb(55, 61, 71);
}

footer > p {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: large;
    text-align: center;
}

footer > p > a {
    color: white;
}

footer > p > a:hover {
    color: gainsboro;
}
/*-------------------------⬆⬆⬆ Footer ⬆⬆⬆-------------------------*/

/*-------------------------⬇⬇⬇ Loader ⬇⬇⬇-------------------------*/
#loader-div {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#loader {
    border: 1.6rem solid #4086c6;
    border-radius: 50%;
    border-top: 1.6rem solid transparent;
    width: 12rem;
    height: 12rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/*-------------------------⬆⬆⬆ Loader ⬆⬆⬆-------------------------*/

@media screen and (max-width: 400px) {
    /*-------------------------⬇⬇⬇ Main ⬇⬇⬇-------------------------*/
    main {
        text-align: left;
    }
    /*-------------------------⬆⬆⬆ Main ⬆⬆⬆-------------------------*/
}

@media screen and (max-width: 650px) {
    /*-------------------------⬇⬇⬇ Header ⬇⬇⬇-------------------------*/
    header {
        height: calc(3rem + 25vw + 1rem) !important;
    }

    #header-image {
        padding-top: 0 !important;
    }
    /*-------------------------⬆⬆⬆ Header ⬆⬆⬆-------------------------*/

    /*-------------------------⬇⬇⬇ Nav ⬇⬇⬇-------------------------*/
    nav > ul {
        display: none;
    }

    nav > div {
        height: 3rem;
        display: flex;
        align-items: center;
        padding-left: 1rem;
        color: white;
        background-color: #4086c6;
        cursor: pointer;
    }
    /*-------------------------⬆⬆⬆ Nav ⬆⬆⬆-------------------------*/
    
    /*-------------------------⬇⬇⬇ Blockquote ⬇⬇⬇-------------------------*/
    blockquote {
        margin-bottom: 2.5rem;
    }
    /*-------------------------⬆⬆⬆ Blockquote ⬆⬆⬆-------------------------*/
}
@media screen and (max-width: 1115px) {
    /*-------------------------⬇⬇⬇ Header ⬇⬇⬇-------------------------*/
    header {
        height: calc(3rem + 25vw);
    }

    #header-image {
        padding-top: 41.2px;
    }

    #header-image > img {
        width: 100%;
    }
    /*-------------------------⬆⬆⬆ Header ⬆⬆⬆-------------------------*/

    /*-------------------------⬇⬇⬇ Main ⬇⬇⬇-------------------------*/
    main {
        width: calc(100% - 2rem);
        padding: 0 1rem 0 1rem;
    }
    /*-------------------------⬆⬆⬆ Main ⬆⬆⬆-------------------------*/

    /*-------------------------⬇⬇⬇ Aside ⬇⬇⬇-------------------------*/
    aside {
        display: block;
    }
    /*-------------------------⬆⬆⬆ Aside ⬆⬆⬆-------------------------*/
}

/*-------------------------⬇⬇⬇ AD ⬇⬇⬇-------------------------*/
.google-ad-horizontal {
    max-width: calc(1000px - 2rem);
    text-align: center;
    margin: 1rem auto 0.5rem auto;
}
/*-------------------------⬆⬆⬆ AD ⬆⬆⬆-------------------------*/
