@import url(header.css);
@import url(footer.css);
@import url(cookie.css);
@import url(root.css);

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text-color-main);
}

/* header styles moved to header.css */

* {
  box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: none;
}

.hero {
  background-color: var(--bg);
  color: var(--hero-text);
  padding: 60px 30px 30px 30px;
  border-bottom-left-radius: var(--hero-radius);
  border-bottom-right-radius: var(--hero-radius);
  position: relative;
  padding: 15vh;
}

.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: var(--text-color-main);
  font-size: 18px;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.tab-link:hover {
  color: var(--text-color-secondary);
}

.tab-link.active {
  color: var(--hero-text);
}

#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: var(--hero-bg);
  animation: underline-slide 0.3s forwards;
}

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

  .hero {
    padding: 15vh 0 0 0 !important;
  }
}
