/* Default - Large Screens (Desktops) */
.hero .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  padding-top: 60px;
  font-size: 50px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 12px;
}

.hero figure {
  flex: 1;
  text-align: center;
}

.hero figure img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ========== 992px (Medium screens) ========== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction:column;
    text-align: center;
    padding: 30px 15px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero figure img {
    max-width: 400px;
  }
}

/* ========== 768px (Tablets) ========== */
@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 30px;
    padding-top: 0px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero figure img {
    max-width: 300px;
  }
}

/* ========== 480px (Mobile Phones) ========== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
    padding-top: 0px;
  }

  .hero-content p {
    font-size: 14px;

  }

  .hero figure img {
    max-width: 240px;
  }
}
