* {
  margin: 0;
  padding: 0;
  color: #D8F7D5;
  box-sizing: border-box;
}

body {
  background-image: url(../bilder/Titel_bilder/Kontakt.jpg);
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  background-color: #31ae4e;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS';
  cursor: url('../bilder/Icon/MausZombie.png'), auto;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  background: #22983D;
  padding: 1em 2em;
  width: 100%;
  z-index: 10;
}

.header img {
  max-height: 60px;
  display: block;
  margin-right: 1em;
}

.navbar {
  margin-left: auto;
  z-index: 10;
}

.nav-links {
  border: 3px solid #0c310c;
  border-radius: 5%;
  position: fixed;
  list-style: none;
  display: none;
  flex-direction: column;
  background-color: #22983D;
  top: 70px;
  right: 2em;
  width: 160px;
  padding: 10px;
  z-index: 20;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
  font-size: 18px;
  text-align: center;
  margin: 10px 0;
}

.nav-links a {
  color: #D8F7D5;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.menu-toggle {
  position: fixed;
  right: 2em;
  top: 1.5em;
  width: 40px;
  height: 40px;
  background-image: url('../bilder/Icon/Hamburger-Icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 21;
}

.logo {
  max-height: 60px;
  height: auto;
}

.form-container {
    position: relative;
    left: 5%;
    max-width: 30%;
    background: transparent;
    padding: 10% 1% 10% 1%;
    border-radius: 12px;
    z-index: 5;
}

label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

input,
textarea {
    width: 100%;
    padding: 1%;
    margin-top: 1.5%;
    border-radius: 6px;
    border: 0.5% solid #22983D;
    background-color: white;     
    color:rgb(8, 51, 10);               
    border: 1px solid #ccc;
}

button {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    background-color: #22983D;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
}

.checkbox {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

button:hover {
    background-color: #15551d;
}

.dark-date::-webkit-datetime-edit {
    color: #000;
}

.dark-textarea {
    background-color: white;
    color: rgb(8, 51, 10);
}

.dark-textarea::placeholder {
    color:  rgb(8, 51, 10);
    opacity: 1;
}

.cap {
  margin: 2em;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cap label{
font-family: 'Mountains of Christmas', cursive;
  font-size: 30px;
  color: #1f8312;
}

.footer {
  position: fixed;
  bottom: 0;
  background: #22983D;
  color: #D8F7D5;
  text-align: center;
  width: 100%;
  z-index: 6;
  cursor: url('../bilder/Icon/MausZombie.png'), pointer;
}

@media (max-width:1300px) {
    
    body {
        overflow-x: hidden;
        font-size: 16px;
        background-image: url(../bilder/Titel_bilder/Kontakt.jpg);
        background-size: cover;
        background-position: 0 2%;
    }
    
    .header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    }
    
      .header img {
        height: auto;
        padding: 0;
      }
    
      .menu-toggle {
    width: 5%;
    height: 5%;
    top: 3%;
    right: 10%;
    background-size: contain;
      }
    
      .nav-links {
    width: 12%;
    top: 5%;
    right: 6.5%;
    padding: 10px 0;
    }
    
      .nav-links li {
        font-size: 18px;
      }
 
    .footer {
        position: fixed;
        bottom: 0;
        font-size: 14px;
        padding: 1%;
        max-width: 100%;
        margin-top: 1%;
        z-index: 5;
      }

}

@media (max-width:970px) {
    
    body {
        overflow-x: hidden; 
        font-size: 16px;
        background-image: url(../bilder/Titel_bilder/Kontakt2.jpg);
    background-size: cover;
    background-position: 0 2%;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%; 
    }
    
      .header img {
        height: auto;
        padding: 0;
      }
    
      .menu-toggle {
      width: 5%;
      height: 5%;
      top: 0.3%;
      right: 3%;
      background-size: contain;
      }
    
      .nav-links {
    width: 12%;
    top: 5%;
    right: 6.5%;
    padding: 10px 0;
    }
    
      .nav-links li {
        font-size: 18px;
      }

    .footer {
        position: fixed;
        bottom: 0;
        font-size: 14px;
        padding: 1%;
        max-width: 100%;
        margin-top: 1%;
        z-index: 5;
      }

}

@media (max-width:700px) {
    
    body {
        overflow-x: hidden;
        font-size: 16px;
        background-image: url(../bilder/Titel_bilder/Kontakt3.jpg);
    background-size: cover;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
      .header img {
      max-height: 40px;
      }
    
      .menu-toggle {
    width: 5%;
    height: 5%;
    top: 0.5%;
    right: 10%;
    background-size: contain;
      }
    
      .nav-links {
    width: 12%;
    top: 5%;
    right: 6.5%;
    padding: 10px 0;
    }
    
      .nav-links li {
        font-size: 18px;
      }

.form-container {
    position: relative;
    left: 5%;
    max-width: 50%;
    background: transparent;
    padding: 10% 1% 10% 1%;
    border-radius: 12px;
    z-index: 5;
}

.cap {
  margin: 3em;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
    
    .footer {
        position: fixed;
        bottom: 0;
        font-size: 14px;
        padding: 1%;
        max-width: 100%;
        margin-top: 1%;
        z-index: 5;
      }

}

@media (max-width:480px) {

  body {
    overflow-x: hidden;
    font-size: 16px;
    background-image: url(../bilder/Titel_bilder/Kontakt4.jpg);
    margin-top: 3em;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu-toggle {
    width: 10vw;
    height: 10vw;
    top: 0%;
    right: 4%;
    background-size: contain;
  }

  .nav-links {
    width: 40%;
    top: 5%;
    right: 0;
    padding: 10px 0;
  }

  .nav-links li {
    font-size: 18px;
  }

  .form-container {
    position: relative;
    left: 5%;
    max-width: 70%;
    background: transparent;
    padding: 10% 1% 10% 1%;
    border-radius: 12px;
    z-index: 5;
}

.cap {
  margin: 3em;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

  .footer {
    font-size: 14px;
    max-width: 100vw;
    overflow-x: hidden;
  }

}