#mainNav {
  padding: 1rem 0;
  background-color: var(--pg--navigation--bgcolor);
  border-bottom: 1px solid var(--pg--navigation--navline);
  transition: background-color 0.5s ease-in-out;
  padding-top: 40px;
}

/* Stil für den Inhalt */

.content {
  height: 1500px;
}

.modallink {
  cursor: pointer;
}

#menu-button {
  margin: -20px 0 0 2rem;
}

.overflow-hidden {
  overflow: hidden;
}

.nav-link {
  font-size: 20px;
  text-transform: uppercase;
  color: var(--ca--color--black);
  letter-spacing: 2px;
  font-family: 'Fjalla One';
}

@media (min-width: 1400px) {
  .nav-link {
    padding: 0 20px;
  }
}

.nav-link:focus, .nav-link:hover {
  color: black;
}

.main-nav__list a {
  transition: 0.3s;
  color: var(--pg--linkcolor);
}

.mainNav--hover .main-nav__list a {
  color: var(--pg--linkcolor);
}

@media (min-width: 1200px) {
  .main-nav__list:hover a, .main-nav__list:hover .active {
    opacity: 0.3;
    color: var(--pg--linkcolor--hover);
  }
}

@media (min-width: 1200px) {
  .active {
    color: var(--pg--linkcolor--hover)!important;
    opacity: 1!important;
  }
}

@media (min-width: 1200px) {
  .main-nav__list a:hover {
    opacity: 1;
  }
}

.hamburger span, .hamburger:before, .hamburger:after {
  content: " ";
  display: block;
  width: 40px;
  height: 1px;
  transform: rotate(0);
  position: absolute;
}

/* Mobile */

@media (min-width: 1200px) {
  .main-nav__item {
    cursor: pointer;
    margin-left: 10px;
  }
}

@media (min-width: 1400px) {
  .main-nav__item {
    margin-left: 20px;
  }
}

.hamburger {
  display: none;
  width: 50px;
  height: 50px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  z-index: 999;
}

.hamburger span, .hamburger:before, .hamburger:after {
  content: " ";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #000;
  transform: rotate(0);
  position: absolute;
  transition: all 300ms ease-in-out;
}

.hamburger:before {
  top: 16px;
}

.hamburger span {
  top: 25px;
}

.hamburger:after {
  bottom: 15px;
}

.hamburger.active span {
  opacity: 0;
  /*top: 25px;*/
  /*transform: rotate(90deg);*/
}

.hamburger.active:before {
  width: 34px;
  top: 25px;
  left: 8px;
  transform: rotate(45deg);
}

.hamburger.active:after {
  width: 34px;
  bottom: 24px;
  left: 8px;
  transform: rotate(-45deg);
}

/* Main Menu */

@media only screen and (max-width: 1199px) {
  .hamburger {
    display: block;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list {
    overflow: hidden !important;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 888;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open {
    width: 100%;
    overflow: hidden;
  }
}

/* Nav Moving */

.mobile--logo {
  display: block;
  width: 100px;
  margin-bottom: 1rem;
}

@media (min-width: 1199px) {
  .mobile--logo {
    display: none;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list .nav-item {
    opacity: 0;
    transform: scale(1.5);
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item {
    opacity: 0;
    transform: scale(1.5);
    animation-name: nav-moving;
    animation-duration: 1s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(2) {
    animation-delay: 0.4s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(3) {
    animation-delay: 0.5s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(4) {
    animation-delay: 0.6s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(5) {
    animation-delay: 0.7s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(6) {
    animation-delay: 0.8s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(7) {
    animation-delay: 0.9s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(8) {
    animation-delay: 1s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(9) {
    animation-delay: 1.1s;
  }
}

@media only screen and (max-width: 1199px) {
  .main-nav__list.open .nav-item:nth-of-type(10) {
    animation-delay: 1.2s;
  }
}

@keyframes nav-moving {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.link--klein--font {
  font-size: 13px;
}

