* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lexend Deca", sans-serif;
}

body {
  margin: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: hsl(0, 0%, 95%);
}

.container {
  max-width: 920px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.type {
  padding: 45px;
  flex: 1;
}

.type:nth-child(1) {
  background-color: hsl(31, 77%, 52%);
}
.type:nth-child(2) {
  background-color: hsl(184, 100%, 22%);
}
.type:nth-child(3) {
  background-color: hsl(179, 100%, 13%);
}

.type img {
  margin-bottom: 30px;
}

.type h2 {
  color: hsl(0, 0%, 95%);
  margin: 25px 0;
  text-transform: uppercase;
  font-family: "Big Shoulders", sans-serif;
  font-size: 40px;
}

.type p {
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 80px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
}

.type button {
  border: 2px solid transparent;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.type:nth-child(1) button {
  color: hsl(31, 77%, 52%);
}
.type:nth-child(2) button {
  color: hsl(184, 100%, 22%);
}
.type:nth-child(3) button {
  color: hsl(179, 100%, 13%);
}

.type button:hover {
  background-color: transparent;
  color: hsl(0, 0%, 95%);
  border-color: hsl(0, 0%, 95%);
}

@media (max-width: 750px){
  body {
    margin: 20px 0;
  }

  .container {
    flex-direction: column;
    max-width: 90%;
  }

  .type {
    max-width: 450px;
  }

  .type img {
    margin-bottom: 15px;
  }

  .type p {
    margin-bottom: 40px;
  }
}