* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#wrapper {
    max-width: 1440px;
    margin: 0 auto;
    /* background-image: url(images/background_image_test.jpg); */
}

body {
    background: black;
}

img {
    height: auto;
    max-width: 100%
}

main {
    background-image: url(images/background_for_synopsis.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

nav {
    display: flex;
    width: 100%;
    background-color: rgba(0, 0, 0, 50%);
    color: white;
    padding: 1.5em;
    max-height: 100vh;
}

nav ul {
    display: flex;
    flex: 2;
    gap: 20%;
    padding-left: 7%;
}

nav li {
    display: flex;
    align-items: center;
}

a {
    color: white;
    text-decoration: none;
    list-style-type: none;
}

a:hover {
    font-weight: bold;
}

nav div {
    display: flex;
    flex: 1;
    margin-left: 25%;
    gap: 5%;
}

#synopsis {
    display: flex;
}

#title {
    margin: 2em 0;
}

.header_for_mobile {
    display: none;
}

.h1_spacing {
    margin: 3em 0;
    color: rgb(255, 255, 255);
}

#story_telling {
    margin: 3em 0;
    display: flex;
}

.fa-solid {
    display: none;
}

#story {
    flex: 6;
    margin-right: 30em;
    color: #ffffff;
    background-color: #0003;
}

.blood {
    color: rgb(97, 27, 27);
    font-family: "Nosifer", sans-serif;
    font-weight: 400;
    font-style: normal;
}


#made_by {
    flex: 3;
}

table {
    width: 281px;
    color: white;
}

caption,
th,
td {
    padding-bottom: 6%;
}

footer {
    display: flex;
    position: sticky;
    max-width: 1440px;
    width: 100%;
    background-color: rgba(0, 0, 0, 50%);
    color: white;
    justify-content: center;
    align-items: center;
    height: 65.92px;
    flex-direction: column;
    margin-top: 9em;
}


/*----------------------------------*/

@media screen and (max-width:1339px) {

    #made_by {
        background-color: #0003;
        position: relative;
        top: unset;
        height: 9em;
        right: 18em;
    }

    .h1_spacing {
        background-color: #0003;
    }

    #story {
        background-color: #0003;
        margin-right: unset;
        position: relative;
        top: 10em;
        left: 8em;
    }

    nav ul {
        gap: 7%;
        padding-left: unset;
    }

    nav div {
        justify-content: flex-end;
    }
}



@media screen and (max-width:599px) {

    nav div {
        display: none;
    }

    #story {
        width: 28em;
        position: relative;
        left: unset;
    }

    #made_by {
        position: relative;
        right: 24em;
        bottom: 0em;
    }

    .h1_spacing {
        background-color: unset;
        display: none;
    }

    header {
        display: none;
    }

    #synopsis {
        position: relative;
        top: 10em;
        left: 5em;
    }

    #synopsis_header_mobile {
        left: 2em;
        top: 6em;
        position: relative;
        width: 23em;
    }

    footer {
        margin-top: 18em;
    }

    .header_for_mobile {
        display: block;
        position: relative;
        color: rgba(255, 255, 255);
        max-width: 338px;
        left: 4em;
    }

    .fa-solid {
        display: block;
        position: absolute;
        right: 5vw;
        top: 5vw;
        font-size: 2em;
    }

    nav a {
        display: grid;
        width: 100%;
        align-items: center;
    }

    nav li {
        padding: 0.5em 0;
        text-align: center;
    }

    nav div {
        display: none;
    }

    nav {
        position: static;

    }

    nav ul {
        justify-items: stretch;
        display: grid;
        grid-auto-flow: row;
        align-items: center;
        padding: 0.5em 0;
        height: 100vh;
    }

    #wrapper {
        overflow: hidden;
    }
}

@media screen and (max-width:420px) {
    #synopsis {
        left: unset
    }

    .header_for_mobile {
        left: unset;
    }
}
