* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

@font-face {
    font-family: 'bloodlust';
    src: url('/fonts/bloodlust.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-image: url(../images/stars.gif);
    background-repeat: repeat;
    background-size: 50vh;
    color: white;
}

main {
    max-width: 1920px;
    margin: 0 auto;
}

/* HEADER */
header {
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: baseline;
    margin-left: 10px;
    margin-top: 0px;
    padding: 0px;
    color: white;
}

h1 a {
    text-decoration: none;
    color: white;
}

h1 a:visited {
    color: white;
}

#globe {
    transform: rotateZ(10deg);
    margin-right: 10px;
}

header #fez {
    margin: 0;
    display: inline-block;
    font-style: italic;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 3em;
}

header #worldwide {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

header #com {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: .4em;
}

hr {
    border: none;
    height: 2px;
    background-color: blue;
}

/* NAV BAR */
nav {
    margin-left: 30px;
    align-items: baseline;
    color: white;
    background-color: black;
    transform: skew(-10deg, 0);
}

nav ul {
    list-style-type: none;
    /* Remove bullets */
    margin: right;
    padding: 0;
    display: flex;
    /* Display list items in a row */
    align-items: baseline;
}

nav ul li {
    padding: 10px;
    padding-bottom: 0px;
}

nav ul li:hover {
    background-color: black;
}

nav ul li a {
    text-decoration: none;
    /* Remove underline from links */
    color: white;
    /* Link color */
    font-size: 1.3em;
    font-style: italic;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

nav ul li a:hover {
    text-decoration: underline;
    /* Underline on hover */
    text-decoration-color: yellow;
    font-weight: 1000;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

/* MAIN BODY */
.main-stuff {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.block {
    padding-bottom: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.column-small {
    flex: 0 0 25%;
    max-width: 25%;

}

.column-big {
    flex: 0 0 50%;
    max-width: 50%;
}

.column-big h1 #news {
    color: red;
    font-style: italic;
    font-size: 2em;
}

.column-big h1 #headline {
    color: rgb(0, 38, 255);
    font-style: normal;
    font-size: 1em;
}

.questTitle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bandcampSong {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    border: none;
}

#bandcampIcon {
    width: 100%;
    height: 100%;
}

#bandcampPromotion {
    border: 10px solid red;
    width: 350px;
    height: 588px;

}

.gridText {
    color: green;
    font-weight: 1000;
}

.video {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#musicvideo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.choice {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-weight: 1000;
    font-size: 2em;
    color: green;
}

.wizard {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    object-fit: contain;

}

.wizard img {
    max-width: 30%;
    max-height: fit-content;
    transform: rotateY(180deg);
}

#questbooks {
    width: 5%;
    height: 5%;
    margin-left: 5px;
    margin-right: 5px;
    flex-grow: 1;
}

#huzzah {
    font-style: italic;
    color: red;
    font-weight: 1000;
    flex-grow: 1;
    font-size: 500%;

}

#questInfo {
    color: red;
}

#questTask {
    color: red;
}

.chooseAdventure {
    display: grid;
    grid-template-columns: 3fr 1fr 3fr;
    grid-template-rows: 2fr 1fr 2fr;
    justify-items: center;
    align-items: center;
    max-width: 100%;
}

/* THIS IS FOR THE AD*/

.image-container {
    position: relative;
    display: inline-block;
    padding-top: 50px;
    transition: opacity 2s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.image-container .ad {
    border: 7px solid;
    border-top: 25px solid;
    border-color: blue;
    max-width: 75%;
    height: auto;
}

.x-out {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px outset black;
    transform: translate(-125%, 10%);
}

.x-out:hover {
    cursor: pointer;
}

.x-out:active {
    background-color: grey;
}

.image-container .sticker {
    position: absolute;
    transform: rotateZ(20deg);
    top: 30%;
    left: 55%;
    animation: pulse 1s linear infinite;

}


#fez .breaking-news {
    display: flex;
    align-items: center;
    justify-content: center;
}

#news {
    text-decoration: underline;
    text-decoration-color: red;
    animation: 2.5s blinkUnderline infinite linear;
}

#green {
    color: green;
}

#red {
    color: red;
}

#leesta {
    width: 75%;
    height: auto;
    border: 5px solid red;
}


/* COUNTDOWN TIMER */

.launch-time {
    display: flex;
    justify-content: center;
}

.launch-time div {
    flex-basis: 100px;
}

.launch-time div p {
    font-size: 60px;
}

/* FOOTER */

footer {
    position: sticky;
    width: 100%;
    height: 30px;
    background-color: blue;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#bookus {
    flex: 1;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-left: 5px;
}

#bookus a {
    text-decoration: underline;
    color: white;
}

#bookus a:hover {
    color: grey;
}



footer .logos {
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    flex: 1;
}

footer .logos a {
    padding-left: 2px;
    padding-right: 2px;
}

.icon {
    color: white;
}

.icon:hover {
    color: grey;
}

.icon:active {
    color: black;
}

.footer-space {
    flex: 1;
}



footer .logos:hover,
footer .logos:visited {
    color: black;
}

@media(min-width: 1400px) {

    .image-container .sticker {
        width: 125px;
        top: 30%;
        left: 58%;
    }


}

/* Mobile */
@media (max-width: 850px) {
    .main-stuff {
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.5em;
    }

    body {
        margin-top: 10px;
    }

    .header-content #fez {
        font-size: 1.2em;
    }

    .header-content #worldwide {
        font-size: 0.5em;
    }

    .header-content #globe {
        width: 40px;
    }

    .image-container .ad {
        border: 2px solid;
        border-top: 10px solid;
        border-color: blue;
        max-width: 75%;
        height: auto;
    }

    .x-out {
        position: absolute;
        width: 7px;
        height: 7px;
        border: 1px outset black;
        transform: translate(-125%, 20%);
        font-size: 0.5em;
    }


    .column-small,
    .column-big {
        width: 100%;
        /* Make each column full width */
        margin: 5px 0;
        /* Adjust margin for spacing */
    }

    .gridText {
        font-size: 2em;
    }

    .image-container .sticker {
        width: 30px;
        top: 50%;
        left: 53%;
    }

    #bandcampPromotion {
        width: 200px;
        height: 300px;
        border: 3px solid red;
    }

    #questInfo {
        display: none;
    }

    #bookus {
        font-size: 0.8em;
    }

    #huzzah {
        font-size: 3em;
    }

    .chooseAdventure {
        display: block;
    }

    .block {
        padding-bottom: 10px;
    }

    .video {
        width: 100%;
        height: auto;
    }

    .wizard img {
        width: 50%;
    }

    .launch-time div p {
        font-size: 4em;
    }

    #copyright {
        font-size: 0.8em;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        right: auto;
        padding: 10px;
        width: auto;
        background-color: #333;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        float: right;
    }

    .nav-links li {
        text-align: right;
        padding: 10px 0;
        width: 100%;
    }

    .nav-links li a {
        padding: 0;
    }

}