* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #5d5d7d;
}
.hero {
  width: 100vw;
  height: 100vh;
}

.hero-body {
  display: flex;
}

.hero-content {
  width: 60%;
  padding-left: 136px;
  margin-top: 30%;
}

.hero-right {
  width: 40%;
  background-color: rgba(93, 93, 125, 0.16);
  height: 113vh;
}

img {
  position: relative;
  top: 22%;
  right: 140px;
}

h1 {
  font-size: 4.375rem;
  line-height: 80px;
  width: 513px;
}

p {
  font-size: 28px;
  line-height: 48px;
  opacity: 0.6;
  margin: 15px 0;
  width: 540px;
}

button {
  width: 190px;
  height: 50px;
  opacity: 1;
  background: #9499ea;
  box-shadow: 0px 10px 24px 0px #9499ea19;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  font-size: 24px;
  line-height: 100%;
  color: #fff;
  text-align: center;
  padding-bottom: 7px 0;
}

button:hover {
  opacity: 0.6;
}

button:active {
  opacity: 0.2;
}

header {
  margin: 24px 0 0 57px;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

a {
  text-decoration: none;
  margin-right: 41px;
  font-size: 1.6rem;
  line-height: 100%;
  cursor: pointer;
}

a:hover {
  opacity: 0.3;
}

a:active {
  opacity: 0.1;
}

a:nth-child(2) {
  opacity: 0.3;
}
a:nth-child(2):hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .hero-content {
    width: 100%;
    height: 50%;
    padding: 0;
    margin: 0;
  }

  h1 {
    font-size: 36px;
    line-height: 52px;
    width: auto;
    margin: 58px 54px 0 54px;
    text-align: center;
  }

  p {
    font-size: 14px;
    width: auto;
    line-height: 24px;
    margin: 15px 50px;
    text-align: center;
  }

  .hero-right {
    position: static;
    width: 100%;
    height: 62vh;
    padding: 40px;
  }

  img {
    position: static;
    width: 80%;
  }

  header {
    display: none;
  }

  .hero-body {
    display: block;
  }

  button {
    display: block;
    margin: 0 auto;
    margin-bottom: 12px;
  }
}
