.carousel {
  position: relative;
  height: 740px;
}

.carousel-item {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0px 0px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.arrow {
  position: absolute;
  top: 0;
  display: block;
  width: 50px;
  height: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background: url("../images/elements/knopkaL.svg") 50% 50% / 20px no-repeat;
}

.arrow.arrow-prev {
  left: 0;
}

.arrow.arrow-next {
  right: 0;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

[id^="target-item"] {
  display: none;
}

.item-1 {
  z-index: 2;
  opacity: 1;
}

*:target~.item-1 {
  opacity: 0;
}

#target-item-1:target~.item-1 {
  opacity: 1;
}

#target-item-2:target~.item-2,
#target-item-3:target~.item-3 {
  z-index: 3;
  opacity: 1;
}

.carousel-img-01 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 740px;
  background: url("../images/carousel/01-c.jpg") center center;
  background-size: cover;
}

.carousel-img-02 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 740px;
  background: url("../images/carousel/02-c.jpg") center center;
  background-size: cover;
}

.carousel-img-03 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 740px;
  background: url("../images/carousel/03-c.jpg") center center;
  background-size: cover;
}

.inscription {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 130px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid black;
  border-radius: 20px;
}

.inscription p {
  font-family: "Montserrat-SemiBold";
  font-size: 28px;
  text-align: center;
  color: black;
}

@media only screen and (max-width: 576px) {

  .carousel {
    height: 240px;
  }

  .carousel-img-01 {
    height: 240px;
  }

  .carousel-img-02 {
    height: 240px;
  }

  .carousel-img-03 {
    height: 240px;
  }

  .inscription {
    width: 200px;
    height: 50px;
  }

  .inscription p {
    font-size: 15px;
  }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {

  .carousel {
    height: 400px;
  }

  .carousel-img-01 {
    height: 400px;
  }

  .carousel-img-02 {
    height: 400px;
  }

  .carousel-img-03 {
    height: 400px;
  }

  .inscription {
    width: 300px;
    height: 80px;
  }

  .inscription p {
    font-size: 17px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1039px) {

  .carousel {
    height: 600px;
  }

  .carousel-img-01 {
    height: 600px;
  }

  .carousel-img-02 {
    height: 600px;
  }

  .carousel-img-03 {
    height: 600px;
  }

  .inscription {
    width: 300px;
    height: 80px;
  }

  .inscription {
    width: 400px;
    height: 100px;
  }

  .inscription p {
    font-size: 20px;
  }
}

@media only screen and (min-width: 1040px) and (max-width: 1280px) {}

@media only screen and (min-width: 1280px) and (max-width: 1440px) {}

@media only screen and (min-width: 1441px) {}