.home-page-section {
  position: relative;
  /*   background-color: #627f61;
 */
}

.home-page-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 8rem;
}

.video-container {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  filter: brightness(0.6);
}

.home-page-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amj-name-top-left {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.amj-name-top-left:hover {
  transform: scale(1.05);
}

.amj-left-corner-frame {
  width: clamp(60px, 8vw, 100px);
  height: auto;
  display: block;
  border-radius: 2px;
  background-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.amj-left-corner-frame:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.amj-logo-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin-top: 4rem;
}

.amj-logo-no-bg {
  width: 32rem;
  height: auto;
  object-fit: cover;
}

.subscript-text-under-logo {
  color: #ffffff;
  text-align: center;
  margin-top: -10rem;
}

.larger-sub-text {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: -1rem;
  font-size: clamp(1rem, 10vw, 3rem);
}

.smaller-sub-text {
  font-family: "Anton", sans-serif;
  color: #ffffff;
  font-weight: 400;
  font-size: clamp(0.3rem, 10vw, 2rem);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.arrow {
  margin: 0 auto;
  display: block;
  margin-top: -4rem;
  max-width: 100%;
  width: 2rem;

  animation: bounce 1.2s ease-in-out infinite;
}

@media (max-width: 1440px) {
  .home-page-container {
    height: auto;
  }
}

@media (max-width: 1024px) {
  .larger-sub-text {
    font-size: 2rem;
  }

  .smaller-sub-text {
    font-size: 1.7rem;
  }

  .arrow {
    width: 2rem;
  }

  .subscript-text-under-logo {
    padding: 20px;
  }

  .amj-name-top-left {
    top: 1rem;
    left: 1.5rem;
  }

  .amj-left-corner-frame {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .amj-name-top-left {
    top: 1rem;
    left: 1rem;
  }

  .amj-left-corner-frame {
    width: 150px;
  }

  .video-container {
    filter: brightness(0.4);
  }
}

@media (max-width: 600px) {
  .home-page-container {
    padding: 1rem 0 1rem;
  }

  .amj-name-top-left {
    top: 0.5rem;
    left: 0.5rem;
  }

  .amj-left-corner-frame {
    width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}

.amj-logo-centered {
  width: 26rem;
  margin-bottom: 4rem;
}

.smaller-sub-text {
  line-height: 2.5rem;
}

.arrow {
  width: 1.5rem;
}

@media (max-width: 480px) {
  .amj-left-corner-frame {
    width: 100px;
  }

  .amj-logo-no-bg {
    width: 20rem;
  }
}

@media (max-width: 375px) {
  .amj-logo-centered {
    margin-top: -5rem;
  }
}

@media (max-width: 360px) {
  .home-page-container {
    padding: 0rem 0rem 4rem 0;
  }

  @media (max-width: 360px) {
    .amj-name-top-left {
      top: 0.25rem;
      left: 0.25rem;
    }

    .amj-left-corner-frame {
      width: 80px;
    }
  }

  .amj-logo-centered {
    margin-top: 4rem;
  }

  .larger-sub-text {
    font-size: 1.5rem;
  }

  .smaller-sub-text {
    font-size: 1.2rem;
  }

  .arrow {
    width: 1rem;
  }
}
