/* ==========================
   Allgemein
========================== */
:root {
  --hauptfarbe: #16243d;
}

html,
body {
  overscroll-behavior: auto;
  /*Overscroll-Effekt (Dehnbandeffekt)*/
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Verdana', sans-serif;
}

body {
  background-color: #0a0f1a;
  background-color: var(--hauptfarbe);
  color: #f0f0f0;
  line-height: 1.6;
  padding-bottom: 60px;
}

a {
  color: #d9e4e9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.a_link1 {
  color: #909fa7;
}

.a_link1 {
  color: #00bfff;
  text-decoration: underline;
}

.a_link2 {
  color: #214252;
  text-decoration: underline;
}
a[href^="tel:+491706304055"],
 [href^="mailto:info@tauchverein-ovg.de"] {
  color: #214252;
  text-decoration: underline;
}


/* ==========================
   Navbar
========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .1rem .2rem;
  padding-top: 2px;
  padding-right: 10px;
  position: fixed;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 1000;
  background-color: #d5dae0;
  border-bottom: 2px solid #2b587e;
  max-width: 1680px;

}

/*Formatierung  Logo-Schriftzug oben links*/
.navbar .vereinslogo {
  color: #14384a;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 120%;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin-left: 1.5rem;
}

.navbar ul li a {
  padding: 0.5rem 1rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
  border-radius: .4rem;
  transition: 1.4s;
  color: #22282b;
}

/*Formatierung Mouse over Buttons*/
.navbar ul li a.active,
.navbar ul li a:hover {
  background-color: #00bfff;
  color: #0a0f1a;
}

.bannerlogo {
  height: 50px;
  width: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 7px;
  padding-left: 7px;
}

.menu-toggle {
  display: none;
  background-color: #00bfff;
  background: none;
  font-size: 1.4rem;
  padding: 5px;
  cursor: pointer;
}

/* ==========================
   Hero Section
========================== */
.hero {
  position: relative;
  height: 28vw;
  min-height: 400px;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero--start {
  background-image: url('image2.jpeg');
}

.hero--about {
  background-color: white;
  background-image: url('TSV-Logo-rgb_ohneText.svg');
}

.hero--contact {
  background-image: url('image1.jpeg');
}

.hero--events {
  background-image: url('image4.jpg');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.7), rgba(0, 0, 0, 0.7));
  background: rgba(10, 15, 26, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  color: #00bfff;
  animation: fadeIn 1.5s ease-out;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow:
    0 0 28px rgb(147, 152, 155),
    0 0 18px rgb(0, 0, 0),
    0 0 16px rgba(0, 0, 0, .55);
}

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow:
    0 0 28px rgb(11, 27, 36),
    0 0 18px rgba(0, 0, 0, 1),
    0 0 16px rgba(0, 0, 0, .5);
  font-weight: 700;
}

.hero-btn {
  padding: 1rem 2rem;
  background-color: #00bfff;
  color: #0a0f1a;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s;
}

.hero-btn:hover {
  background-color: #9aa2a5;
  transform: scale(1.05);
}

/* ==========================
   Animation
========================== */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.menulist {
  white-space: nowrap;
}

/* ==========================
   Intro / Content
========================== */
.intro {
  max-width: 800px;
  margin: 0rem auto;
  padding: 1.6rem;
}

.intro-box {
  border: 2px solid #1e516b;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 8px;
  background: #f8fcff;
  background-color: #f1f4f9;
  width: 100%;
  box-sizing: border-box;
}

.intro h3 {
  margin-bottom: 0.2rem;
  color: #1e516b;
  font-size: 1.4rem;
  line-height: 140%;

  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  text-align-last: left;

}

.intro p,
.intro ul {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.0rem;
  line-height: 140%;
  font-weight: normal;
  color: #0f1011;

  /*Blocksatzregeln*/
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  text-align-last: left;
}

