*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Serif', serif;
}

body {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    min-height: 100vh;
    width: 100%;
    font-family: 'IBM Plex Serif', serif;
    overflow:scroll;
}

section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
   
}

.mask {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    padding: 3rem;
}

.l .mask {
    background-image: url(img/Dancer-Background-3.png);
}

.k .mask {
    background-image: url(img/Dance-Projects-2.png);
}

/* Stil für zusätzliche Slide */
.k .inner2 {
    display: none; /* Zusätzliche Slide standardmäßig ausblenden */
}

.kl .mask {
    background-image: url(img/DanceClasses_groß3.png);
}



h2 {
    color: #fff;
    font-size: 5rem;
    font-weight: 700;
}

button {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    background: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.25rem;
    font-family: 'IBM Plex Serif', serif;
    transition: all 0.5s ease;
}

button:hover {
    background: #fff;
    color: #333;
}

.close {
    width: 3rem;
    height: 3rem;
    color:#060707;
    position: absolute;
    top: 3rem;
    right: 3rem;
    cursor: pointer;
    z-index: 4;
}

.inner {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    
}

.bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px;
}

.bg1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px;
}

.bg2 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px;
}

.bg3 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px;
}

.bg4 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px;
}

.l .bg {
    background-image: url(img/IMG_8450.JPG);
    background-color: #000000;
    
    
}

.k .bg {
    background-image: url(img/Dance-Tech.jpg);
    background-color:#000000;
    width: 100%;
    height: 100%;
}

.k .bg1 {
    background-image: url(img/smaller_repentismo_1optmiert.jpg);
    background-color:#000000;
    width: 100%;
    height: 100%;
}

.k .bg2 {
    background-image: url(img/dance-ai-2.png);
    background-color:#000000;
    width: 100%;
    height: 100%;
}

.k .bg3 {
    background-image: url(img/Almost55.jpg);
    background-color:#000000;
    width: 100%;
    height: 100%;
}

.k .bg4 {
    background-image: url(img/solidaoaflordapele2.jpg);
    background-color:#000000;
    width: 100%;
    height: 100%;
}




.kl .bg {
    background-image: url(img/CG4A1312b-fotor-2024031323416.png);
    background-color:#060707;
}

.text {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    background: #fff;
    overflow:scroll;
    vertical-align: middle;
  
}

.text .box {
    padding: 4rem;
    margin: 0 auto;
    max-width: 1000px;
    z-index: 1;
    height:100%;
    vertical-align: middle;
    top:-25%;
    transform: translateY(25%);

}

.text-about-me {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    background: #fff;
    overflow:scroll;
    vertical-align: middle;
  
}

.text-about-me .box {
    padding: 4rem;
    margin: 0 auto;
    max-width: 1000px;
    z-index: 1;
    height:100%;
    vertical-align: middle;
    top:-25%;
    transform: translateY(10%);
    -webkit-transform: translateY(10%);
    -moz-transform: translateY(10%);
    -ms-transform: translateY(10%);
    -o-transform: translateY(10%);
}

.transition .text-about-me {
    transition: left 1s ease;
}

.animate .text-about-me {
    left: 50%;
    vertical-align: middle;
    
    
}


.text-dance-classes .box {
    padding: 4rem;
    margin: 0 auto;
    max-width: 1000px;
    z-index: 1;
    height:100%;
    vertical-align: middle;
    top:-25%;
    transform: translateY(15%);
    -webkit-transform: translateY(15%);
    -moz-transform: translateY(15%);
    -ms-transform: translateY(15%);
    -o-transform: translateY(15%);
}


.text-dance-classes {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    background: #fff;
    overflow:scroll;
    vertical-align: middle;
  
}

.transition .text-dance-classes {
    transition: left 1s ease;
}

.animate .text-dance-classes {
    left: 50%;
    vertical-align: middle;
    
    
}



h3 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

p {
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

.transition .mask {
    transition: transform 1s ease, opacity 1s ease;
}

.animate .mask {
    transform: scale(10);
    opacity: 0;
}

.transition .bg, .bg1, .bg2, .bg3 {
    transition: background-position 1s ease;
    transition: width 1s ease;

    
}

.animate .bg, .bg1, .bg2, .bg3  {
    background-position: center;
    width: 50%;
    
}

.animate .bg {
    background-position: center;
    width: 50%;
    
}

.animate .bg1 {
    background-position: center;
    width: 50%;
    
}

.animate .bg2 {
    background-position: center;
    width: 50%;
 
}

.animate .bg3 {
    background-position: center;
    width: 50%;
    
}

.animate .bg4 {
    background-position: center;
    width: 50%;
    
}


/* .animate .k .bg {
    background-image: url(img/IMG_8494.JPG);
    background-color:#060707;
    width: 50%;
    height: 100%;
} */

.transition .text {
    transition: left 1s ease;
}

.animate .text {
    left: 50%;
    vertical-align: middle;
    
    
}

.animate-completed .mask {
    display: none;
}


/* slides */

.arrow-left,
.arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: red;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.arrow-left {
    left: 10px;
    z-index: 4;
}

.arrow-right {
    right: 10px;
    z-index: 4;
}

/* slides end */



/* slides w3schools*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  /* max-width: 1000px; */
  /* position: absolute; */
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: rgb(15, 14, 14);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 50%;
    user-select: none;
    z-index: 4;
    background-color: #10283a46;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 50%;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: #10283A;
    color: white;
  }

/* Caption text */
/* .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
} */

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* slides w3schools ende*/

@media screen and (max-width:1050px) {
    .animate .text, .animate .text-about-me, .animate .text-dance-classes{
        left: 0%;
        vertical-align: middle;
        width: 100%;
        
        
    }

    .animate .bg, .bg1, .bg2, .bg3  {
        background-position: center;
        width: 0%;
        
    }

    .text .box, .text-about-me .box, .text-dance-classes .box {
        padding: 2rem;
        margin: 0 auto;
        max-width: 500px;
        z-index: 1;
        height:100%;
        vertical-align: middle;
        top:-25%;
        transform: translateY(10%);
        -webkit-transform: translateY(10%);
        -moz-transform: translateY(10%);
        -ms-transform: translateY(10%);
        -o-transform: translateY(10%);
        width: 90%;
}
    
}

@media screen and (max-width:640px) {
    h3 {
        font-size: 1.5rem;
    margin-bottom: 1rem; 
    }

    .text .box, .text-about-me .box, .text-dance-classes .box {
        padding: 2rem;
        margin: 0 auto;
        max-width: 500px;
        z-index: 1;
        height:100%;
        vertical-align: middle;
        top:-25%;
        transform: translateY(7%);
        -webkit-transform: translateY(7%);
        -moz-transform: translateY(7%);
        -ms-transform: translateY(7%);
        -o-transform: translateY(7%);
        width: 90%;
}
}

.responsive-image {
    display: none; /* Hide by default */
  }
  
  @media (max-width: 1050px) {
    .responsive-image {
      display: block; /* Show only on small screens */
    
      
    }

    .responsive-image img{
        display: block; /* Show only on small screens */
        width: 100%;
        max-width: 1000px;
        min-width: 300px;
        margin:0 auto;
        
        
      }

      .image-classes {
       display: block;
    
      }
    
      .image-classes img {
        width: 100%;
        max-width: 500px;
        min-width: 250px;
        display: block;
        margin: 0 auto;
      }
  }

  .image-classes {
   display: block;

  }

  .image-classes img {
    width: 100%;
    max-width: 500px;
    min-width: 250px;
    display: block;
    margin: 0 auto;
  }