@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --base-clr: #ffffff;
  --line-clr: #42434a;
  --hover-clr: #6e7075;
  --text-clr: #202022;
  --texthover-clr: white;
  --accent-clr: #f8693e;
  --secondary-text-clr: #777575;
  --sidebar-clr: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  cursor: auto;
}

html {
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dhv;
  background-color: #F4F4F4;
  color: var(--text-clr);
  display: grid;
  grid-template-columns: auto 1fr; /*für Sidebar */
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

main {
  padding: min( 25px, 7%);
  margin-right: 15px;
}
main p {
  color: var(--text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}

.grid-box {
  display: grid;
  grid-template-columns: 30% auto;

  column-gap: 20px;
  background-color: #F4F4F4;
  border-radius: 1em;
  height: 100%;
}

.box-1 {
  grid-column-start: 1;
  border-color: #202022 solid;
}

/* -----------------------IMAGE SLIDER--------------------------------- */
.container {
  line-height: 1.3rem;
  height: auto;
  border: 1.5px solid var(--line-clr);
  border-color: #c0b6b6;
  border-radius: 1em;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 25px;
  margin-right: px;
  padding: min(2em, 10%);
  background-color: #ffffff;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  color: var(--text-clr);
  box-shadow: 0 0 10px rgba(77, 75, 75, 0.2); /* Schatten für Papier-Effekt */

  h2, p {
    margin-top: 0.5em;
  }
  h2 {
    background-color: var(--text-clr);

  }
}

.wrapper {
  position: relative;
  margin: 25px;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  
}
.wrapper .img {
  position: absolute;
  width: 100%;
  height: 100%;
}
.wrapper .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: circle(0% at 0% 100%);
  transition: all 0.7s;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(77, 75, 75, 0.2); /* Schatten für Papier-Effekt */
}
#one:checked ~ .img-1 img {
  clip-path: circle(150% at 0% 100%);
}
#two:checked ~ .img-1 img,
#two:checked ~ .img-2 img {
  clip-path: circle(150% at 0% 100%);
}
#three:checked ~ .img-1 img,
#three:checked ~ .img-2 img,
#three:checked ~ .img-3 img {
  clip-path: circle(150% at 0% 100%);
}
#four:checked ~ .img-1 img,
#four:checked ~ .img-2 img,
#four:checked ~ .img-3 img,
#four:checked ~ .img-4 img {
  clip-path: circle(150% at 0% 100%);
}
#five:checked ~ .img-1 img,
#five:checked ~ .img-2 img,
#five:checked ~ .img-3 img,
#five:checked ~ .img-4 img,
#five:checked ~ .img-5 img {
  clip-path: circle(150% at 0% 100%);
}
.wrapper .sliders {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
}
.wrapper .sliders label {
  border: 2px solid rgb(255, 255, 255);
  width: 18px;
  height: 18px;
  margin: 0 4px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
#one:checked ~ .sliders label.one,
#two:checked ~ .sliders label.two,
#three:checked ~ .sliders label.three,
#four:checked ~ .sliders label.four,
#five:checked ~ .sliders label.five {
  width: 35px;
  border-radius: 14px;
  background: rgb(46, 47, 48);
}
.sliders label:hover {
  background: rgb(48, 47, 47);
}
input[type="radio"] {
  display: none;
}

.flicker {
 
  color: #31313061;
  background: -webkit-gradient(linear, left top, right top, from(#e6e6e6), to(#e7e5e5), color-stop(0.8, #ffffff)) no-repeat;
  background: gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.4, #fff)) no-repeat;
  background-size: 10px 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: flick 5s infinite;
}
@keyframes flick {
  0% {
    background-position: top left;
  }
  100% {
    background-position: top right;
  }
}


/* -----------------------SMARTPHONE ANSICHT--------------------------------- */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1r;
  }
  main {
    padding: 2em 1em 60px 1em;
  }
  .container {
    border: none;
    padding: min(1.5em, 10%);
  }

  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }
  .grid-box {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  background-color: #F4F4F4;
  border-radius: 1em;
}
.wrapper{
  display: none;
}
}
