@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700&display=swap");

body {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  color: #656565;
  padding-inline: 10rem;
}

h1,
h2,
h3,
h4 {
  color: black;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
}

.font-bold {
  color: black;
}

#subscribe {
  background-color: #ee7c0d;
  color: black;
  padding: 0.7rem 1rem;
}

.menu {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  background: no-repeat center/contain url("/Assets/Hamburger-Menu.svg");
}

.hero .image {
  flex: 1;
  min-width: 392px;
  min-height: 266px;
  background: no-repeat left/contain url("/Assets/Main-Article-Image.png");
}

.hero .text {
  flex: 1;
}

.hero .text > *:not(:last-child) {
  margin-bottom: 1rem;
}

.jessica {
  font-size: 0.9rem;
}

.jessica .avatar {
  width: 50px;
  height: 50px;
  background: no-repeat center/contain url("/Assets/User-Avatar.png");
}

.card {
  max-width: 20rem;
  flex: 1;
}

.card a > *:not(:last-child) {
  margin-bottom: 1rem;
}

.card .img {
  /* width: 20rem; */
  height: 15rem;
}

.card-1 {
  background: no-repeat center/contain url("/Assets/Article-1-Image.png");
}

.card-2 {
  background: no-repeat center/contain url("/Assets/Article-2-Image.png");
}

.card-3 {
  background: no-repeat center/contain url("/Assets/Article-3-Image.png");
}

.card .avatar {
  font-size: 0.9rem;
  width: 50px;
  height: 50px;
}

.avatar-spencer {
  background: no-repeat center/contain url("/Assets/User-Avatar-1.png");
}

.avatar-sara {
  background: no-repeat center/contain url("/Assets/User-Avatar-2.png");
}

.avatar-david {
  background: no-repeat center/contain url("/Assets/User-Avatar-3.png");
}

@media (max-width: 1200px) {
  .container {
    padding-inline: 1rem;
  }

  .hero a {
    flex-direction: column;
    gap: 2rem;
  }

  .hero .image {
    min-width: 100%;
    background: no-repeat center/cover url("/Assets/Main-Article-Image.png");
    border-radius: 8px;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    max-width: 100%;
  }

  .card .img {
    width: 100%;
    height: 15rem;
    border-radius: 0.5rem;
  }

  .card-1 {
    background: no-repeat center/cover url("/Assets/Article-1-Image.png");
  }

  .card-2 {
    background: no-repeat center/cover url("/Assets/Article-2-Image.png");
  }

  .card-3 {
    background: no-repeat center/cover url("/Assets/Article-3-Image.png");
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .menu {
    display: inline-block;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
  }
}
