:root {
    --Baggrundsfarve: #f0ebdf;
    --Mørkeblå: #0d3680;
    --Lyselila: #9e91f5;
    --Mørkegrøn: #345831;
    --Orange: #f86f3d;
    --lyserød: #ff8a8c;
    --Mørkbeige: #d8d3c3;
    --hvid: #ffffff;
    --sort: #000000;
}
body{
    background-color:#f0ebdf;
    font-family: "Poppins", sans-serif;
  
  }
/* Header-stil */
header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--Baggrundsfarve);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.navbar {
    background-color: var(--Baggrundsfarve);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    padding: 1rem;
    padding-right: 2rem;
}

.navbar img {
    width: 8rem;
    height: auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 5rem;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: var(--sort);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1rem;
    margin: 0;
}

.navbar a:hover {
    color: var(--Mørkeblå);
}

#menu-bar {
    display: none;
}

.burger-label {
    font-size: 2rem;
    color: var(--sort);
    cursor: pointer;
    display: none;
}

.navbar img:hover {
    transform: scale(1.1);
}

section {
    margin-top: -4rem;
}

h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 5rem;
    font-style: bold;
    display: flex;
    justify-content: center;
    color: #0d3680;
  }
  
article{
    font-family: "Poppins", sans-serif;
    font-weight: 550;
    font-size: 1.25rem;
    font-style: bold;
    background-color: #f86f3d ;
    color: #f0ebdf;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 2rem;
}

#Inspo{
    width: 100%;
    height: auto;
    margin-bottom: 10%;
  }

#Rammer{
    width: 100%;
    height: auto;
}

.udvid{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
  }

  .udvid img{
    height: 3.5rem;
  }
  
  .udvid img:hover{
    transform:scale(1.2);
    transition: .5s ease;
  }

.footer {
    display: flex;
    justify-content: space-between;
    align-items: start; /* Justerer elementerne til at starte foroven */
    font-family: "Poppins", sans-serif;
    background-color: #0d3680;
    color: #fff;
    margin-top: 5rem;
}

/* Flex styling til hver footer-sektion */
.footer-section {
    display: flex;
    flex-direction: column; /* Laver en lodret stak af h2 og p */
    align-items: start; /* Justerer elementerne til venstre */
    margin-left: 1rem;
    margin-right: 5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-section h2 {
    margin: 0;
    font-size:1rem;
}

.footer-section p{
    margin-top: 0.5rem;
    font-size: 0.7rem;
}

#Facebook{
    width: 5rem;
    height: auto;
}

/* Media for mobiltelefoner */
@media (max-width: 767px) {

  .navbar ul a {
        color: var(--hvid);
        font-size: 1.5rem;
    }

    .navbar ul a:hover {
        color: var(--Mørkeblå);
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--lyserød);
        padding: 1rem;
        align-items: center;
    }

    #menu-bar:checked ~ ul {
        display: flex;
    }

    .burger-label {
        display: block;
        width: 10rem;
        height: 13rem;
        font-size: 7rem;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


    .udvid img{
        height: 6rem;
    }

    .footer{
        flex-direction: column;
    }

    article{
        font-weight: 300;
        font-size: 1.25rem;
        display: flex;
        justify-content: center;
    }
    
    h1 {
        font-size: 3.2rem; /* Mindre fontstørrelse på mobil */
        margin-top: 4.6rem;
        margin-bottom: 1rem;
    }
}
/* Media for tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        flex-direction: row;
    }

    .navbar img {
        width: 7rem;
        height: auto;
    }

    .navbar ul {
        gap: 1;
    }

    article{
        font-weight: 300;
        font-size: 1rem;
        display: flex;
        justify-content:center;
        padding-left: 5rem;
    }
    
    h1 {
        font-size: 5rem; /* Mindre fontstørrelse på tablet */
    }

    .footer{
        background-color: #0d3680;
        color: #fff;
        margin-top: 5rem;
    }
    .footer-section h2 {
        font-size: 1rem;
        justify-content: space-evenly;
        margin-right: -20rem;
    }
    
    .footer-section p{
        font-size: 0.5rem;
        margin-right: -25rem;
    }
}