.hero-img-container {
  max-height: 35rem;
}

.hero-img {
  width: 100vw;
}

.content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.selection {
  margin: auto;
}

.selection button {
  padding: 12px 24px;
  cursor: pointer;
  margin: 15px;
  background-color: #ddd;
  color: #002137;
}

.selection button.active {
  background-color: #002137;
  color: #fff;
  border: none !important;
  padding: 16px 24px !important;
}

.selection button.active:hover {
  background-color: #002137 !important;
  color: #fff !important;
  border: 0px solid #002137 !important;
}

.display-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.item {
  display: none;
  position: absolute;
  width: 80%;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
}

.item.active {
  display: block;
  opacity: 1;
}


.arrow {
  cursor: pointer;
  font-size: 2em;
  color: #333;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
}

#prevStandorte,
#prevMaerkte {
  left: 0px;
}

#nextStandorte,
#nextMaerkte {
  right: 0px;
}

.pagination {
  margin-top: 250px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
}

.overlay-project {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 33, 55, 0.582),
    rgba(0, 33, 55, 0.89)
  );
  z-index: 1;
}

.hover-area {
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.circle {
  position: absolute;
  width: 100px !important;
  height: 100px !important;
  border-radius: 50%;
  background-color: white;
  z-index: 20;
  color: black;
  text-align: center;
  line-height: 4;
  display: none;
  pointer-events: none;
}

.project-text-box {
  top: 50%;
  left: 50%;
  width: 85%;
  transform: translate(-50%, -50%);
}

.project-img:hover .project-text-box,
.project-img:hover .overlay-project {
  display: block;
  opacity: 1 !important;
}

.project-img:hover .project-headline,
.project-img:hover .project-text {
  transform: translateY(0);
  opacity: 1 !important;
}

.project-headline {
  transform: translateY(2.4rem);
  transition: 0.5s ease;
  opacity: 0.2;
}

.project-text {
  transform: translateY(3.2rem);
  transition: 0.5s ease;
  opacity: 0;
}

.img-map {
  display: block;
  top: 0;
  max-height: 80vh;
  z-index: -20;
  margin-left: auto;
  right: 0;
}

@media (max-width: 960px) {
  .project-img .project-text-box,
  .project-img .overlay-project {
    display: block;
    opacity: 1 !important;
  }
  .project-img .project-headline,
  .project-img .project-text {
    transform: translateY(0);
    opacity: 1;
  }
  .project-headline {
    transform: translateY(2.4rem);
    transition: 0.5s ease;
    opacity: 1 !important;
  }
  .project-text {
    transform: translateY(3.2rem);
    transition: 0.5s ease;
    opacity: 1 !important;
  }
}
@media (max-width: 540px) {
  .project-text-box {
    width: 95% !important;
    line-height: 1.2 !important;
  }
  .hero-img-container {
    width: 100% !important;
    left: 0;
  }
  .hero-img {
    width: 100% !important;
    height: 100%;
  }
  .img-map {
    min-width: 300vw !important;
    right: 0 !important;
    margin: 0 auto !important;
    justify-self: center;
    left: auto !important;
  }
}

@media (max-width: 720px) {
  .hero-img-container {
    width: 100% !important;
    text-align: center !important;
    left: 0;
  }
  .hero-img {
    width: 100% !important;
    height: 100%;
  }
  .img-map {
    display: block !important;
    position: relative !important;
    min-width: 200vw;
    height: auto !important;
    transform: translateX(-100vw);
  }
  .overlay-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.438),
      rgba(255, 255, 255, 0.404)
    );
  }
}
