@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  margin-top: 47px;
  margin-left: 42px;
}

.header-link {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  letter-spacing: 0.875px;
  color: #17233d;
  margin-right: 32px;
  cursor: pointer;
}

.header-link:hover {
  opacity: 0.8;
}

.header-link:active {
  opacity: 0.5;
}

.header-button {
  background: #6fbf44;
  border: 1px solid #4cb538;
  border-radius: 6px;
  width: 124px;
  height: 51px;
  cursor: pointer;
  font-weight: 500px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #ffffff;
}

.header-button:hover {
  opacity: 0.8;
}

.header-button:active {
  opacity: 0.5;
}

.logo-image {
  margin: 163px 0 0 123px;
  display: inline-block;
}

section {
  display: inline-block;
  margin-left: 85px;
  width: 493px;
}

h1 {
  font-weight: 700;
  font-size: 62px;
  line-height: 82px;
  letter-spacing: 0.596154px;
  color: #161a49;
}

p {
  font-weight: 400;
  font-size: 18px;
  line-height: 33px;
  letter-spacing: 0.5px;
  color: #4b505a;
  margin-top: 47px;
  margin-bottom: 55px;
}

.learn-more {
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 1px;
  color: #6fbf44;
  cursor: pointer;
}

.learn-more:hover {
  opacity: 0.8;
}

.learn-more:active {
  opacity: 0.5;
}

@media screen and (max-width: 800px) {
  header {
    margin: 17px 0px 0px 304px;
  }

  .header-link {
    display: none;
  }

  .header-button {
    width: 91px;
    height: 31px;
  }

  section {
    width: auto;
    margin: 0;
    text-align: center;
  }

  .logo-image {
    width: 312px;
    height: 288px;
    margin: 0px 0px 0px 3.5rem;
    position: absolute;
    display: flex;
    top: 490px;
    text-align: center;
  }

  h1 {
    font-size: 30px;
    line-height: 30px;
    margin: 76px 55px 29px 55px;
  }

  p {
    margin: 0 43px 26px 43px;
  }

  .learn-more {
    align-items: center;
  }
}
