@font-face {
  font-family: 'milk';
  src: url('font/MilkyVintage.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #d59022;
  --secondary-color: #a76905;

  --text: #edddc4;
}

html {
  font-size: 10px;
  height: 100%;
  scroll-behavior: smooth;
  color: var(--text);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.2;
  font-size: 1.6rem;
  height: 100%;
  background-color: var(--primary-color);
}

@media only screen and (min-width: 901px) {
  body {
    font-size: 2rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'milk', sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 4.8rem;
  font-weight: 500;
}

@media only screen and (min-width: 901px) {
  h1 {
    font-size: 5.6rem;
  }
}

h2 {
  font-size: 3.6rem;
}

@media only screen and (min-width: 901px) {
  h2 {
    font-size: 4.8rem;
  }
}

h3 {
  font-size: 2.8rem;
}

@media only screen and (min-width: 901px) {
  h3 {
    font-size: 3.2rem;
  }
}

h4 {
  font-size: 2.4rem;
}

@media only screen and (min-width: 901px) {
  h4 {
    font-size: 2.8rem;
  }
}

h5 {
  font-size: 2rem;
}

@media only screen and (min-width: 901px) {
  h5 {
    font-size: 2.4rem;
  }
}

.main {
  height: fit-content;
}

.section {
  padding-block: 3rem;
}

@media only screen and (min-width: 901px) {
  .section {
    padding-block: 6rem;
  }
}

.section h2 {
  margin-block-end: 1rem;
}

@media only screen and (min-width: 901px) {
  .section h2 {
    margin-block-end: 3rem;
  }
}

.page-width {
  max-width: 144rem;
  margin-inline: auto;
  padding-inline: 2rem;
}

p {
  max-width: 72rem;
  margin-inline-end: auto;
  padding-block-end: 2rem;
}

/*
|--------------------------------------------------------------------------
| 1. Header Section
--------------------------------------------------------------------------
|
*/

.header {
  gap: 1rem;

  padding-inline: 3rem;
  
  grid-template-columns: max-content 1fr;
  display: grid;
  height: 6rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.header__logo-link {
  padding: 2rem 1rem 2rem 0;
  display: block;
  font-weight: 500;
}

@media only screen and (min-width: 901px) {
  .header__logo-link {
    padding: 2rem 4rem 2rem 0;
  }
}

.header__logo-link h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 2.2rem;
}

@media only screen and (min-width: 901px) {
  .header__logo-link h1 {
    font-size: 3rem;
  }
}

.header__nav {
  display: flex;
  padding-inline: 2rem;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.nav__link {
  text-transform: uppercase;
  font-size: 1.2rem;
}

@media only screen and (min-width: 901px) {
  .nav__link {
    font-size: 1.8rem;
  }
}

/*
|--------------------------------------------------------------------------
| 2. Hero Section
--------------------------------------------------------------------------
|
*/

.section--hero {
  padding-block-start: 0;
}

.section__hero {
  display: block;
  position: relative;
  min-height: 40rem;
}

.section .section__hero-title {
  margin-block-end: 0;
}

.section__hero-media {
  position: absolute;
  inset: 0;
  filter: brightness(0.6);
  overflow: clip;
  height: 100%;
}

@media only screen and (min-width: 700px) {
  .section__hero-media {
    position: relative;
  }
}

.section__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  animation: ken-burns 20s forwards 1;
}

.section__hero-media-content {
  z-index: 2;

  position: absolute;
  top: 0;
  left: 0;
  
  height: 100%;
  width: 100%;
  padding: 3rem;
  align-items: end;
  
  justify-content: start;
  
  display: flex;
}

.section__hero-media-content--inner {
  max-width: 60rem;
  flex-wrap: wrap;
  
  flex-direction: row;
  display: flex;
  gap: 1rem;
}

/*
|--------------------------------------------------------------------------
| 3. About Section
--------------------------------------------------------------------------
|
*/

.section__about {
  display: grid;
  gap: 6rem;
  grid-template-columns: 1fr;
}

@media only screen and (min-width: 901px) {
  .section__about {
    gap: 12rem;
  }
}

.section__about-row {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media only screen and (min-width: 901px) {
  .section__about-row {
    gap: 4rem;
    grid-template-columns: 1fr 1fr;
  }
}

.section__about-media-wrapper {
  overflow: clip;
  border-radius: 2rem;
}

.section__about-text {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  order: 2;
}

@media only screen and (min-width: 901px) {
  .section__about-text {
    order: 0;
  }
}

/*
|--------------------------------------------------------------------------
| 4. Menu Section
--------------------------------------------------------------------------
|
*/

.section--menu {
  color: var(--primary-color);
  background-color: var(--text);
}

.section__menu-items {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
}

.menu-item {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  user-select: none;
  width: 100%;
  max-width: 100%;
}

.menu-item p {
  padding-block-end: 0;
}

.menu-item__price {
  font-weight: 700;
}

.menu-item__image {
  aspect-ratio: 16 / 9;
  overflow: clip;
  border-radius: 2rem;
  width: 100%;
  background-position: center;
  background-size: cover;
}

/*
|--------------------------------------------------------------------------
| 5. Footer Section
--------------------------------------------------------------------------
|
*/

.footer {
  padding-block: 12rem;
}

.footer__logo-link {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20vw; 
  font-family: 'milk', sans-serif;
  line-height: 0.8;
}

.footer__copyright {
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  text-transform: uppercase;
}