@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

/* reset */
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #9b1e2c;
    font-family: "Libre Franklin", helvetica, arial, sans-serif;
}

header, .contentzone, footer, .distancer{
    margin: 3%;
}

.distancer{
    content: 0;
    height: 48px;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

.contentzone {
    /* margin: 75px 3% 3% 3%; */
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    flex-wrap: wrap;
}
.contentzone .tekstzone2, .tekstzone3{
    width: 100%;
}

.billede {
    /* sætter billedets størrelse til boksen, check senere for mintgrøn border */
    width: 100%;
    height: 100%;
    /* aspect ratio fix fra height justeringen, lader ikke til at gøre noget? */
    object-fit: cover;
    /* fjerner billedets underlige margin i bunden */
    display: block;
    /* runde hjørner */
    border-radius: 5px;
}

/* test til logobillede, for småt + position virkede ikke */
/* .logoimg{
    width: 100%;
    height: 40px;
} */

.billedzone {
    background-color: #b6ccc2;
    border-radius: 5px;
    padding: 5%;
}

.tekstzone {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-top: 3%;
    color: black;
}
.tekstzone2 {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-top: 0 3% 3% 3%;
    color: black;
}
.tekstzone3 {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-top: 0 3% 3% 3%;
    color: black;
    margin-top: 3%;
}

.fb{
    width: 65px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 5px;
    /* padding: 10px; */
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    color: black;
}

.footerlogo{
    height: 240px;
    padding: 15px;
}

h4{
    padding: 15px;
    margin: auto;
}

/* kode fra lektion, modificeret */
.topnav {
    background-color: white;
    border-radius: 5px;
    display: flex;
    justify-content: flex-end;
    box-shadow: 0px 5px 10px #9b1e2c;
}
header a {
    color: black;
    padding: 15px;
    text-decoration: none;
}
.topnav a:hover {
    background-color: #b6ccc2;
    color: #9b1e2c;
    border-radius: 5px;
}

.logo a:hover {
    background-color: #b6ccc2;
    color: #9b1e2c;
    border-radius: 5px;
}

.topnav .icon {
    display: none;
}
.logo {
    /* det virkede at fjerne position top 0 og left 0 */
    position: absolute;
    font-size: large;
    font-weight: 600;
    display: flex;
    padding: 13.5px 15px;
    /* fjeret farve på tekst, virkede ikke, gælder som header a */
}

#logotekst{
    height: 100%;
    width: 100%;
}

.logo a {
    padding: 0;
}

article {
    padding: 20px;
    /* max-width: 800px; */
    margin: 0;
}
h1 {
    padding: 15px 0;
}
h2{
    padding-bottom: 15px;
}
h3{
    padding-bottom: 15px;
}
p {
    line-height: 150%;
    font-size: large;
    padding: 0 0 15px 0;
}
ul {
    padding: 0 0 0 15px;
    line-height: 150%;
    font-size: large;
}
li{
    padding: 0 0 15px;
}

/* mobilstørrelse og menu */
@media screen and (max-width:899px) {
    .topnav a {
        display: none;
    }
    .topnav .icon {
        display: block;
        font-size: 1em;
    }
    .responsive {
        position: relative;
        padding: 60px 0 40px 0;
        flex-direction: column;
        align-items: center;
    }
    .responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .responsive a {
        display: block;
        font-size: 1.2em;
    }
    .logo {
        z-index: 1;
    }
} 

/* desktop/tablet */
@media screen and (min-width: 899px) {
    .billedzone {
        width: 100%;
    }
    .contentzone {
        justify-content: space-between;
    }
    .tekstzone{
        margin-top: 0;
        margin-left: 1%;
        width: 100%;
    }
    .tekstzone2{
        margin-top: 0;
        margin-right: 1%;
        width: 100%;
    }
    .tekstzone3{
        margin-top: 0;
        width: 100%;
    }
    header, .contentzone, footer, .distancer{
    margin: 1%;
    }
    .billedzone {
    padding: 2%;
    }    
    footer{
        justify-content: space-between;
    }
    .contentzone {
        flex-wrap: nowrap;
    }
}

/* header problemer */
/* @media screen and (min-width: 1328px) {
   .bigbox {
        width: 1328px;
        margin: 0 auto;
   }
} */