.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;
}

a:hover {
  text-decoration: underline !important;
}

.nav-item a {
  text-decoration: none !important;
}

.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;
}
.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: 75%;
  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;
}

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

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

.hero-img {
  width: 100vw;
}

@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: 720px) {
  .hero-img-container {
    height: 35rem !important;
    width: auto !important;
  }
  .hero-img {
    height: 100% !important;
    width: auto !important;
  }
  .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)
    );
  }
}
@media (max-width: 540px) {
  .project-text-box {
    width: 95% !important;
    line-height: 1.2 !important;
  }
  .hero-img-container {
    height: 15rem !important;
    width: 100% !important;
    left: 0;
  }
  .hero-img {
    width: auto !important;
  }
}
