:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  font-family: Berlin Sans FB Demi, var(--default-font-family);
}

a{
  text-decoration: none;
}
.h2t{
  font-family: Berlin Sans FB Demi, var(--default-font-family);
  position: relative;
  font-size: 42px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  width: 80%;
  color: #ADD8E6;
  margin-top: 0;
}

.main-container,
.main-container * {
  box-sizing: border-box;
}

input,
select,
textarea,
button {
  outline: 0;
}

.main-container {
  width: 100%;
  max-width: 1920px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-row-ca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 17px 0 0;
  z-index: 1000;
}

.navigationtext {
  color: #ffffff;
  font-size: 26px;
  line-height: 20px;
  font-weight: 700;
}

.logo-weiss {
  width: auto;
  height: 100px;
  top: 0;
  left: 0;
  background-size: cover;
  z-index: 15;
}

.logo-weiss img {
  width: 100%;
  height: 100%;
}

.ellipse {
  position: relative;
  width: 30%;
  margin: 88px auto 0; /* Centered horizontally */
  background: url(./assets/images/a7dabaee-f28b-4fc6-a92a-2d752927f624.png) no-repeat center;
  background-size: cover;
  z-index: 8;
}


.flex-row-f {
  margin: 95px auto 0; /* Centered horizontally */
  z-index: 9;
  width: 65%;
}

.rectangle {
  background: rgba(18, 48, 153, 0.35);
  border-radius: 79px;
  font-family: Berlin Sans FB Demi, var(--default-font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.schwimmschule-kati,
.kinder-schwimmen-lernen,
.angebot,
.kinder-schwimmkurse-2,
.adult-swim-classes,
.cost-details-a,
.swimming-courses-private-lessons,
.more-info {
  color: #ffffff;
}

.kinder-schwimmkurse-2{
  width: 80%;
}



.schwimmschule-kati {
  font-size: 85px;
  font-weight: 700;
  line-height: 110.5px;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.abz{
  line-height: 42px;
}

.abz2{
  margin-top: 3rem;
}


.kinder-schwimmen-lernen {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  margin: 10rem auto;
}

.box1 {
  margin: 95px auto 0;
  z-index:9;
  width: 65%;
}

.flex-row-ad {
  font-family: Berlin Sans FB Demi, var(--default-font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  text-align: left;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.adult-swim-classes {
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  text-align: left;
}

.flex-row-bd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
}

.rectangle-8 {
  width: 1181px;
  height: 332px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 79px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.cost-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}



.buttonlayout{
  display: flex;
  flex-direction: row;  /* Buttons nebeneinander */
  justify-content: center; /* Zentriert die Buttons */
  gap: 1rem;  /* Abstand zwischen den Buttons */
  margin-top: 4rem;
  margin-bottom: 6rem;
  gap: 4rem;
}

.button {
  width: 302px;
  height: 73px;
  cursor: pointer;
  background: linear-gradient(225deg, #18c7ff, #933ffd);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.more-info {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.hintergrund {
  width: 100%;
}

.hintergrund::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./assets/images/Hintergrund\ 3.jpg) center center / cover no-repeat fixed;
  transform: scale(1.6);
  z-index: -1;
  overflow: hidden;
}

.test1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7.5rem;
}

.test2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6.5rem;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .ellipse {
    width: 50%;
    margin: 30px auto 0;
  }

  .navigationtext {
    font-size: 25px;
  }

  .flex-row-ca {
    gap: 40px;
  }

  .logo-weiss {
    height: 75px;
  }

  .main-container {
    margin: 1rem auto;

  }

  .das-bin-ich-2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 20px;
  }

  .das-bin-ich {
    padding: 2rem;
  }

  .flex-row-f {
    width: 90%;
    margin: 40px auto 0;
  }

  .rectangle {
    border-radius: 45px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .ellipse {
    width: 50%;
    margin: 30px auto 0;
  }

  .navigationtext {
    font-size: 15px;
  }

  .flex-row-ca {
    gap: 30px;
  }

  .logo-weiss {
    height: 50px;
  }

  .main-container {
    margin: 1rem auto;
  }

  .das-bin-ich-2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
  }

  .das-bin-ich {
    padding: 2rem;
  }

  .flex-row-f {
    width: 90%;
    margin: 40px auto 0;
  }

  .rectangle {
    border-radius: 40px;
  }

}

@media (max-width: 480px) {


  .navigationtext {
    font-size: 15px;
  }

  .flex-row-ca {
    gap: 30px;
  }

  .logo-weiss {
    height: 50px;
  }

  .main-container {
    margin: 1rem auto;
  }


  .flex-row-f {
    width: 90%;
    margin: 40px auto 0;
    z-index: 9;
  }

  .rectangle {
    border-radius: 30px;
    
    
  }

  .abz {
    font-size: 16px;
    line-height: 20px;
    align-items: center;
    text-align: center;
  }
  .abz2 {
    margin-top: 0rem;
  }
  .box1 {
    margin: 20px auto 0;
    z-index: 9;
    width: 90%;
  }

  .flex-row-ad {
    padding: 32px;
  }

  .adult-swim-classes {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
  }

  .flex-row-ad {
  
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kosten{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    color: #ffffff;
    width: 80%;
    }
  .time-slots{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    width: 80%;
    }

    .schwimmschule-kati{
      font-size: 40px;
      margin-top: 0;
      margin-bottom: 0;
      line-height: 50px;
    }

    .kinder-schwimmen-lernen{
      font-size: 20px;
      font-weight: 500;
      line-height: 20px;
      text-align: center;
      margin: 5rem auto;
    }

    .buttonlayout{
      display: flex;
      flex-direction:column ;  /* Buttons nebeneinander */
      justify-content: center; /* Zentriert die Buttons */
      gap: 1rem;  /* Abstand zwischen den Buttons */
      margin-top: 4rem;
      margin-bottom: 6rem;
    }
}
