:root {
  font-size: 16px;
  background-color: rgb(36, 38, 47);
  font-family: Caviar;
  color: white;
  scroll-behavior: smooth;
}

@font-face {
  font-family: Caviar;
  src: url(./assets/font/CaviarDreams.ttf);
}
@font-face {
  font-family: WC;
  src: url(./assets/font/WCManoNegraBta.ttf);
}
@font-face {
  font-family: Caviar-bold;
  src: url(./assets/font/CaviarDreams_Bold.ttf);
}

body {
  margin: 0;
  padding: 0;
}

/*    Navbar    */
.nav {
  display: flex;
  justify-content: center;
}
nav ul {
  position: fixed;
  left: 1rem;
  bottom: 0;
  padding: 0;
  display: table;
  width: calc(100vw - 2rem);
  table-layout: fixed;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  box-shadow: 0px 0px 20px 4px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: WC;
  font-size: 1rem;
  justify-content: center;
}
ul li {
  list-style: none;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.2);
  display: table-cell;
  padding-block: 0.5rem;
  margin: 0;
  font-variant: small-caps;
}
ul li:last-child {
  border: none;
}
ul li a {
  text-decoration: none;
  display: block;
  cursor: pointer;
  padding: 0;
  color: white;
}
ul li a:hover {
  color: rgb(224, 184, 118);
  transition: 0.2s ease-in;
}
ul li img {
  margin: 0;
  padding: 0;
  height: 2rem;
  filter: invert(77%) sepia(54%) saturate(359%) hue-rotate(347deg) brightness(93%) contrast(87%) drop-shadow(3px 5px 2px rgb(0 0 0 / 0.5));
}
ul li:hover {
  box-shadow: inset 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  border-top: 2px solid rgb(224, 184, 118);
}
ul li:last-child:hover {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
ul li:first-child:hover {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
/*    Navbar    */


/*    Header    */
header {
  display: flex;
  flex-direction: column;
  padding-inline: 1rem;
  overflow-x: none;
}
header hr {
  background-color: rgb(231, 183, 106);
  width: 100%;
  height: 3px;
  border-radius: 100%;
  border-width: 0;
}
header p {
  font-size: 0.8rem;
  justify-content: center;
  display: flex;
  padding: 0;
  margin-bottom: 0;
  font-family: Caviar;
}
.logo {
  height: 60px;
  padding: 1.5rem 0 1rem 0;
}
.deco-1 {
  display: flex;
  position: absolute;
  left: 0;
  height: 40px;
  left: 0.5rem;
  top: 0.5rem;
}
.deco-2 {
  display: flex;
  position: absolute;
  transform: scale(-1, 1);
  height: 40px;
  right: 0.5rem;
  top: 0.5rem;
}
/*    Header    */


/*    Haupt   */
.haupt {
  padding-inline: 1rem;
}
.menu-heading {
  font-family: WC;
  color: rgb(231, 183, 106);
  font-size: 1.8rem;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}
.menu-heading:first-child {
  margin-top: .8rem;
}
.dish-container {
  font-family: Caviar;
  color: white;
  font-size: 1rem;
  display: grid;
  grid-template-columns: 8% 1fr 20%;
}
.hot {
  height: 0.7rem;
}
.dishprice {
  color: rgb(231, 183, 106);
  font-family: Caviar-bold;
  text-align: right;
}
small {
  color: rgb(231, 183, 106);
  font-size: 0.7rem;
  font-style: italic;
  font-variant: small-caps;
  font-weight: bold;
}
.chinese-1 {
  display: grid;
  grid-template-columns: 1fr 0.5fr 1fr 0.5fr;
  column-gap: 1rem;
}
.chinese-2 {
  display: grid;
  grid-template-columns: 8% 1fr;
  margin-block: 0.8rem;
}
.dishlong {
  letter-spacing: -.05rem;
}
.dish2xlong {
  letter-spacing: -0.1rem;
}
/*    Haupt   */


/*    Sichuan   */
.sichuan {
  flex-direction: column;
  display: flex;
  justify-content: center;
}
.sichuan img {
  width: auto;
}
/*    Sichuan   */


/*    Drinks    */
.drinks {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr;
}
.drinks-note {
  font-family: Caviar-bold;
  padding-bottom: 1rem;
}
.drinks-note2 {
  text-align: right;
  font-family: Caviar-bold;
}
.drinks-price {
  text-align: right;
  color: rgb(231, 183, 106);
  font-weight: 900;
}
/*    Drinks    */

/*    Responsiv   */
@media (min-width: 768px) {
  :root {
    font-size: 25px;
    justify-content: center;
    display: block;
  }
  .deco-1, .deco-2 {
    display: none;
  }
  nav ul {
    display: flex;
    position: fixed;
    top: 0;
    left:0;
    width: 200px;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-radius: 0;
    align-items: center;
  }
  ul li {
    border: 0;
    width: 100%;
  }
  ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-name {
    margin-left: 1rem;
    font-size: 1rem;
    padding: 0;
  }
  ul li img {
    margin: 0;
    padding: 0;
    height: 2.2rem;
  }
  ul li:hover, ul li:last-child:hover, ul li:first-child:hover { 
    border-right: 3px solid rgb(224, 184, 118);
    border-top: none;
    border-radius: 0;
    border-left: 0;
    box-shadow: none;
  }
  body {
    display: grid;
    justify-content: center;
  }
  .haupt, header {
    width: 500px;
    padding-left: 200px;
  }
  .dishlong {
    letter-spacing: -0rem;
  }
  .dish2xlong {
    letter-spacing: -0.05rem;
  }
  .hot {
    height: .8rem;
  }
  .sichuan {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .sichuan img {
    max-width: 250px;
  }
}
@media (min-width: 1024px) {
  body {
    width: 100%;
    justify-content: center;
    display: grid;
  }
  .haupt, header {
    width: 700px;
    padding-left: 250px;
  }
  nav ul {
    width: 250px;
  }
  .sichuan {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .sichuan img {
    max-width: 350px;
  }
}
@media (min-width: 500px) {
  :root {
    font-size: 20px;
  }
}



