@charset "UTF-8";
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Regular.woff2") format("woff2"), url("../fonts/NeueMontreal-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* :root {
  --Outline: 0.4rem solid black;
  --Outline-offset: -0.2rem;
} */
:root {
  --OZ: 6px;
  --OZ-offset: 3px;
  --Outline: 6px solid black;
  --Minus-Outline-offset: -3px;
  --Minus-Full-offset: -6px;
}

html {
  margin: 0;
  padding: 0;
  font-family: "Neue Montreal", sans-serif;
  font-size: 16px;
}

body {
  background-color: #fafafa;
  margin: 0;
  display: flex;
  flex-direction: row;
  height: 100dvh;
  width: 100dvw;
  overflow: hidden;
}

.container {
  display: flex;
  width: auto;
}

.content {
  margin: 0;
  padding: 0;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.page-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.container-visible {
  height: 100%;
  display: auto;
  /* opacity: 1; */
  transition: opacity 0.2s ease-in;
}

.container-hidden {
  height: 0;
  display: none !important;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

/* ------------------ */
/*    NAVIGATION      */
/* ------------------ */
.navigation {
  height: 100vh;
  width: auto;
  background-color: #0d0d0d;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  flex-basis: auto;
  justify-content: space-evenly;
  position: sticky;
  margin: 0;
  transition: height 0.2s ease-in-out;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: sticky;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

.navigation.navLoaded {
  opacity: 1;
}

.navItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: all 0.2s ease;
  padding: 0 1rem;
  padding-right: calc(1rem - var(--OZ));
}

.navText {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  /* padding: 0.2rem; */
}

.navItem.selected .navText {
  padding: 1rem;
  outline: var(--OZ) solid white !important;
  color: #fafafa;
}

.navItem.unselected .navText {
  padding: 1rem;
  outline-offset: var(--OZ-offset);
  outline: var(--OZ) solid transparent;
  color: #fafafa;
}

.mobileMenu {
  display: none;
  opacity: 0;
}

.footer {
  display: flex;
  width: 100%;
  height: 5rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer {
  outline: var(--Outline);
  outline-offset: var(--Minus-Outline-offset);
  z-index: 500;
}

.footer p.grey {
  padding: 1rem;
}

/* mobile media query */
@media only screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }

  body {
    flex-direction: column;
  }

  .navigation {
    bottom: 0;
    /* top: initial; */
    width: 100%;
    height: 7vh;
    flex-direction: column;
    z-index: 5;
    position: sticky;
  }

  .navigation.mobileOpen {
    /* display: flex; */
    height: 30vh;
  }

  .navText {
    padding: var(--OZ-offset);
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    /* font-weight: 600; */
    margin: 0;
    color: #fafafa;
  }

  .navItem.selected .navText {
    outline: none !important;
  }

  .navItem {
    width: 100%;
    /* height: 100%; */
    height: 5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 0;
    transition: none;
  }

  .navigation:not(.mobileOpen) .navItem {
    pointer-events:none;
  }

  .navItem.unselected {
    opacity: 0;
    height: 0;
  }

  .navItem.unselected .navText {
    color: #6e6e6e;
  }

  .mobileMenu {
    display: block;
    opacity: 1;
  }

  .mobileOpen {
    height: 10em;
    transition: height 0.2s ease-in-out;
  }

  footer {
    outline-offset: -0.2rem;
    outline: 0.4rem solid black;
  }
  /* .cadre {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    outline: var(--Outline);
    outline: 6px solid green;
    outline-offset: var(--Minus-Full-offset);
    touch-action: none;
  } */
}

/* ------------------ */
/*    TEXT STYLES     */
/* ------------------ */
.landingTitle {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-size: 18rem;
  /* line-height: 108px; */
  color: #000000;
}

.title {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-size: 9rem;
  /* line-height: 108px; */
  color: #000000;
}

.main {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  /* line-height: 48px; */
  color: #000000;
}

.grey {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  /* line-height: 48px; */
  color: #cccccc;
}

.bigger {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 400;
  font-size: 3rem;
  /* line-height: 72px; */
  color: #000000;
}

/* ------------------ */
/*    PRELOAD IMG     */
/* ------------------ */
body::after{
  position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
  content: url(../images/Carrots.jpg) url(../images/Cucumber.jpg) url(../images/Shrimp-01.jpg) url(../images/Teriyaki-Spicy.jpg) url(../images/avocado-01.jpg) url(../images/bowl_02.jpg) url(../images/mango.jpg) url(../images/rice-b-01.jpg) url(../images/salmon-02.jpg) url(../images/Choux-rouge.jpg) url(../images/Mayo_Spicy.jpg) url(../images/TOFU.jpg) url(../images/Teriyaki.jpg) url(../images/avocado-02.jpg) url(../images/edamame-01.jpg) url(../images/rice-01.jpg) url(../images/rice-b-02.jpg) url(../images/tuna-01.jpg) url(../images/Courgette.jpg) url(../images/Radish.jpg) url(../images/Tahini.jpg) url(../images/Wakame.jpg) url(../images/bowl_01.jpg) url(../images/edamame-02.jpg) url(../images/rice-02.jpg) url(../images/salmon-01.jpg) url(../images/tuna-02.jpg);
}

/* ------------------ */
/*      LANDING       */
/* ------------------ */
#container-landing {
  overflow: hidden;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#container-landing.loaded {
  opacity: 0;
}

.landing-img {
  max-width: 100%;
  height: auto;
  z-index: 10000;
}

.landingTitle:last-of-type {
  position: absolute;
  right: 0;
  bottom: 0;
}

.landingTitle:first-of-type {
  position: absolute;
  left: 0;
  top: 0;
}