@import url("footer.css");
@import url("header.css");

body {
  margin: 0px;
  background-color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  padding-top: 15vh;
}

.menu-btn {
  display: none;
}

.content {
  display: none;
}

.content.active {
  display: block;
  padding: 30px;
}

#datenimpagb {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
}

#datenimpagb:hover {
  color: #12506b;
}

.tab-link {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.tab-link.active {
  color: #1b81ac;
}

#datenimpagb::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  background-color: #1b81ac;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

.tab-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background-color: #1b81ac;
  animation: underline-slide 0.3s forwards;
}

@keyframes underline-slide {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 700px) {
  header nav {
    display: none;
  }

  .menu-btn {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 20px;
    margin-top: 30px;
  }

  .menu-btn__burger {
    width: 30px;
    height: 3px;
    background-color: #000000;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
  }

  .menu-btn__burger::before,
  .menu-btn__burger::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #000000;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .menu-btn__burger::before {
    transform: translateY(-10px);
  }

  .menu-btn__burger::after {
    transform: translateY(10px);
  }

  .menu-btn.open .menu-btn__burger {
    transform: rotate(45deg);
  }

  .menu-btn.open .menu-btn__burger::before {
    transform: rotate(90deg) translateX(0px);
  }

  .menu-btn.open .menu-btn__burger::after {
    transform: rotate(90deg) translateX(-10px);
    opacity: 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #ffffffe6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav__item {
    margin: 1rem 0;
  }

  .nav__link {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-align: center;
  }

  .nav__link:hover {
    color: #1b81ac;
  }
}
