/* COMMONS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Encode Sans', sans-serif;
  background-color: black;
  height: 95vh;
}

h2 {
  font-size: 30px;
  color: #07501f;
  padding-top: 50px;
  margin-bottom: 20px;
}

p {
  color: #8A8A8A;
  line-height: 2;
  font-size: 18px;
}

/* NAVBAR */
nav {
  height: 60px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 16px;
  max-width: 100%;
  width: 100%;
  background-color: none;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav .mobile-navbar {
  display: none;
}

/* Nav Blinking */
nav .blinking {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  margin-right: auto;
  top: 0%;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  z-index: 600;
  transition: all 0.6s ease 0s;
}

nav .blinking a {
  color: #2e2f2e;
  text-decoration: none;
}

nav .blinking i {
  padding-right: 10px;
}

nav .blinking:hover {
  animation: blinkingText-shadow 3.2s infinite;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  cursor: pointer;
}

@keyframes blinkingText-shadow {
  0% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  49% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  51% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  54% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  60% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }

  99% {
    text-shadow: 0 0 2px #24ff24, 0 0 4px #07501f;
  }

  100% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }
}

/* Nav Links */
nav .navbar li {
  display: inline-block;
  padding-right: 20px;
  transition: all 0.6s;
  font-size: 20px;
}

nav .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: #24ff24;
}

nav .navbar li i {
  padding-right: 5px;
  transition: all 0.6s;
}

nav .navbar li a:hover {
  font-size: 30px;
  color: #07501f;
}

/* NAV SCROLLED */
nav.scrolled {
  height: 6vh;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #24ff24;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav.scrolled .mobile-navbar {
  display: none;
}

/* Nav Scrolled Links */
nav.scrolled .navbar li {
  transition: all 0.6s;
  font-size: 18px;
}

nav.scrolled .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: black;
}

nav.scrolled .navbar li a:hover {
  font-size: 28px;
  color: #2e2f2e;
}

/* FORMULAR */
.formular {
  text-align: center;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}

.formular h2 {
  text-transform: uppercase;
}

.formular form {
  max-width: 40%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  font-family: 'Encode Sans', sans-serif;
}

.formular form input,
.formular form textarea {
  font-family: 'Encode Sans', sans-serif;
  color: #8A8A8A;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 12px;
  margin-bottom: 8px;
  border: 0;
}

.formular form input:focus,
.formular form textarea:focus {
  outline: #24ff24;
  outline-width: 2px;
  outline-style: solid;
}

.formular form input[type="submit"] {
  color: black;
  font-weight: 700;
  background: #24ff24;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

/* FOOTER */

.pusher{
  height: 18vh;
}

#footer {
  width: 100%;
}

footer p {
  font-size: 15px;
  text-align: center;
}

.footerinfo a{
  font-size: 13px;
  color: #6d6d6d;
  text-decoration: none;
  transition: all 0.6s;
}
.footerinfo a:hover{
  color: #24ff24;
  transition: all 0.6s;
}



/* MEDIA QUERIES 1 */
@media(max-width: 1200px) and (min-width: 901px) {

  nav .blinking{
    font-size: 30px;
  }

  nav .navbar li a{
    font-size: 30px;
  }

  nav .navbar li a:hover{
    font-size: 40px;
  }

  span.text{
    display: none;
  }

    .fragebogen {
      flex-direction: column;
      width: 80%;
    }

    .fragebogen form {
      width: 90%;
    }

    .fragebogen form textarea{
      width: 90%;
    }

}


/* MEDIA QUERIES */
@media(max-width: 900px) {

  .formular . content{
    flex-direction: column;
  }

  .formular form {
    max-width: 80%;
  }

    .fragebogen {
      flex-direction: column;
      width: 80%;
    }

    .fragebogen form {
      width: 90%;
    }

    .fragebogen form textarea{
      width: 90%;
    }

  .navbar {
    display: none;
  }

  .blinking a {
    font-size: 30px;
  }

  nav .blinking:hover {
    font-size: 30px;
  }

  nav .mobile-navbar {
      display: flex;
      flex-direction: column;
      background-color: #2e2f2e;
      position: fixed;
      top: 0;
      left: 100vh;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100vh;
      transition: all 0.6s;
    }

    nav.scrolled .mobile-navbar {
      display: flex;
      flex-direction: column;
      background-color: #2e2f2e;
      position: fixed;
      top: 0;
      left: 100vh;
      align-items: center;
      justify-content: center;
      width: 100vw;
      height: 100vh;
      transition: all 0.6s;
    }

    nav .mobile-navbar.active {
      left: 0;
    }

    nav.scrolled .mobile-navbar.active {
      left: 0;
    }

  nav .mobile-navbar li {
    list-style: none;
  }

  nav .mobile-navbar i {
    font-size: 40px;
    padding-right: 10px;
    margin-bottom: 20px;
  }

  nav .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  /* MENU BUTTON */
  .container-menu {
    height: 50px;
    width: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: fixed;
    right: 20px;
  }

  .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn {
    background: transparent;
  }

  .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: #24ff24;
    transition: all .4s;
  }

  .menu-btn::after {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  .menu-btn::before {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }

  nav.scrolled .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn {
    background: transparent;
  }

  nav.scrolled .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: black;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::after {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::before {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }
}
