/* CSS for nettsiden */

/* Generelt: */
body {
    background-color: rgb(27, 27, 27);
    color: white;
    font-family: Arial, sans-serif;
}

header {
    background-color: #FFA30B;
    padding: 20px;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    position: absolute;
    top: 0;
    width: 98%;
    margin-top: 1,5%;
    margin-bottom: 2%;
}

.article3 {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 20px; 
    padding: 20px;
}

.Statistikk, .konsekvenser {
    flex: 1; 
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

@media (max-width: 768px) {
    article {
        flex-direction: column;
    }
}


.Statistikk {
    width: 20%;
}

.Konsekvenser {
    width: 20%;
}


.section1 {
    margin-top: 5%;
    border-radius: 10px;
    margin: 5%;
    padding: 1%;
}

footer {
    background-color: #FFA30B;
    padding: 10px;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    width: 98%;
    margin-bottom: 0.5%;
    font-size: 0.8em;
}

section {
    background-color: #FFA30B;
    align-items: center;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}

.sect1 {
    background-color: #FFA30B;
    color: black;
    margin-top: 300px;
}

a {
    text-decoration: none;
    color: black;
}

/* Meny: */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #FFA30B;
}
li {
    float: left;
    border: 3px solid black;
    border-radius: 10px;
    margin-right: 10px;
}
ul li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
ul li a:hover {
    background-color: rgb(27, 27, 27);
    color: white;
}

/* Classes/Klasser: */
.h1a {
    text-align: center;
    margin: auto;
    padding: 10px;
    float: left;
    font-size: 2em;
}

.white {
    color: white;
}

.black {
    color: black;
}

.active {
    background-color: #111;
    color: white;
}

.left {
    float: left;
}

.right {
    float: right;
}

h2{
    color: #111;
}