* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: #221f22;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  padding: 0 60px;
}

.feature {
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 40px 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 350px;
  background-image: url(feature.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 20px 50px hsla(0, 0%, 0%, 20%);
  padding: 0 20px 30px 20px;
  flex-shrink: 0;
}

h1,
h2 {
  margin: 0;
  color: #fff;
}

h1 {
  margin-bottom: 5px;
}

h2 {
  font-weight: 200;
  color: hsl(0, 0%, 80%);
  text-align: center;
}

.hidden {
  display: none;
}

.content {
  width: 100%;
  max-width: 650px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  flex-shrink: 0;
}

h3 {
  color: #ffd866;
  font-weight: 300;
}

p {
  color: hsl(0, 0%, 90%);
  line-height: 24px;
}

p a {
  color: rgb(120, 219, 232);
  text-decoration-color: rgba(120, 219, 232, 0);
  transition: text-decoration-color 300ms;
}

p a:hover {
  text-decoration-color: rgba(120, 219, 232, 0.5);
}

p i {
  color: hsl(0, 0%, 60%);
  font-weight: 100;
}

@keyframes colorwheel {
  0% {
    background-color: #ff6188;
  }
  50% {
    background-color: #a9db76;
  }
  100% {
    background-color: #ff6188;
  }
}

.grab_it {
  display: block;
  margin: 20px 0;
  padding: 10px 30px;
  background-color: #ff6188;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  flex-grow: 0;
  align-self: center;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 5px 10px hsla(0, 0%, 0%, 30%);
  transition: padding 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.grab_it:hover {
  padding: 10px 50px;
  animation: colorwheel 3s infinite linear;
}

@media (max-width: 510px) {
  body {
    padding: 0 40px;
  }
}

@media (max-width: 470px) {
  .feature {
    height: 300px;
    padding: 0 20px 10px 20px;
  }
}
