@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Roboto;
}

section {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
}

/* Navigation Bar */
.nav {
  width: 100%;
  height: 80px;
  background-color: red;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.nav__logo {
  font-size: 20px;
  font-weight: 700;
}

.nav__link {
  margin: 0 4px;
  text-decoration: none;
  color: white;
}

.nav__link__button {
  padding: 8px 12px;
  border-radius: 9999px;
  border: none;
  color: red;
  font-size: 16px;
  background-color: white;
  font-weight: 700;
  cursor: pointer;
}

/* Header */
#home {
  height: 50vh;
  background-image: url("assets/header-image.jpg");
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.home__title {
  font-size: 60px;
}

.home__paragraph {
  font-size: 20px;
  max-width: 400px;
  text-align: center;
}

.home__button {
  padding: 8px 12px;
  font-size: 16px;
  background-color: white;
  border-radius: 9999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* About Us */
#about {
  padding: 40px 16px;
  display: flex;
  gap: 20px;
}

.about__image {
  width: 40%;
  border-radius: 4px;
}

.about__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.about__title {
  font-size: 32px;
}

.about__button {
  width: 120px;
  padding: 12px 0;
  background-color: red;
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
}

/* Menu */
#menu {
  padding: 40px 16px;
  display: flex;
  gap: 20px;
}

.menu__image {
  width: 40%;
  border-radius: 4px;
}

.menu__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.menu__title {
  font-size: 32px;
}

.menu__button {
  width: 120px;
  padding: 12px 0;
  background-color: red;
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
}

/* Contact */
#contact {
  padding: 40px 16px;
}

.contact__title {
  font-size: 32px;
  text-align: center;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form__input,
.contact__form__textarea {
  outline: none;
  border: 1px solid black;
}

.contact__form__input {
  height: 32px;
  padding: 0 8px;
}

.contact__form__textarea {
  height: 100px;
  resize: vertical;
  padding: 8px;
}

.contact__form__button {
  height: 40px;
  background-color: red;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 200ms;
  margin-top: 8px;
}

.contact__form__button:hover {
  background-color: white;
  color: red;
  border: 1px solid red;
}

/* Footer */
footer {
  height: 60px;
  background-color: red;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.footer__link {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

/* Tablets Responsive */
@media (max-width: 768px) {
  .about__title,
  .menu__title,
  .contact__title {
    font-size: 24px;
  }

  .about__paragraph,
  .menu__paragraph {
    font-size: 14px;
  }

  /* Mobile Responsive */
  @media (max-width: 480px) {
    .nav__link:not(:last-child) {
      display: none;
    }

    #about,
    #menu {
      align-items: center;
    }

    #about {
      flex-direction: column;
    }

    #menu {
      flex-direction: column-reverse;
    }

    .about__wrapper,
    .menu__wrapper {
      align-items: center;
      text-align: center;
    }

    .about__image,
    .menu__image {
      width: 100%;
    }
  }
}
