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

body {
    background-color: #CEE1F2;
}

main {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: 25vh 7vh 45vh 60vh 55vh 60vh 40vh 60vh 40vh 60vh 15vh;
    grid-template-areas: "head"
        "nav1"
        "text0"
        "bild1"
        "text1"
        "bild2"
        "text2"
        "bild3"
        "text3"
        "bildspel"
        "foot";
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

header {
    grid-area: head;
    line-height: 25vh;
    background-image: url(../bilder/stad1.jpg);
    background-size: cover;
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
    font-size: large;
    z-index: 99;

}

h1 {
    height: 60%;
    color: #CEE1F2;
    text-shadow: 0 0 10px black;
    margin-left: 2vw;
}

#hamburger-container {
    width: 8vw;
    height: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-right: 0.5vh;
    float: right;
    transform: translateY(-100%);

}

.hamburger {
    width: 100%;
    height: 15%;
    background-color: white;
    border-radius: 25px;

}

nav {
    background-color: #BFA084;
    grid-area: nav1;
    transition: transform 0.5s;
}

ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    line-height: 7vh;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: small;
}

a:link {
    text-decoration: none;
    color: #8191A6;
}

a:visited {
    color: #CEE1F2;
}

a:hover {
    background-color: #8C6F5E;
}

#text0 {
    grid-area: text0;
}

#bild1 {
    grid-area: bild1;
}

#text1 {
    grid-area: text1;
}

#bild2 {
    grid-area: bild2;
}

#text2 {
    grid-area: text2;
}

#bild3 {
    grid-area: bild3;
}

#text3 {
    grid-area: text3;
}

section {
    background-color: #D9BBA0;
    box-shadow: 10px 10px #8191A6;
    margin: 2% 10% 2% 10%;
    overflow: scroll;
}

section p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 3%;
    font-size: small;

}

picture {
    display: flex;
    justify-content: center;
    margin: 5%;
}

img{
    width: 90vw;
}

#bildspelwrap {
    height: 50vh;
    margin-top: 5vh;
    grid-area: bildspel;
}

#bildspel {
    height: 50vh;
    width: 90vw;
}

footer {
    grid-area: foot;
    background-color: #BFA084;
    line-height: 15vh;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: small;
}


@media only screen and (min-width: 600px) {
    main {
        grid-template-columns: 50vw 50vw;
        grid-template-rows: 25vh 10vh 30vh 50vh 50vh 50vh 65vh 15vh;
        grid-template-areas: "head head"
        "nav1 nav1"
        "text0 text0"
        "bild1 text1"
        "text2 bild2"
        "bild3 text3"
        "bildspel bildspel"
        "foot foot";
    }

    header{
        line-height: 25vh;
    }

    #hamburger-container{
        width: 5vw;
    }

    ul{
        line-height: 10vh;
    }

    img{
        width: 45vw;
    }

    section{
        margin: 5%;
    }

    #bildspel{
        height: 60vh;
    }

    #bildspelwrap{
        height: 60vh;
    }

}

@media only screen and (min-width: 769px) {
    main {
        grid-template-columns: 30vw 10vw 30vw 30vw;
        grid-template-rows: 40vh 10vh 50vh 70vh 60vh 60vh 20vh;
        grid-template-areas: "head head head head"
            "nav1 nav1 nav1 nav1"
            "text0 text0 text0 bildspel"
            "text1 text1 bild1 bildspel"
            "bild2 text2 text2 bildspel"
            "text3 text3 bild3 bildspel"
            "foot foot foot foot";
        height: 100%;
    }

    header {
        line-height: 40vh;
        text-align: center;
        font-size: xx-large;
    }

    #hamburger-container {
        width: 4vw;
        height: 6vh;
    }

    ul {
        line-height: 10vh;
        font-size: large;
    }
    
    section p{
        font-size: large;

    }

    img{
        width: 30vw;
    }

    #bild2{
        margin-left: 5vw;
    }

    #bildspel {
        position: fixed;
        bottom: 0;
        height: 50vh;
        width: 20vw;
        box-shadow: 10px 10px #8191A6;
    }

    #bildspelwrap{
        width: 0;
        height: 0;
        overflow: hidden;
        margin-left: 5vw;
    }

    footer {
        z-index: 98;
        line-height: 20vh;
        font-size: large;

    }
}