@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html,
body {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

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

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

.nav__link {
  text-decoration: none;
  color: #fff;
  padding: 0 5px;
}

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

/* Header */
.header {
  height: 50vh;
  background: url(./assets/header-image.jpg) center center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.home__title {
  font-size: 60px;
}

.home__paragraph {
  max-width: 400px;
  font-weight: 400;
}

.home__button {
  background-color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
}

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

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

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

.about__title {
  font-size: 2rem;
}

.about__button {
  border: none;
  background-color: red;
  width: 120px;
  padding: 12px 0;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
}

/* Menu */
.menu__section {
  padding: 40px 16px;
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
}

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

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

.menu__title {
  font-size: 2rem;
}

.menu__button {
  border: none;
  background-color: red;
  width: 120px;
  padding: 12px 0;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
}

/* Contact */
.contact__section {
  padding: 40px 16px;
}

.contact__title {
  text-align: center;
  font-size: 2rem;
}

.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: 2rem;
  padding: 0 8px;
}

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

.contact__form__button {
  height: 40px;
  border: none;
  padding: 10px 0;
  background-color: red;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
  transition: 200ms ease-in-out;
}

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

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

.footer__link {
  color: #fff;
  font-weight: 700;
}

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

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

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

  .about__section,
  .menu__section {
    flex-direction: column;
    align-items: center;
  }

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

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