html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    scroll-behavior: smooth; /*gjør at "back to top"-knappen scroller til toppen i en smooth bevegelse*/
    overflow-x: hidden; /*gjør at alt som ikke får plass på skjermen i x-aksen, skjules*/
    overflow: initial;
}

#whole-page {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    background-color: #1F1F1F;
}



/*-----------------------------------------------------------------------------------*/

#titleScreen {
    height: 65vh;
    overflow: hidden;
    text-align: center;
    position: relative;
}


#titleScreen h1 {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffe354;
    font-size: 12vh;
    position: absolute;
    top: 25vh;
    z-index: 100;
    text-shadow: 0 0 2vh 2vh #000;
}

#titleImg {
    object-fit: cover;
    filter: brightness(60%);
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    overflow: hidden;
}

#missionDesc {
    padding: 5vh 15vw 10vh 15vw;
    text-align: center;
    border-top: .6vh solid #ffe354;
}

#missionDesc img {
    width: 40%;
    height: auto;
    padding: 5vh 0 8vh 0;
}

#missionDesc p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #ffe354;
    text-align: justify;
    line-height: 1.8;
    word-spacing: .3vw;
}

#missionDesc a {
    text-decoration: underline;
    color: #ffe354;
}

@media only screen and (max-aspect-ratio: 1/1) {
    #titleScreen {
        height: 65vh;
        overflow: hidden;
        text-align: center;
        position: relative;
    }

    #titleScreen h1 {
        font-size: 9.5vh;
    }

    #missionDesc {
        padding: 5vh 2vw 10vh 2vw;
    }

    #missionDesc img {
        width: 90%;
        height: auto;
        padding: 5vh 0 5vh 0;
    }

    #missionDesc p {
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: .8vh;
        color: #ffe354;
        text-align: justify;
        line-height: 1.8;
        word-spacing: .2vh;
    }
}

