* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "alternativet";
  src: url(Alternativet-SemiBold.otf) format("truetype");
}

@font-face {
  font-family: "brodtekst";
  src: url(InterTightnormal-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "kursiv";
  src: url(InterTight-Italic-VariableFont_wght.ttf) format("truetype");
}

body {
  /* globale komponenter */
  h1 {
    color: #0e412e;
    font-family: "alternativet", sans-serif;
  }

  h3 {
    color: #00d564;
    font-family: "alternativet", sans-serif;
  }

  h4 {
    color: #0e412e;
    font-family: "alternativet", sans-serif;
    font-size: large;
  }

  p {
    line-height: 150%;
    font-family: "brodtekst", sans-serif;
  }

  nav {
    display: flex;
    justify-content: space-between;
    background: transparent;
    padding: 15px;
    margin-bottom: 0px;
  }

  .navn {
    font-size: 50px;
    display: flex;
    justify-content: center;
  }

  .menu {
    display: none;
    justify-content: space-between;
    gap: 10%;
    flex-direction: column;
    background: #fff;
    font-size: x-large;
    position: absolute;
    top: -50px;
    right: 15px;
    padding: 5%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .menu.active {
    margin-top: 105px;
    display: flex;
    gap: 25px;
  }

  .burger {
    display: block; /* burger synlig på mobil */
    font-size: 50px;
    cursor: pointer;
    color: #00d564;
  }

  .burger:hover {
    color: #0e412e;
  }

  .sofiegroth {
    color: #0e412e;
    font-family: "alternativet", sans-serif;
    font-weight: bold;
  }

  .sofiegroth:hover {
    color: #00d564;
  }

  a {
    font-family: "alternativet", sans-serif;
    text-decoration: none;
    color: #00d564;
  }

  a:active {
    color: #0e412e;
  }

  a:hover {
    color: #0e412e;
  }

  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: -72px;
    margin-right: 4%;
  }

  .logo {
    display: flex;
    width: 35%;
    margin: -11%;
  }

  .logojpg {
    width: 100%;
  }

  /* index */
  .billede {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0%;
  }

  .billedepng {
    width: 70%;
    margin: 0%;
    border-radius: 50%;
  }

  .forsidetekst {
    margin: 10%;
  }

  .overskrift1 {
    display: flex;
    margin: 0px;
    padding: 0px;
  }

  .inhold {
    display: flex;
  }

  /* politik */
  .activepolitik {
    text-decoration: underline;
  }

  .politik {
    margin: 1%;
    margin-top: 20px;
  }

  .klima {
    display: flex;
    align-items: center;
  }

  .klimabillede {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 70%;
    margin: 6%;
    margin-right: 2%;
    margin-left: 2%;
  }

  .naturjpg {
    width: 100%;
    margin: 0%;
  }

  .klimatekst {
    width: 100%;
    margin: 0% 0% 0% 2%;
  }

  .klimatekst h1:hover {
    color: #00d564;
  }

  .familie {
    display: flex;
    align-items: center;
  }

  .familiebillede {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 70%;
    margin: 6%;
    margin-right: 2%;
    margin-left: 2%;
  }

  .familiejpg {
    width: 100%;
    margin: 0%;
  }

  .familietekst {
    width: 100%;
    margin: 0% 0% 0% 2%;
  }

  .familietekst h1:hover {
    color: #00d564;
  }

  .ligestilling {
    display: flex;
    align-items: center;
  }

  .ligebillede {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 70%;
    margin: 6%;
    margin-right: 2%;
    margin-left: 2%;
  }

  .ligepng {
    width: 100%;
    margin: 0%;
  }

  .ligetekst {
    width: 100%;
    margin: 0% 0% 0% 2%;
  }

  .ligetekst h1:hover {
    color: #00d564;
  }

  /* kontakt */
  .activekontakt {
    text-decoration: underline;
  }

  .kontakt {
    display: flex;
    flex-direction: column;
    margin: 10%;
    margin-top: 60px;
  }

  .info {
    width: 100%;
    margin-bottom: 10%;
  }

  .beskedboks {
    width: 100%;
  }

  .ditnavn {
    font-family: "kursiv", sans-serif;
    border: 1px solid #0e412e;
    margin: 5px 0px;
    padding: 5px;
  }

  .mail {
    font-family: "kursiv", sans-serif;
    border: 1px solid #0e412e;
    margin: 5px 0px;
    padding: 5px;
  }

  .emne {
    font-family: "kursiv", sans-serif;
    border: 1px solid #0e412e;
    margin: 5px 0px;
    padding: 5px;
  }

  .besked {
    font-family: "kursiv", sans-serif;
    border: 1px solid #0e412e;
    margin: 5px 0px;
    padding: 5px 5px 150px 5px;
  }

  /* støt */
  .activestot {
    text-decoration: underline;
  }

  .stot {
    display: flex;
    flex-direction: column;
    margin: 10%;
    margin-top: 60px;
  }

  .stottekst {
    width: 100%;
    margin-bottom: 10%;
  }

  .stotknap {
    display: flex;
    justify-content: center;
  }

  .sknap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 347px;
    height: 70px;
    font-size: xx-large;
    font-family: "alternativet", sans-serif;
    color: #00d564;
    background-color: #fff;
    border: 3px solid #00d564;
    border-radius: 100px;
  }

  .stotknap h5:hover {
    color: #0e412e;
  }

  .obs {
    display: flex;
    justify-content: center;
    font-size: x-small;
    margin: 10px auto 20px;
  }

  .vaermed {
    width: 100%;
    margin-bottom: 10%;
  }

  .medlemknap {
    display: flex;
    justify-content: center;
  }

  .mknap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 70px;
    font-size: xx-large;
    font-family: "alternativet", sans-serif;
    color: #fff;
    background-color: #00d564;
    border-radius: 100px;
  }

  .mknap h5:hover {
    color: #0e412e;
  }

  /*.footer */

  .footer {
    background: #ecf5dc;
    color: #333;
    padding: 20px;
    margin-top: 150px;
    text-align: center;
    font-family: "alternativet", sans-serif;
    font-size: small;
  }

  /* links i footer */
  .footer-nav {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-nav a {
    color: #00d564;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-nav a:hover {
    color: white;
  }

  /* layout til desktop */
  @media screen and (min-width: 850px) {
    /* globale komponenter */
    .menu {
      display: flex;
      position: static; /* tilbage til 'normal' */
      flex-direction: row;
      width: auto;
      box-shadow: none;
      background: transparent;
      padding: 0;
    }

    .burger {
      display: none; /* gemt burger på computer */
    }

    nav {
      justify-content: space-between;
      position: relative;
    }

    /* index */
    .indhold {
      display: flex;
      margin-top: 3%;
    }

    .billede {
      width: 100%;
      margin-right: -12%;
    }

    .forsidetekst {
      width: 100%;
    }

    .logo {
      width: 200px;
      margin: -65px;
    }

    /* politik */

    .politik {
      display: flex;
      margin-top: 7%;
    }

    .klimatekst {
      width: 70%;
    }

    .klima {
      flex-direction: column;
      width: 33%;
      margin-left: 4%;
      margin-right: -2%;
    }

    .familietekst {
      width: 70%;
    }

    .familie {
      flex-direction: column;
      width: 33%;
      margin-left: -2%;
      margin-right: -2%;
    }

    .ligetekst {
      width: 70%;
    }

    .ligestilling {
      flex-direction: column;
      width: 33%;
      margin-left: -2%;
      margin-right: 4%;
    }

    /* konatakt */

    .kontakt {
      display: flex;
      flex-direction: row;
    }

    /*.footer */

    .footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }

    .footer-nav {
      flex-direction: row;
      gap: 20px;
      margin-top: 0;
    }
  }
}
