*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Här skriver du design för mobil */
@font-face {
    font-family: "roboto";
    src: url("../font/Roboto-Black.ttf") format("truetype");
  }
  body{
    background-color: #83A7CA;
  }
header{
    background-color: blanchedalmond;
    height: 20vh;
    text-align: center;
    padding-top: 4vh;
    font-family: roboto;
    font-size: 200%;
    color: white;
    background-color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    background-image: url(../bilder/stadbra-transformed.jpeg    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
footer{
    background-color: #324959;
    font-family: roboto;
    grid-area: footer;
    height: 35vh;
    transition: opacity 0.5s ease;
}
section{
    font-family: roboto;
    grid-area: section;
    background-color: #83A7CA;
    padding-top: 5vh;
    padding-bottom: 5vh;
}


nav{
    background-color: #324959;
    text-align: center;
    height: 35vh;
    font-family: roboto;    
}
.osynlig{
    display: none;
}
ul{
    list-style-type: none;
    height: 100%;
}
li{
    height: 50%;
    padding-top: 5vh;
}
a{
    background-color: aliceblue;
    height: 10vh;
    font-size:250%;
    width: 100%; 
    display: block; 
    padding: 10px;
    border: 5px solid black;
}
#ett{
    background-color: black;
}
a:link {
    text-decoration: none;

}
#ett:link{
    color: white;
}
#ett:visited{ 
    color: white;
}
#tva:visited{
    color: black;
}
#tva:link{
    color: black;
}
#ett:hover{
    background-color: #737373;
}

img {
    height: 25vh;
    width: 100%;
    
}
button{
    float: right;
    margin-top: 15vh;
    height: 5vh;
    width: 5vh;
    background-color: black; 
    color: white; 
    font-size: 9px; 
    border-radius: 8px;
}


@media only screen and (min-width: 600px) {
    /* Här skriver du design för tablet */
    .osynlig{
        display: block;
    }
    button{
        display: none;
    }
    ul {
        display: flex; 
        justify-content: space-between; 
        padding: 0 20px; 
    }
    li {
        padding-top: 11vh;
        height: auto; 
        width: auto; 
        flex: 1; 
        text-align: center; 
    }
    a {
        height: auto;
        width: 100%; 
        display: block; 
        padding: 20px;
        border: 10px solid black;
    }
    picture{
        height: 682px
    }
    section{
        font-size: 150%;
        
    }
    footer{
        font-size: 120%;
    }
    
}

@media only screen and (min-width: 769px) {
    /* Här skriver du design för desktop */
    *{
        width: 100%;
    }
    header{
        height: 400px;
        font-size: 700%;
    }
    nav{
        height: 330px;
    }
    section{
        font-size: 200%;
    }
    
    footer{
        
        height: 400px;
        font-size: 150%;
    }
    li{
        padding-top: 9vh;
    }

    picture{
        height: 260px;
    }
    img{
        height: 55vh;
    }
}
