.modallink {
  cursor: pointer;
}

#menu-button {
  margin-right: 20px;
}

.overflow-hidden {
  overflow: hidden;
}

.nav-link {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ca--color--black);
  letter-spacing: 2px;
}

.main-nav__list a {
  transition: 0.3s;
}

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

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

/* Text Color Animaton */

.background-color-animation {
  background: linear-gradient(90deg, black, black);
  -webkit-background-clip: text;
  -ms-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.background-color-animation:hover, .active {
  background: linear-gradient(90deg, #0049bc, #0349c5, #4235c3, #672dc0, #8f1dbb, #e100b8, #ee1195, #f43569, #f34159, #fb602a, #ff7e00);
  -webkit-background-clip: text;
  -ms-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.a--lang {
  margin-left: 0 !important;
}

.a--lang a {
  margin-top: 14px;
  font-size: 17px;
  padding: 0 7px;
  color: black !important;
}

.lang--de--block {
  position: relative;
  margin-left: 0 !important;
}

@media (min-width: 1200px) {
  .lang--de--block {
    margin-left: 55px !important;
  }
}

@media (min-width: 1200px) {
  .lang--de--block:after {
    content: " ";
    display: block;
    width: 1px;
    height: 15px;
    background-color: var(--ca--color--black);
    transform: rotate(0);
    position: absolute;
    top: 19px;
    right: 0;
  }
}

@media (min-width: 1200px) {
  .lang--en--block {
    margin-right: 15px;
  }
}

.hamburger span, .hamburger:before, .hamburger:after {
  content: " ";
  display: block;
  width: 40px;
  height: 1px;
  background-color: red;
  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;
  left: 10px;
  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);
  }
}

#nav--kontakt {
  display: block;
}

@media (min-width: 1199px) {
  #nav--kontakt {
    display: none;
  }
}

