html, body {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    background-color: #121212;
}

main {
    background-color: #121212;
    color: #ffffff;
    margin: 0;
}

header{
    display: flex;
    padding: 1.2vw 2vw;
    justify-content: space-between;
    background-color: #222222;
    align-items: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.8rem;
}

footer {
    padding: 1.2vw 2vw;
    background-color: #222222;
    text-align: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2em;
}

/* Styling for navigation bar links (BEGINS HERE) */
/* Styling for links when they are hovered over or when on active page */

a {
    text-decoration: none;
    color: unset;
    transition: all 200ms;
    cursor: pointer;
    position: relative;
}
a::after {
    content: '';
    position: absolute;
    height: 0.1vw;
    left: 0;
    bottom: 0;
    width: 0;
    background: #f2d246;
    transition: width 0.1s;
}
a:hover:after {
    width: 100%;
}
a.active:after {
    width: 100%;
    background-color: #018ec5;
}

/* Styling for navigation bar links (ENDS HERE) */

.site-logo {
    font-size: 1.7rem;
    margin: 0;
}

h1 {
    font-size: 10vh;
    margin: 0;
}

/* Banner CSS Styling */

#banner {
    height: 45vw;
    width: 100% vw;
    height: 100% vw;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page-banner {
    background: url(Photos/Home_Page_Banner.jpg);
}

.story-page-banner {
    background-image: url(Photos/Story_Page_Banner.jpg);
}

.characters-page-banner {
    background-image: url(Photos/Characters_Page_Banner.jpg);
    
}

/* Story Page - Story Arc Banners CSS Styling */

#image-banner {
    width: 100% vw;
    height: 100% vw;
    background-repeat: no-repeat;
    background-size: cover;
}

.IntroArcs-image-banner {
    background-image: url(Photos/IntroArcs_Banner_Image.jpg);
    height: 40vw;
}

.InvincibleWarArc-image-banner {
    background-image: url(Photos/Invincible_War_Arc_Image.jpg);
    height: 50vw;
}

.ViltrumiteWarArc-image-banner {
    background-image: url(Photos/ViltrumiteWarArc_Banner_Image.jpg);
    height: 30vw;
}

.VirusArc-image-banner {
    background-image: url(Photos/VirusArc_Banner_Image.jpg);
    height: 38vw;
}

.EvilRobotArc-image-banner {
    background-image: url(Photos/EvilRobotArc_Character_Image.jpg);
    height: 33vw;
}

.ThraggArc-image-banner {
    background-image: url(Photos/ThraggArc_Banner_Image.jpg);
    height: 30vw;
}

/* Banner CSS Styling ( ENDS HERE ) */

.mainBanner-titleBox {
    text-align: end;
    width: 50vw;
    padding: 5vw;
}



.intro-box {
    background-color: #222222;
    height: 2vw;
    margin: 2vw;
}

.intro-text {
    font-size: 1.2vw;
    margin: 1.5vw 2vw 0vw;
}

.infoBlock {
    width: 60vw;
    margin: 2vw;
    padding: 0.1vw 5vw 2.5vw;
    margin: 2vw auto 0vw;
}

p {
    font-size: 1.2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0 2vw 1vw;
}

#story-h2 {
    font-size: 3rem;
    text-align: center;
    color: #f2d246;
}

#story-h3 {
    font-size: 1.4rem;
    color: #f2d246;
}

#story-h4 {
    font-size: 1rem;
    color: #f2d246;
}

.line {
    background-color: #018ec5;
    height: 0.2rem;
    margin: 2vw 0vw;
}

/* General Text Specific CSS Styling (BEGINS HERE) */

#highlighted-blue-text {
    color: #018ec5;
}

#highlighted-white-text {
    color: white;
}

#highlighted-yellow-text {
    color: #f2d246;
}

.centeredText {
    text-align: center;
    margin: 0;
}

/* General Text Specific CSS Styling (ENDS HERE) */

.imageBanner {
    margin: 0;
}

/* CSS Styling for the CHARACTERS PAGE (BEGINS HERE) */

.alignment-block {
    display: flex;
    justify-content: center;
}

.character-image-block {
    height: 30vw;
    width: 30vw;
    margin: 1vw 0vw;
    display: flex;
    justify-content: center;
}

.character-info-block {
    width: 60vw;
    margin: 1vw;
}

#character-image {
    border-radius: 1vw;
    display: block;
    margin: 1.4vw;
    width: 400vw;
}

.character-names {
    font-size: 2rem;
    color: #f2d246;
    margin: 2vw;
}

#character-h3 {
    color: #f2d246;
    margin: 1.5vw 2vw;
}

.character-line {
    background-color: #222222;
    height: 0.4vw;
    margin: 0vw 5vw;
}

/* CSS Styling for the CHARACTERS PAGE (ENDS HERE) */

/* CSS Styling for the STORY PAGE (BEGINS HERE) */

.spoiler-warning-line {
    margin: 0vw 10vw;
}

#spoiler-warning {
    font-size: 3.5vw;
    color: red;
    text-align: center;
    margin: 1.5vw 0vw 0vw;
}

.header-line {
    background-color: #018ec5;
    height: 0.4vw;
    margin: 1.5vw 10vw;
}

.story-header1 {
    text-align: center;
    font-size: 3vw;
    margin: 1.5vw auto 0;
}

/* CSS Styling for the STORY PAGE (ENDS HERE) */

.onPage-navBar ul {
    background-color: #222222;
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 6vw;
    padding: 2vw;
    margin: 0;
    font-size: 1.3vw;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #ffffff;
}

/* Below is the MEDIA QUERIES for MOBILE for all pages */

@media screen and (max-width: 800px) {

    header{
        font-size: 1.3rem;
    }
    .site-logo {
        margin: 1.2vw;
    }
    a::after {
        height: 0.3vw;
    }

    /* Media Queries - GENERAL */

    .onPage-navBar ul {
        flex-direction: column;
        align-items: center;
        gap: 3vw;
        padding: 2vw;
        margin: 0;
        font-size: 4vw;
    }

    .story-header1 {
        text-align: center;
        font-size: 6vw;
        width: 70vw;
        margin: 4vw auto 0;
    }

    .header-line {
        height: 0.8vw;
        margin: 3vw 8vw;
    }

    .intro-text {
        font-size: 4vw;
        margin: 2.5vw 0 5vw;
    }

    p {
        margin: 5vw 0;
    }

    /* Media Queries - STORY PAGE */

    #story-h3 {
        font-size: 1.25rem;
    }

    .story-infoBlock {
        width: 70vw;
        margin: 5vw auto 0vw;
    }

    #spoiler-warning {
        font-size: 4vw;
        margin: 0vw 0vw 4vw;
    }

    /* Media Queries - CHARACTERS PAGE */

    .alignment-block {
        flex-direction: column;
        align-items: center;
    }

    .character-image-block {
        height: 80vw;
        width: 80vw;
        margin: 0vw 1vw;
    }

    .character-info-block {
        width: 80vw;
        margin: 0vw 1vw;
    }

    .character-info-block p {
        margin: 2rem;
    }

    #character-image {
        margin: 5vw auto;
        display: block;
        border-radius: 2vw;
        width: 70vw;
    }

    .character-names {
        margin: 1rem 2rem;
    }

    #character-h3 {
        margin: 1rem 2rem;
    }

    .character-line {
        background-color: #222222;
        height: 1vw;
        margin: 3vw 13vw;
    }
}
