/* ========== BASE ========== */
* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #333;
  }
  
  
  /* ========== TYPOGRAFI ========== */
  h4 {
    font-family: 'Bebas Neue', cursive;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 0.5rem;
    color: #167544;
  }
  
  h1, h2, h3 {
    font-family: 'Bebas Neue', cursive;
    font-weight: normal;
    color: #167544;
  }



  /* ========== HEADER ========== */
  header {
    background-color: #EEE1D1;
    padding: 20px 0;
    z-index: 1000;
    position: sticky;
    top: 0;
  }
  
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .main-nav a {
    font-family: 'Bebas Neue', cursive;
    text-decoration: none;
    color: #167544;
    padding: 10px;
    font-size: 16px;
  }
  
  .main-nav a:hover {
    text-decoration: underline;
  }
  
  .nav-left,
  .right-nav,
  .logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .icon {
    height: 22px;
  }
  
  
  /* ========== DROPDOWN ========== */
  summary::-webkit-details-marker {
    display: none;
  }
  
  details {
    position: relative;
  }
  
  details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Bebas Neue', cursive;
    color: #167544;
    padding: 10px;
  }
  
  summary span:first-child:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  
  .arrow {
    transition: transform 0.2s;
    font-size: 0.8em;
  }


  
  details[open] .arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    position: absolute;
    background-color: #EEE1D1;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
    margin-top: 5px;
  }
  
  .dropdown-menu li {
    padding: 5px 10px;
    white-space: nowrap;
  }
  
  .dropdown-menu a {
    display: block;
    color: #167544;
    padding: 5px 10px;
  }
  
  .dropdown-menu a:hover {
    background-color: #e0d1b8;
    text-decoration: underline;
  }
  
  /* ========== FOOTER ========== */
  .footer {
    display: flex;
    justify-content: space-between;
    background-color: #EEE1D1;
    padding: 2rem;
    color: #167544;
    font-family: 'Open Sans', sans-serif;
    flex-wrap: wrap;
    font-size: 12px;
  }
  
  .footer-column {
    flex: 1 1 200px;
    margin: 1rem;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 0.3rem;
  }
  
  .footer-column a {
    text-decoration: none;
    color: #167544;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  .footer-column input[type="email"] {
    border: none;
    border-bottom: 2px solid #167544;
    background: transparent;
    padding: 0.5rem 0;
    width: 100%;
    color: #167544;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-column h4 {
    font-family: 'Bebas Neue', cursive;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    color: #167544;
    margin-top: 10px; /* Mere afstand over overskrifter */
  }
  
  /* Responsiv styling */
  @media (max-width: 1200px) {
      .footer {
          flex-wrap: wrap; /* Tillad indpakning på mindre skærme */
          justify-content: center; /* Centrer kolonnerne */
          font-size: 7px; /* Mindre skriftstørrelse på mindre skærme */;
      }

      .footer-column p, a {
         font-size: 8px;
      }
  
      .footer-column {
          flex: 4 4 calc(27% - 4rem); /* Kolonner fylder 50% af bredden */
          text-align: left; /* Centrer teksten i hver kolonne */
      }

      .footer-column h4 {
        font-size: 10px; /* Mindre skriftstørrelse for overskrifter på mindre skærme */
        margin-top: 10px; /* Mere afstand over overskrifter */
      }

      input::placeholder {
          font-size: 7px; /* Mindre skriftstørrelse for placeholder */
      }
  }
  
  @media (max-width: 480px) {
    .footer {
        flex-wrap: wrap; /* Tillad indpakning på mindre skærme */
        justify-content: center; /* Centrer kolonnerne */
        font-size: 8px; /* Mindre skriftstørrelse på mindre skærme */;
    }

    .footer-column p, a {
        font-size: 8px;
     }

     .footer-column h4 {
        font-size: 8px; /* Mindre skriftstørrelse for overskrifter på mindre skærme */
        margin-top: 10px; /* Mere afstand over overskrifter */
      }

    .nyhedsbrev {
        display: none; /* Skjul elementet */
    }

    .footer-column {
        flex: 3 3 calc(33% - 3rem); /* Kolonner fylder 50% af bredden */
        text-align: left; /* Centrer teksten i hver kolonne */
    }

    .footer-column h4 {
      font-size: 10px; /* Mindre skriftstørrelse for overskrifter på mindre skærme */
      margin-top: 10px; /* Mere afstand over overskrifter */
    }

    .social-icon {
      width: 30px; /* Mindre størrelse for sociale ikoner */
      height: 30px; /* Mindre størrelse for sociale ikoner */
    }

}


  