.hero {
  background: #ffd257;
  padding: 0 40px;
  position: relative;
}

.hero__wrapper {
  height: 100vh;
  min-height: 600px;
  padding: 40px 0;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__header {
  font-weight: 900;
  font-size: 40px;
  position: absolute;
  top: 40px;
  left: 0;
}

.hero__content {
  width: 450px;
}

.hero__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 44px;
  margin-bottom: 20px;
}

.hero__text {
  margin-bottom: 20px;
  line-height: 24px;
  width: 400px;
}

.hero__back {
  position: absolute;
  right: 0;
  top: 45px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.15s ease-in-out;
  color: #333;
}

.hero__back:hover {
  opacity: 1;
}


.theme-elements .hero {
  background: #6772e5;
  color: #fff;
}

.theme-elements .hero__back {
  color: #fff;
}

.theme-elements .hero__content {
  width: 500px;
}

@media only screen and (max-width : 480px) {
  .hero__header {
    font-size: 24px;
  }

  .hero__content,
  .theme-elements .hero__content {
    width: 100%;
  }

  .hero__wrapper {
    flex-direction: column-reverse;
    height: auto;
    min-height: auto;
    padding-top: 80px;
  }

  .hero__side {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .theme-elements .hero__side {
    height: 200px;
  }

  .hero__title {
    font-size: 20px;
    line-height: 24px;
  }

  .hero__text {
    width: auto;
  }

  .hero__back {
    top: auto;
    bottom: 49px;
  }
}