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

img {
    width: 100%;
    height: auto;
    display: block;
}


/*ovenstående oftest brugt som standard CSS*/

#wrapper {
    margin: 0 auto;
    /*max-width: 1440px;*/
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5em;
    color: #fff;
    background-color: #263538;
    background-image: url("Images_parasite/parasite_lawn\ 1.jpg");
    background-size: cover;
}

main {
    /* max-width: 1440px; */
    height: 0 auto;
    padding: 25px;
}

header {
    position: fixed;
    width: 100%;
    /* fordi den 'klapper sammen' i bredden når vi bruger 'position' */
    background-color: rgba(0, 0, 0, .5);
}

#burger {
    display: none;
}

nav {
    width: 80%;
    /* width istedet for max-width gør at margin i siderne bevares */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* background-color: black; */
}

nav ul {
    display: flex;
    align-items: center;
    height: 5.375em;
    /* 86px/16px = 5.375 (højden er 86px i Figma'en og vi omregner til em og 1em = 16px) */
    list-style: none;
}

nav ul:first-child {
    width: 70%;
}

nav ul:last-child {
    width: 20%;
    justify-content: end;
}

nav li {
    flex: 1;
}

nav ul:first-child li:hover {
    -webkit-text-stroke: 1.4px #fff;
}

nav ul:last-child li {
    /* SOME-ikoner justeres til højre */
    text-align: end;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Open sans', sans-serif;
    font-size: 1.25em;
    text-transform: uppercase;
}

nav a.active {
    font-weight: 700;
}

main {
    height: 100vh;
    background-image: url(Images_parasite/parasite-gallery-03.jpg);
    background-size: cover;
    background-position: top center;
    display: grid;
}

main h1 {
    justify-self: center;
    margin-top: 15vh;
    max-width: 80vw;
    /* så der er lidt luft på mobil*/
}

footer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    column-gap: 30px;
    padding-top: 10px;
    background-color: #11111180;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.first {
    place-self: center;
    grid-column-start: 2;
}

.second {
    place-self: center;
    padding-top: 15px;
}

.third {
    place-self: center;
}

@media screen and (max-width: 800px) {
    #burger {
        display: block;
    }
    #burger i {
        position: absolute;
        top: .75em;
        right: .75em;
        font-size: 2em;
    }
    #burger i.fa-bars {
        right: .65em;
        cursor: pointer;
    }
    nav {
        width: 100vw;
        background-color: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    nav a {
        font-size: 2em;
    }
    nav ul:first-of-type {
        display: none;
        flex-direction: column;
        height: 40vh;
        margin-bottom: 4em;
    }
    nav ul:last-of-type {
        display: none;
        width: 70vw;
    }
    nav ul:last-of-type li {
        text-align: center;
    }
    footer {
        display: none;
    }
    .synopsis {
        grid-template-columns: repeat(1, 1fr);
    }
    .cast article {
        flex-direction: column;
    }
    .cast article:nth-child(even) {
        flex-direction: column;
    }
}


/* nav {
    position: static;
} */


/* .synopsis {
        grid-template-columns: repeat(1, 1fr);
    }
    .cast {
        max-width: 640px;
        padding: 2em;
    } */