/*(c)Caroline Lackner 2023*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5e0d3;
    min-height: 100vh;
}

.banner{
    border-radius: 10px;
}

.image{ /*er for billeder i <div class="wrapper">*/
    max-height: 240px;
    max-width: 320px;
    float: left;
    border: 3px solid #E5A598;
    border-radius: 10px;
    margin-right: 15px; 
}

.image-forside{ /*jeg tog det fra forsiden og har ikke givet det et andet navn. for 2 billeder*/
    max-width: 320px;
    max-height: 240px;
    border: 3px solid #E5A598;
    border-radius: 10px;
}

.image-forside2{ /*for 4 billeder*/
    max-width: 200px;
    max-height: 240px;
    border: 3px solid #E5A598;
    border-radius: 10px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eb4e61;
    z-index: -1;
}

.logo{
    max-height: 40px;
}
.navbar a {    
    font-size: 1.15rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 2.5rem;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

/*BREAKPOINTS*/ /*breakpoints er skærmstørrelser*/
@media (max-width: 992px){
    .header{
        padding: 1.3rem 5%;
    }
}

@media (max-width: 768px){
    .icons{
       display: inline-flex;
    }

    #check:checked~.icons #menu-icon{
        display: none;
    }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: #ea5768;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar{
        height: 17.1rem;
    }

    .navbar a{
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }
}

.wrapper{ /*for billeder med max-width 320px og tekstsboxen er efter billedet*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    margin-bottom: -40px;
    width: 77%;
}

.wrapper2{ /*tekstboxer med en eller 2 linjer og max-width*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 77%;
}

.wrapper3{ /*for billeder med max-height og max-width*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    width: 77%;
}

.wrapper4{ /*for billeder med max-width 320px og tekstsboxen er ikke efter billedet*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    width: 77%;
}

.wrapper5{ /*for billeder med max-height */
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    margin-bottom: 160px;
    width: 77%;
}

.wrapper6{ /*for billeder med max-height og max-width og en eller 2 linjer tekst*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    margin-bottom: 150px;
    width: 77%;
}

.wrapper7{ /*for billeder med max-height og max-width og flere tekst*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    margin-bottom: 100px;
    width: 77%;
}
.wrapper8{ /*for små billeder under max-height and max-width*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    width: 77%;
}

.wrapper-ref{ /*for kun tekstboxer*/
    margin-left: 150px;
    margin-right: 150px;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 77%;
}

.wrapper .banner{
    width: fit-content; 
    margin-top: 3%; 
    margin-bottom: 100px;
}

.img-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #f7c29e;
    border-radius: 10px;
    padding-top: 2.5%;
}

.single-img{
    padding: 0 20px 20px;

}

.text-box{
    background-color: #f7c29e;
    border-radius: 10px;
    padding: 20px;
}

.text-box-main{
    background-color: #f7c29e;
    margin-left: 150px;
    margin-right: 150px;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 50px;
}

.text-box-main p{
    font-size: 16px;
}

.text-box-over{
    background-color: #f7c29e;
    margin-left: 150px;
    margin-right: 150px;
    width: 77%;
    padding: 10px;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.text-box-over2{
    background-color: #f7c29e;
    margin-left: 150px;
    margin-right: 150px;
    width: 77%;
    padding: 10px;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

h1{
    font-size: 42px;
    color: #904756;
    padding-bottom: 5px;
}

.text-box h2{
    font-size: 32px;
    color: #904756;
    padding-bottom: 5px;
}

.text-box p{
    font-size: 16px;
}

.footer{
    background-color: #3a3a3a;
    padding: 70px 0;
}

.footer-col{
    width: 50%;
    padding: 0 15px;
}

.footer-col h4{
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #ea5768;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}

.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover{
    color: #fff;
    padding-left: 8px;
}

.footer-col .social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover{
    color: #3a3a3a;
    background-color: #fff;
}

.container{
    max-width: 1170px;
    margin: auto;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

ul{
    list-style: none;
}

@media(max-width: 768px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px){
    .footer-col{
        width: 100%;
    }
}