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

html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    width: 100%!important;
}

#wrapper {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-areas: "g1"
                         "g2"
                         "g3"
                         "g4"
                         "g5"
                         "g6"
                         "g7"; 
}

#secTop {
    background-image: url("img/top.png");
    background-repeat: no-repeat;
    background-size: 100%, 100vh;
    height: 29.5vh;
    width: 100%;
    grid-area: g1;
}

#secInt {
    grid-area: g2;
}

#secBak {
    grid-area: g3;
}

#secPro {
    grid-area: g4;
}

#secLos {
    grid-area: g5;
}

#secDis {
    border: none;
    grid-area: g6; 
}

footer {
    grid-area: g7;
}


.sec {
  border-bottom: 4px solid black;
}

.underrubrik {
    width: 100%;
    height: 10vh;
    text-align: center;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 6vh;
    font-family: 'Roboto Slab', serif;
}

header {
    font-family: 'Roboto Slab', serif;
    width: 100%;
    height: 6vh;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 2vh;
    text-align: center;
}

.img {
    padding-top: 4vh;
    text-align: center;
}

img {
    height: auto;
}

.brödtext {
    margin-bottom: 5vh;
}

#burger {
    height: 2vh;
    width: 2.5%;
    padding-left: 3%;
    padding-bottom: 3vh;
    padding-top: 1.5vh;
}

#mySidenav ul li {
    padding-top: 0.5vh;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Roboto Slab', serif;
    font-size: 90%;
    width: 10%;
}

.sidenavOpen {
    /* display: block; */
    height: 23vh;
    width: 100%;
    position: static;
    padding-left: 7%;
    z-index: 1;
    /* top: 14vh; */
    /* left: 7%; */
    overflow-x: hidden;
    color: black;
}
.sidenavClose {
    /* width: 0; */
    /* visibility: hidden; */ 
    /* display: none; */
    height: 23vh; 
    width: 0;
    position: fixed;
    z-index: 1;
    top: 14vh;
    left: 7%;
    overflow-x: hidden;
}

.sidenavOpen a {
    color: black;
    text-decoration: none;
    display: block;
}

.sidenavOpen a:hover {
    color: darkblue;
}

.sidenavOpen a:visited {
    color: black;
}

p {
    width: 80%;
    padding: 5%;
    margin-left: 10%;
    text-align: left;
    font-family: 'Open Sans', sans-serif; 
    font-family: 'Roboto Slab', serif;
}

footer {
    background-color: black;
    color: gray;
    width: 100%;
    height: 10vh;
    padding: 4vh;
    text-align: center;
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 12px; /* Place the button at the bottom of the page */
    right: 12px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: black; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 12px; /* Some padding */
    border-radius: 8px; /* Rounded corners */
    font-size: 12px; /* Increase font size */
    border: 2px solid white;
  }
  
  #myBtn:hover {
    background-color: black; /* Add a dark-grey background on hover */
  }

  #slideshow1 {
    /* If I have time when everything is done. Making this super wide so that I will question it's length sometime and read what it says and then I will remember that I should've done a slideshow here! Great bye! */
    height: auto; /* Prevent warning */
}


@media only screen and (min-width: 600px) {
    /* Här skriver du design för tablet */

    body {
        width: 100% !important;
    }

    #secTop {
        padding: 0;
        height: 50vh;
        width: 100%;
    }

    header {
        height: 10vh;
        padding-top: 5vh;
        font-size: 200%;
    }

    #myBtn {
        padding: 1.4%;
        font-size: 150%;
      }

    #burger {
        margin-top: 4vh;
        margin-bottom: 1vh;
    }

    #faBars {
        font-size: 250%;
    }

    #mySidenav ul li {
        font-size: 160%;
        width: 30%;
    }

    .underrubrik {
        font-size: 210%;
    }

    p {
        font-size: 160%;
    }

    footer {
        font-size: 160%;
    }

    img {
        min-width: 65%;
        margin-bottom: 3vh;
    }

    .img {
        padding-top: 1vh;
    }

}

@media only screen and (min-width: 769px) {
    /* Här skriver du design för desktop */

    body {
        width: 100% !important;
    }

    #secTop {
        height: 100vh;
        width: 100%;
        margin: 0;
    }

    header {
        font-size: 330%;
    }
    
    .sidenavOpen {
        height: 30vh;
        padding-left: 9%;
        margin-top: 4vh;
    }

    #faBars {
        font-size: 400%;
    }

    #mySidenav ul li {
        font-size: 180%;
    }

    #burger {
        margin-left: 4%;
        margin-top: 10vh;
        margin-bottom: 6vh;
    }

    .underrubrik {
        font-size: 250%;
    }

    #myBtn {
        padding: 1%;
        font-size: 160%;
        right: 20px;
      }

    img {
        max-height: 50vh !important;
        min-width: 50%;
        height: auto;
    }

    footer {
        height: 18vh;
    }

    p {
        width: 60%;
        margin-left: 20%;
    }

}

@media only screen and (min-width: 769px) and (min-height: 916px) {

    #secTop {
        height: 45vh;
    }

}