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(50%);
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    overflow: hidden;
}

#maincontainer {
    padding: 5vh 15vw 10vh 15vw;
    font-family: 'Montserrat', sans-serif;
    color: #ffe354;
    border-top: .6vh solid #ffe354;
}

#maincontainer a, li {
    font-weight: 400;
    color: #ffe354;
    margin-bottom: 1.5vh;
}

.collapsible {
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    background-color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    color: #ffe354;
    font-weight: 600;
    font-size: 4vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collapsible:after {
    content: '\ ❯ '; /* Unicode character for "plus" sign (+) */
    transition: 0.2s;
    font-size: 3vh;
    color: #ffe354;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\ ❯ "; /* Unicode character for "minus" sign (-) */
    transform: rotate(90deg);
}

.active, .collapsible:hover {
    background-color: #141414;
}

.collapsibleContent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

@media only screen and (max-aspect-ratio: 1/1) {

    #titleScreen h1 {
        font-size: 10vh;
    }

    #maincontainer {
        padding: 5vh 4vw 10vh 4vw;
    }

    #maincontainer a, li {
        font-size: 2vh;
    }
}