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

}

#main {
    display: grid;
    height: auto;
   background-color: #202426;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 75px 180px auto  auto  auto 30px;
    grid-template-areas: "i1 i1"
        
        "i2 i2"
        "i3 i3"
        "i4 i4"
        "i5 i5"
        "i6 i6"; }
/* overflow: scroll; */

nav {
    grid-area: nav;
}

.topnav {
    overflow: hidden;
    background-color: #0477BF;
    position: relative;
   
  }
 
  .topnav #links {
    display: none;
  }
 
 
 
  .topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
  }
 
  .topnav a.icon {
    background-color: #0477BF;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
 
 
  .active {
    color: #F2F2F2;
    font-weight: bold;
   
  }
#i1 {
    /* padding: 5px; */
    
    font-family: 'Noto Serif Georgian', serif;
    background-color: #9DA65D;
    grid-area: i1;
    font-size: x-large;

}
#i1 h1{
 margin-left: 20px;
}
#i2

/*Bild1*/
    {

    grid-area: i2;
    background-image: url('../Bilder/hallbarhet.jpeg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
 
    /* background-attachment: center; */
    
    /* background-position: center;  */
    

}

#i2 img {
    width: 100vw;
    object-fit: contain;
}

#i3 {
    font-family: 'Noto Serif Georgian', serif;
    grid-area: i3;
    background-color: #202426;
    color: white;
    margin-bottom: 3px;
}
#i3 h1{
    padding-left: 5px;
    margin-bottom: 5px;
}
#i3 h3{
    padding-left: 5px;
    margin-bottom: 5px;
}
#i3 p {
    font-family: 'Merriweather', serif;
    padding-left: 5px;
    padding-right: 5px;
}


#i4 {
    grid-area: i4;
    width: 100%;
    background-color: #202426;
    grid-template-columns: 1fr;
    grid-template-areas: 
    "b1"
    "b2";
    align-items: center;

    
}

#b1 {
    display: grid;
    grid-area: b1;
    width: auto;
    height: auto;


}

#b2 {
    display: grid;
    grid-area: b2;
    width: auto;
    height: auto;
}


#i4 img {
    width: 100%;
    padding-left: 15px;
}
#i5{
    grid-area: i5;
    background-color: #6C733D;
    color: white;
}
#i5 h1{
    font-family: 'Noto Serif Georgian', serif;
    
    padding-left: 5px;
    margin-bottom: 5px;
}
#i5 h3{
    font-family: 'Noto Serif Georgian', serif;
    
    padding-left: 5px;
    margin-bottom: 5px;
}
#i5 p{
    font-family: 'Merriweather', serif;
    padding-left: 5px;
    margin-bottom: 5px;
    padding-right: 5px;
}
#i6{
    grid-area: i6;
    background-color: #9DA65D;
    color: white;
    padding-left: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}



@media only screen and (min-width: 600px) {

    /*Design för tablet*/
    #main {
        grid-template-columns: 1fr 150px;
        grid-template-rows: 75px 250px auto auto auto 30px;
        grid-template-areas: "i1 i1"
            "i2 i2"
            "i3 i3"
            "i4 i4"
            "i5 i5"
            "i6 i6";

    }
    #i3 h1{
        padding-left: 5vw;
        margin-bottom: 5px;
    }
    #i3 h3{
        padding-left: 5vw;
        margin-bottom: 5px;
    }
    #i3 p {
        font-family: 'Merriweather', serif;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    #i5 h1{
        font-family: 'Noto Serif Georgian', serif;
        
        padding-left: 5vw;
        margin-bottom: 5px;
         }
    #i5 h3{
        padding-left: 5vw;
        margin-bottom: 5px;
    }
   #i5 p{
            font-family: 'Merriweather', serif;
            padding-left: 5vw;
            margin-bottom: 5px;
            padding-right: 5vw;
        }
        #i6{
            grid-area: i6;
            background-color: #9DA65D;
            color: white;
            padding-left: 100px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            
        }
}

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

    /* Här skriver du design för desktop */
    #main {
        display: grid;
        /* height: 100vh; */
        /* width: 100vw; */
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 100px 300px auto auto auto 30px;
        grid-template-areas: "i1 i1 i1"
            "i2 i2 i2"
            "i3 i3 i3"
            "i4 i4 i4"
            "i5 i5 i5"
            "i6 i6 i6";
    }
    #i3 h1{
        padding-left: 15vw;
        margin-bottom: 5px;
    }
    #i3 h3{
        padding-left: 15vw;
        margin-bottom: 5px;
    }
    #i3 p {
        font-family: 'Merriweather', serif;
        padding-left: 15vw;
        padding-right: 40vw;
    }
    #i4 {
        grid-area: i4;
        width: 100%;
        background-color: #202426;
        display: flex;
    }


    #b1 {
        display: grid;
        grid-area: b1;
        width: auto;
        height: auto;
    
    
    }
    
    #b2 {
        display: grid;
        grid-area: b2;
        width: auto;
        height: auto;
    }

    
    #i5 h1{
        font-family: 'Noto Serif Georgian', serif;
        
        padding-left: 15vw;
        margin-bottom: 5px;
         }
    #i5 h3{
        font-family: 'Noto Serif Georgian', serif;
        padding-left: 15vw;
        margin-bottom: 5px;
    }
   #i5 p{
            font-family: 'Merriweather', serif;
            padding-left: 15vw;
            margin-bottom: 5px;
            padding-right: 40vw;
        }
        #i6{
            grid-area: i6;
            background-color: #9DA65D;
            color: white;
            padding-left: 100px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            
        }
}