.intro ul {
  list-style-type: disc;
  margin-left: 2rem;
  line-height: 160%;
}

.intro ul li {
  color: #0b608a;
}

.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.logo_VDST {
  height: 140px;
  margin-left: 20px;
}

.logo_LSB {
  height: 90px;
  margin-right: 20px;
}

/* ==========================
   Table (Impressum)
========================== */
.table_rechts td,
.table_rechts th {
  text-align: left;
  border: 1px solid #857a7a;
  padding-left: 8px;
  color: #2a394d;
  word-break: normal;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 120%;
}

.table_rechts th:nth-child(1),
.table_rechts td:nth-child(1) {
  width: 25%;
}

.table_rechts th:nth-child(2),
.table_rechts td:nth-child(2) {
  width: 75%;
}

.table_rechts {
  margin-top: 30px;
  margin-bottom: 30px;
  border-collapse: collapse;
}

/* ==========================
   Frame für Datenschutzerklärung
========================== */

iframe {
  border: 1px solid #586470;
  border-radius: 6px;
  box-shadow: 0 4px 4px #888;
}

/* ==========================
   Footer
========================== */
footer {

  text-align: center;
  padding: 2rem;
  background-color: #081029;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #888;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #081029;
  color: #888;
  text-align: center;
  padding: 0.7rem 0;
  z-index: 9999;
}

/* ==========================
   Buttons
========================== */
button {
  padding: 0.8rem 1.5rem;
  background-color: #00ff00;
  color: #0a0f1a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

/*button:hover {
  background-color: #0095d6;
}*/

/* ==========================
   Bubbles :-)
========================== */

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(173, 216, 230, 0.7);
  width: 25px;
  height: 25px;
  animation: rise 6s linear infinite;
  opacity: 0.8;
  z-index: 20;
  left: 40%;
}

.bubble:nth-child(2) {
  left: 30%;
  width: 22px;
  height: 22px;
  animation-duration: 7s;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  left: 60%;
  width: 25px;
  height: 25px;
  animation-duration: 4s;
  animation-delay: 1s;
}

.bubble:nth-child(4) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-duration: 5s;
  animation-delay: 3s;
}

@keyframes rise {
  0% {
    bottom: 40%;
    opacity: 0;
    transform: translateX(0) scale(1);
  }

  70% {
    opacity: 4;
    transform: translateX(20px) scale(1.05);
  }

  100% {
    bottom: 100vh;
    opacity: 40;
    transform: translateX(-10px) scale(1.1);
  }
}



/* ==========================
   Responsive
   Anpassung an verschiedene Bildschirmauflösungen
========================== */

@media (min-width:835px) {
  .menulist {
    display: flex;
    gap: 0.0rem;
  }

  footer {
    font-size: 0.9rem;
  }
}

@media (max-width: 834px) {
  .navbar ul {
    flex-direction: column;
    margin-top: 1px;
    /* Abstand oben */
    gap: 30px;
    /* Abstand zwischen den Elementen */
    background-color: #d5dae0;
    position: absolute;
    top: 100%;
    right: 0;
    text-align: right;
    width: 100%;
    padding-right: 20px;
    /* Abstand zum rechten Rand */
    padding: 20px 10px;
    /* vergrößert den Hintergrundbalken */
  }

  .menu-toggle {
    display: block;
  }

  .menulist {
    display: flex !important;
    flex-direction: column;
    gap: 30px;
    /* vertikaler Abstand */
  }

  .menulist:not(.show) {
    display: none !important;
  }

  .hero {
    min-height: 280px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-toggle {
    display: block;
  }

  .intro h3 {
    font-size: 1.4rem;
    font-size: 1.3rem;
  }

  .intro p,
  .intro ul li {
    font-size: 1.1rem;
  }

  .logo_VDST {
    height: 70px;
  }

  .logo_LSB {
    height: 45px;
  }

  footer {
    font-size: 0.8rem;
  }

}