@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');

:root {
  /* Primary */
  --bright-orange: hsl(31, 77%, 52%);
  --dark-cyan: hsl(184, 100%, 22%);
  --very-dark-cyan: hsl(179, 100%, 13%);
  /* Neutral */
  --transparent-white-paragraphs: hsla(0, 0%, 100%, 0.75);
  --very-light-gray-background-headings-buttons: hsl(0, 0%, 95%);
  --main-font-family: 'Lexend Deca', sans-serif;
  --secondary-font-family: 'Big Shoulders Display', sans-serif;
}

html {
  font-size: 62.5%;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body {
  position: relative;
  background: var(--very-light-gray-background-headings-buttons);
  height: 100vh;
  font-family: var(--main-font-family);
  overflow: hidden;
  background-color: rgb(139, 206, 105);
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.2rem;
}

.feature {
  display: flex;
  width: 920px;
  border-radius: 0.8em;
  overflow: hidden;
}

.feature__content {
  position: relative;
  padding: 4.7em;
  flex: 1;
}

.feature__header {
  margin-top: 3.2rem;
  text-transform: uppercase;
  font-family: var(--secondary-font-family);
  font-size: 3.48rem;
  color: var(--very-light-gray-background-headings-buttons);
}

.feature__text {
  margin-top: 2.6rem;
  font-size: 1.54rem;
  letter-spacing: -0.1px;
  line-height: 1.6;
  color: var(--transparent-white-paragraphs);
}

.feature__btn {
  cursor: pointer;
  margin-top: 8.2rem;
  margin-left: 0.15rem;
  font-size: 1.57rem;
  padding: 1.5rem 3rem;
  border-radius: 10rem;
  border: none;
  background: var(--very-light-gray-background-headings-buttons);
  font-weight: 600;
  transition: all 0.15s ease;
}

.feature__btn:hover {
  background: transparent;
  outline: 1px solid var(--very-light-gray-background-headings-buttons);
}

.attribution {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  text-align: center;
}

.attribution a {
  color: hsl(0, 0%, 0%);
}

@media only screen and (max-width: 935px) {
  .feature {
    width: 97%;
  }

  .feature__content {
    padding: 4.7em 2em;
  }
}

@media only screen and (max-width: 910px) {
  .feature__content {
    padding: 4.7em 1em;
  }
  .feature__text {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 830px) {
  .body {
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .main {
    display: block;
    height: auto;
    margin-bottom: 2rem;
  }

  .feature {
    width: 500px;
    flex-direction: column;
    margin: 0 auto;
  }

  .feature__content {
    padding: 4.7em;
  }
  .feature__text {
    font-size: 1.7rem;
  }

  .attribution {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: auto;
    align-self: center;
    padding-bottom: 2rem;
  }
}

@media only screen and (max-width: 550px) {
  .feature {
    width: 90%;
  }

  .feature__content {
    padding: 4.7em;
  }
  .feature__text {
    font-size: 1.6rem;
  }

  .feature__btn {
    margin-top: 3rem;
    /* margin-left: 0.15rem; */
  }
}

@media only screen and (max-width: 350px) {
  .feature__content {
    padding: 4.7em;
    text-align: center;
  }

  .feature__text {
    font-size: 1.55rem;
  }
}