/* =========== Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;800;900&display=swap");

/* =========== Browser Reset ============ */
:root {
  /* Color Variables */
  --gold: rgba(175, 149, 74, 1);
  --text1: #1e140a;
  --text2: rgb(250, 249, 249);
  --grey1: rgb(107, 113, 119);
  --grey2: rgb(251, 247, 237);
  --grey3: #262626;
  --white: #fff;
  --shadow-300: 0 5px 5px rgba(0, 0, 0, 0.3);
  --shadow-500: 0 5px 5px rgba(0, 0, 0, 0.5);
  --transition-300: all 300ms ease-in-out;
  --transition-500: all 500ms ease-in-out;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Change it from background-attachment: fixed For mobile ver.*/
html::before {
  content: "";
  display: block;
  background-image: url("/images/m22_doenjangstew.jpg");
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: -10 !important;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
}
/* This makes blurred background image on Iphone.
body {
  font-family: "Poppins", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  background-attachment: fixed;
  background-color: var(--white);
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("/images/m22_doenjangstew.jpg");
}
*/
a {
  text-decoration: none !important;
}

li {
  list-style: none;
}

img,
video {
  width: 100%;
  height: 100%;
}

h2,
h3,
h4 {
  font-weight: 600;
}
/* =========== Custom Classes ============ */
.d-flex {
  display: flex;
  align-items: center;
}

.container {
  max-width: 114rem;
  margin: 0 auto;
}

.section {
  margin: 5rem 0;
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.title {
  margin-bottom: 2rem;
}

.title h1 {
  font-size: 3rem;
  color: var(--text2);
  text-shadow: var(--shadow-300);
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--gold);
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  transition: var(--transition-300);
  margin-top: 3rem;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-500);
  transform: translateY(-5px);
  opacity: 0.85;
}

.btn:active {
  transform: translateY(0);
}

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

@media (max-width: 567px) {
  .title h1 {
    font-size: 3rem;
  }

  .section {
    margin: 5rem 0;
    padding: 5rem 0 0;
  }

  .btn {
    font-size: 1.5rem;
  }
}

/*
======================
Loader
++++++++++++++++++++++
*/
.spinner-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: var(--grey2);
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
}

.spinner::before,
.spinner:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.spinner:before {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    90deg,
    #f9fd05 0%,
    rgba(175, 149, 74, 1) 100%
  );
  animation: spin 0.5s infinite linear;
}
.spinner:after {
  width: 90%;
  height: 90%;
  background-color: var(--grey2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========== Navigation ============ */
.header {
  position: relative;
  width: 100%;
  height: 7rem;
  z-index: 0;
}

.navigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  padding: 1rem 0;
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  justify-content: space-between;
}

.logo img {
  width: 5rem;
  height: 5rem;
}

.logo h1 {
  font-size: 3rem;
  letter-spacing: 0.05rem;
  color: var(--text2);
  font-family: "MedievalSharp", cursive;
}

.nav-item:not(:last-child) {
  margin-right: 1rem;
}

.nav-link {
  display: inline-block;
  color: var(--text2);
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.4rem;
  position: relative;
}

.nav-item i {
  font-size: 3rem;
  color: var(--text2);
}

.nav-link i:hover {
  transform: scale(1.5);
}

.nav-link img {
  border-radius: 50%;
}

.nav-link span {
  display: none;
}

.nav-link img:hover {
  transform: scale(1.5);
}

@media only screen and (max-width: 540px) {
  .navigation {
    padding: 0;
  }

  .nav {
    max-width: 540px;
    padding: 1rem;
  }

  .logo img {
    width: 3rem;
    height: 3rem;
  }

  .logo h1 {
    font-size: 2.5rem;
  }

  .nav-item:not(:last-child) {
    margin-right: 0.5rem;
  }

  .nav-link {
    width: 3rem;
    height: 3rem;
    padding: 0.5rem;
  }

  .nav-item i {
    font-size: 2.5rem;
    color: var(--gold);
  }

  .nav-link i:hover {
    transform: scale(1.3);
  }

  .nav-item img {
    width: 3rem;
    height: 3rem;
  }

  .nav-link img:hover {
    transform: scale(1.3);
  }
}

@media (max-width: 280px) {
  .header .logo h1 {
    font-size: 1.8rem;
  }

  .header .nav-item i {
    font-size: 2rem;
  }

  .nav-link img {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.2rem;
  }

  .nav-link img:hover {
    transform: scale(1.1);
  }
}

/*
=========================
MENU Page 
+++++++++++++++++++++++++
*/
#menu {
  margin: 5rem auto;
  color: var(--text2);
}

