*{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: whitesmoke;
}
p{
    font-size: 11pt;
}
h2{
    font-size: 16pt;
    margin: 5px 0;
}
.ruta{ 
    width: 80%;
    min-width: 800px;
    max-width: 1600px;
    margin: 0 auto;
    border: 2px solid #21A2E3;
}
header{
    background-color: #21A2E3;
    color: white;
}
nav{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}
nav h1{
    font-size: 32pt;
}
section{
    padding: 1px 10px;
}
.färg{
    color: #21A2E3;
    text-decoration: none;
}
.färg:hover{
    color: #e99700;
    text-decoration: underline;
}
#bild{
    float: right;
    width: 300px;
    height: auto;
    margin: 10px;
}
table{
    width: 60%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 11pt;
}
td{
    border: 1px dashed #343A40;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
th{
    border: 1px dashed #343A40;
    padding: 10px;
    text-align: center;
    background-color: #21A2E3;
    color: white;
    font-size: 16pt;

}
td a{
    color: black;
    text-decoration: none;
}
footer{
    font-size: 11pt;
    background-color: #343A40;
    text-align: left;
    padding: 10px;
}
footer p{
    color: rgb(223, 211, 211);
}
footer a{
    color: whitesmoke;
    text-decoration: underline;
}
footer a:hover{
    color: #e99700;
}

@media screen and (max-width: 599px) {
    header {
        background-color: darkgreen;
    }
    .ruta {
        width: 90%;
        min-width: 0;
    }
    #bild {
        float: none;
        display: block;
        width: 90%;
        margin: 10px 0;
    }
    table {
        width: 100%;
    }
    th {
        background-color: darkgreen; 
    }
    nav {
        flex-direction: column;
    }
}

@media screen and (max-width: 1024px) and (min-width: 600px) {
    header {
        background-color: darkred;
    }
    .ruta {
        width: 80%;
        min-width: 0;
    }
    table {
        width: 80%;
    }
    th{
        background-color: darkred;
    }
    
}