.main {
  background: url(/img/main-bg.webp) no-repeat right center;
  background-size: cover;
  padding: 100px 10px;
}
.main-grid {
  display: grid;
  gap: 20px;
  color: #413f40;
}
.main-grid > * {
  max-width: 580px;
}
.main-grid h1 {
  font-size: 3.93rem;
  font-weight: 700;
  line-height: 1.1em;
}
.main-grid h1 span {
  color: #ec1f25;
}
.main-grid h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2em;
}

@media only screen and (max-width: 500px) {
  .main {
    background: url(/img/main-bg-mobile.webp) no-repeat bottom center;
    background-size: contain;
    padding: 20px 10px 300px;
  }
  .main-grid {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media only screen and (min-width: 491px) and (max-width: 600px) {
  .main-grid h1 {
    font-size: 3rem;
    text-shadow: 0 0 2px #000;
  }
  .main-grid h2 {
    font-size: 1.4rem;
    text-shadow: 0 0 2px #000;
  }
}

@media only screen and (max-width: 490px) {
  .main-grid h1 {
    font-size: 2rem;
    text-shadow: 0 0 2px #000;
  }
  .main-grid h2 {
    font-size: 1.1rem;
    text-shadow: 0 0 2px #000;
  }
}
