.main {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to bottom, rgb(97, 97, 97), rgb(34, 34, 34));
}
.main-overlay {
  opacity: 0.65;
  height: 100%;
  width: 100%;
  background-color: rgb(0, 0, 0);
  position: absolute;
  z-index: 3;
}

.main-center {
  z-index: 4;
  text-align: center;
}

.banner-title {
  color: white !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main-button {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.company-name {
  display: block;
  font-size: 3rem;
}

.background-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: translateY(35%);
}

.foreground-image {
  position: absolute;
  bottom: 0;
  left: 55%;
  transform: translateX(-50%) translateY(45%);
  width: 65%;
  height: auto;
  z-index: 2;
}

@media (max-width: 1200px) {
  .foreground-image {
    transform: translateY(40%);
    width: 80%;
  }
}

@media (max-width: 1000px) {
  .foreground-image {
    transform: translateY(40%);
    width: 90%;
  }
}

@media (max-width: 900px) {
  .foreground-image {
    transform: translateY(50%);
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .foreground-image {
    transform: translateY(55%);
    max-width: none;
    width: 150%;
  }
}

@media (max-width: 600px) {
  .foreground-image {
    transform: translateY(60%);
    max-width: none;
    width: 160%;
  }
}
@media (max-width: 500px) {
  .foreground-image {
    transform: translateY(50%);
    max-width: none;
    width: 230%;
  }
}
@media (max-width: 430px) {
  .foreground-image {
    transform: translateY(50%);
    max-width: none;
    width: 260%;
  }
}

.banner-title {
  font-size: 2.5rem;
  white-space: nowrap;
}

.company-name {
  font-size: 3rem;
}

@media (max-width: 1200px) {
  .banner-title {
    font-size: 2.2rem;
  }
  .company-name {
    font-size: 2.8rem;
  }
}

@media (max-width: 1000px) {
  .banner-title {
    font-size: 2rem;
  }
  .company-name {
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  .banner-title {
    font-size: 1.8rem;
  }
  .company-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 1.8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .company-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .banner-title {
    font-size: 1.6rem;
  }
  .company-name {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .banner-title {
    font-size: 1.4rem;
  }
  .company-name {
    font-size: 1.8rem;
  }
}

@media (max-width: 430px) {
  .banner-title {
    font-size: 1.3rem;
  }
  .company-name {
    font-size: 1.6rem;
  }
}

.main-button {
  padding: 15px 30px;
  font-size: 1.1rem;
  min-width: 200px;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .main-button {
    font-size: 1.05rem;
    min-width: 190px;
  }
}

@media (max-width: 1000px) {
  .main-button {
    font-size: 1rem;
    min-width: 180px;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .main-button {
    font-size: 1rem;
    min-width: 170px;
  }
}

@media (max-width: 768px) {
  .main-button {
    font-size: 1rem;
    min-width: 160px;
  }
}

@media (max-width: 600px) {
  .main-button {
    font-size: 1rem;
    min-width: 150px;
  }
}

@media (max-width: 500px) {
  .main-button {
    font-size: 1rem;
    min-width: 140px;
  }
}

@media (max-width: 430px) {
  .main-button {
    font-size: 1rem;
    min-width: 130px;
  }
}

@media (max-width: 768px) {
  .main-button {
    bottom: 10%;
  }
}

@media (max-width: 500px) {
  .main-button {
    bottom: 8%;
  }
}
