:root {
  --color-2: #fff203;
  --color-3: #001e45;
  --color: white;
}

h2 {
  color: var(--color-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 12px;
  font-family: Montserrat, sans-serif;
  font-size: 6em;
  font-weight: 800;
  line-height: 1em;
}

.hero-section {
  background-color: var(--color-3);
  justify-content: flex-start;
  align-items: flex-end;
  height: 95vh;
  padding: 8% 8% 8% 5%;
  display: flex;
  position: relative;
}

.hero-wrapper {
  z-index: 10;
  border: 1px none var(--color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  padding: 0;
  display: flex;
  position: relative;
}

.hero-text {
  color: var(--color);
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2em;
}

.button {
  border: 1px solid var(--color);
  color: var(--color-2);
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: #fff20300;
  margin-top: 25px;
  padding: 15px 25px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1em;
}

.button:hover {
  background-color: var(--color-2);
  color: var(--color-3);
}

.hero-img-div {
  object-fit: cover;
  width: 55%;
  position: absolute;
  inset: 10% 5% 10% auto;
  overflow: hidden;
}

.image {
  object-fit: cover;
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  transform: rotateX(0)rotateY(180deg)rotateZ(0);
}

.heading {
  color: var(--color);
  font-size: 7em;
}

@media screen and (max-width: 991px) {
  h2 {
    font-size: 4em;
  }

  .hero-section {
    background-image: none;
    height: 700px;
    margin-top: 75px;
    padding-bottom: 5%;
  }

  .hero-wrapper {
    width: 100%;
  }

  .hero-text {
    font-size: 2em;
  }

  .hero-img-div {
    flex-flow: column;
    justify-content: center;
    width: 100%;
    max-height: 60%;
    display: flex;
    inset: 0% 0% auto;
  }

  .heading {
    font-size: 5em;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    margin-bottom: 10px;
    font-size: 3em;
  }

  .hero-section {
    height: 400px;
    padding: 5%;
  }

  .hero-text {
    font-size: 1.5em;
  }

  .button {
    margin-top: 20px;
  }

  .hero-img-div {
    justify-content: center;
    max-height: 50%;
  }

  .heading {
    font-size: 3.5em;
  }
}

@media screen and (max-width: 479px) {
  h2 {
    font-size: 2.5em;
  }

  .hero-section {
    background-image: none;
    height: 550px;
    margin-top: 50px;
  }

  .hero-text {
    font-size: 1.2em;
  }

  .button {
    text-align: left;
    letter-spacing: 1px;
    margin-top: 15px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-img-div {
    max-height: 60%;
  }

  .heading {
    font-size: 3.5em;
  }
}
