@font-face {
  font-family: "SuisseIntl-Medium";
  src: url("SuisseIntl-Medium-WebM.woff");
  font-weight: 500;
}
@font-face {
  font-family: "SuisseIntl-Book";
  src: url("SuisseIntl-Book-WebM.woff");
  font-weight: 300;
}
@font-face {
  font-family: "SuisseIntl-Regular";
  src: url("SuisseIntl-Regular-WebS.woff");
  font-weight: 200;
}

p {
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  line-height: 2;
}

.text-content {
  display: grid;
  max-width: 900px;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;

  h1 {
    grid-column: span 2;
    font-size: 60px;
  }

  h3 {
    font-weight: 200;
    font-size: 20px;
  }

  p {
    margin-bottom: 40px;
    font-weight: 200;
    line-height: 1.5;
  }
}

.rive-nav-container {
  left: 0;
  top: 0;

  padding: 30px 140px 10px 10px;

  background-color: #2c4569;
  width: 100%;
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  height: 203px;

  .nav-img {
    display: flex;
    gap: 10px;
    width: fit-content;
    img {
      width: 78px;
      object-fit: cover;
      height: 78px;
    }
  }

  h1 {
    letter-spacing: 0.4px;
    line-height: 1.1;
    color: white;
    font-size: 39px;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 460px;
  }

  a {
    text-decoration: none;
    color: white;
  }
  a:hover {
    opacity: 0.6;
  }

  ul {
    all: unset;
    display: flex;
    gap: 20px;
    justify-self: flex-end;

    li {
      all: unset;
      color: white;
      a {
        font-family: Helvetica, sans-serif;
        font-weight: 200;
        font-size: 14px;
      }
    }
  }
}

.language-container {
  max-height: 45px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  top: 22px;
  right: 12px;
  border-radius: 8px;
  border: 0.5px solid white;
}

.open {
  max-height: none;
}

.language-button {
  cursor: pointer;
  padding: 6px;
  display: flex;
  width: 100%;

  justify-content: start;
  gap: 10px;
  width: 100px;
  align-items: center;

  border: 0.5px solid white;
  padding: 10px;
  color: white;

  &:hover {
    background-color: #e5f0fe;
    opacity: 1 !important;
    color: black;
  }

  img {
    height: 24px;
  }
  p {
    color: white;
  }
}

.text-container {
  display: flex;
  justify-content: center;
  padding: 40px 0px;
}

.header {
  img {
    width: 100%;
    overflow: hidden;
    object-fit: cover;
  }
}

.footerlinks {
  padding: 60px 0px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;

  button {
    color: white;
    background-color: #2c4569;
    border-radius: 50px;
    padding: 20px;
    font-size: 16px;
    width: fit-content;
    position: relative;
    z-index: 20;
    border: 0px;
    transition: 0.2s;
  }

  button:hover {
    background-color: #6ab0c6;
    cursor: pointer;
  }
}

.impressum {
  a {
    color: black;
  }
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 40px;
}

.rive-nav-container {
  display: flex;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  display: none;
}

.hamburger {
  width: 40px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.close-button {
  width: 60px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.mobile--nav_modal {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2c4569;
  color: white;
  padding: 30px;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  height: 60vh;
  width: 100%;

  transform: translateY(-50px);

  transition: ease-out 0.3s;
}

.mobile--nav_modal.open {
  height: 100vh;
  opacity: 1;
  transform: translateY(0px);

  visibility: visible;
}

@media (max-width: 1000px) {
  .text-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0px 20px;
  }

  a {
    text-decoration: none;
    color: white;
  }

  .nav-links {
    position: static;
    padding: 120px 0px;
    width: 360px;
  }

  a:hover {
    opacity: 0.6;
  }

  ul {
    all: unset;
    display: flex;
    flex-direction: column;
    gap: 0px;

    li {
      all: unset;
      color: white;
      padding-bottom: 30px;
      a {
        font-family: Helvetica, sans-serif;
        font-weight: 200;
        font-size: 16px;
      }
    }
  }

  .nav-img {
    display: flex;
    flex-direction: column;
    width: 100% !important;

    h1 {
      font-size: 22px !important;
    }
  }

  h1 {
    font-size: 34px !important;
  }

  .rive-nav-container {
    padding: 24px;
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .language-container {
    position: static;
    width: fit-content;
  }

  .header {
    img {
      height: 215px !important;
    }
  }
}

.accordion-menu-container {
  display: flex;

  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-right: 40px;
}

.open-menu-accordion {
  all: unset;
  background-color: transparent;
  cursor: pointer;
  z-index: 99999999;
  position: absolute;
  right: 0px;
  top: 0px;
}
.open-menu-accordion > img {
  width: 24px;
  background-color: transparent;
  border: 0px;
}
.menu-accordion-content {
  display: none;
}

.menu-accordion-content.open {
  display: block;
}

.flex-hor {
  display: flex;
  gap: 20px;
}

.nav-links {
  width: 100%;
}
.rive-nav-container {
  width: 100%;
  justify-content: space-between;
}