#menu h1 {
  padding: 2rem;
  font-size: 3rem;
}

#menu ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.selection {
  display: flex;
  justify-content: space-between;
}

.language-switcher {
  display: flex;
}

.language-switcher li:not(:last-child) {
  margin-left: 0.5rem;
}

.language-switcher li a {
  color: white;
  font-weight: 600;
  margin-left: 0.5rem;
  letter-spacing: 0.15rem;
  font-size: 2rem;
}

.language-switcher li a:hover {
  transform: scale(1.1);
  color: var(--gold);
}

.vege-gluten li {
  font-size: 1.2rem;
}

.menu .list {
  background: rgba(71, 43, 1, 0.5);
  padding: 5rem;
  width: 100%;
}

.menu .list h2 {
  margin: 3rem 0;
  padding: 0.5rem;
  font-size: 3rem;
  text-shadow: var(--shadow-500);
  border-bottom: 1px solid white;
}

.menu-starter ul,
.menu-main ul,
.menu-garnish ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.menu-starter ul li,
.menu-main ul li,
.menu-garnish ul li {
  margin: 1rem;
}

.main-header {
  margin-bottom: 3rem;
}

.main-character,
.garnish-character {
  margin-right: 1rem;
}

.main-character img,
.garnish-character img {
  width: 100px;
  height: 200px;
  float: left;
  margin-right: 0;
  margin-bottom: 0;
}

.main-character img {
  margin-bottom: 1rem;
}

.menu-beverages ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem 3rem;
}

.menu-beverages ul li {
  margin: 0;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30rem;
}

.list-item h4 {
  color: white;
  font-size: 1.3rem;
}

.menu .list ul li span {
  font-size: 1.2rem;
}

@media only screen and (max-width: 1024px) {
  .menu .list {
    padding: 5rem;
  }

  .menu .list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .list-item {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .list-item h4 {
    font-size: 1.2rem;
  }

  .main-character img {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 700px) {
  .menu .list ul {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 580px) {
  .menu .list ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu .list {
    padding: 1rem;
  }
}

@media only screen and (max-width: 425px) {
  .vege-gluten li {
    font-size: 1rem;
  }

  .menu .list ul {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 375px) {
  .menu .list h2 {
    margin: 2rem 0;
    padding: 0.5rem;
    font-size: 2.5rem;
  }

  .list-item {
    width: 27rem;
  }
}

@media only screen and (max-width: 320px) {
  #menu {
    margin: 0;
    padding: 1.5rem;
  }

  .menu .list {
    background: rgba(71, 43, 1, 0.5);
    padding: 1rem;
    margin: 0;
  }

  .menu .list h2 {
    font-size: 2rem;
  }

  .menu .list h3 {
    font-size: 1.5rem;
  }

  .menu .list h4,
  .menu .list p {
    font-size: 1.2rem;
  }

  .menu-starter ul li,
  .menu-main ul li,
  .menu-garnish ul li {
    margin: 0.5rem;
  }

  .list-item {
    width: 25rem;
  }
}

@media only screen and (max-width: 280px) {
  .language-switcher li a {
    color: white;
    margin-left: 0.5rem;
    letter-spacing: 0.1rem;
  }
  .list-item {
    width: 22rem;
  }

  .menu .list img {
    max-width: 22rem;
  }
}
/*
==========================================
Footer
==========================================
*/

.footer {
  background-color: var(--grey3);
  padding: 3rem 1rem;
  line-height: 2rem;
  margin: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
}

.footer-center a:link,
.footer-center a:visited {
  display: block;
  color: var(--white);
  font-size: 1.4rem;
  transition: 0.6s;
}

.footer-center a:hover {
  color: var(--gold);
}

.footer-center p,
.footer-center div {
  color: var(--grey1);
  font-size: 1.4rem;
}

.footer-center h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-center span {
  margin-right: 1rem;
}

.footer-center h5 {
  color: var(--grey1);
  font-size: 1.4rem;
  margin-top: 1rem;
  font-weight: 300;
}

@media only screen and (max-width: 998px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
}

@media only screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
}

@media only screen and (max-width: 280px) {
  footer .container {
    padding: 1.5rem 0.7rem;
    line-height: 1.8rem;
    margin: 0;
  }

  .footer-center p,
  .footer-center a {
    font-size: 1.3rem;
  }
}
