main {
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3em;
}

p {
  font-size: 2em;
}

.img {
  height: 40vh;
  object-fit: cover;
  object-position: 50% 30%;
}

.container {
  width: 80%;
  margin: auto;
}

/*tablet*/
@media (max-width: 1024px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2em;
  }
  p {
    font-size: 1.5em;
  }
}

/*phone*/
@media (max-width: 600px) {
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 1.8em;
  }
  p {
    font-size: 1.3em;
  }
}
