@font-face {
  font-family: "Zetkin";
  src: url("../src/fonts/Zetkin-Wide.woff2") format("woff2"), url("../src/fonts/Zetkin-Wide.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zetkin";
  src: url("../src/fonts/Zetkin-WideOblique.woff2") format("woff2"), url("../src/fonts/Zetkin-WideOblique.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AtlantiqueMiami";
  src: url("../src/fonts/AtlantiqueMiami-Medium.woff2") format("woff2"), url("../src/fonts/AtlantiqueMiami-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AtlantiqueMiami";
  src: url("../src/fonts/AtlantiqueMiami-MediumItalic.woff2") format("woff2"), url("../src/fonts/AtlantiqueMiami-MediumItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Dyade";
  src: url("../src/fonts/Dyade-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(230, 230, 230, 0.5);
}

html {
  font-family: "Zetkin";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding-bottom: 36px;
  overflow-x: hidden;
}

header {
  width: 100%;
  padding: 10px 40px 0 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "logo menu menu menu menu menu menu menu menu menu menu dot";
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header h1 {
  grid-area: logo;
  font-family: "Dyade";
  font-weight: normal;
  font-size: 20px;
  line-height: 17px;
  letter-spacing: 0.05em;
  transform: translateY(-7px);
}
header h1 a {
  color: black;
  text-decoration: none;
}
header nav {
  grid-area: menu;
}

#menu-shadowwrapper {
  width: 100%;
  height: 100%;
}

#menu-innerwrapper {
  max-width: 1100px;
  margin: 0 auto;
}

#menu {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
#menu li.menu_item {
  display: block;
  width: 20%;
  max-width: 174px;
  height: 28px;
  list-style: none;
  font-family: "Zetkin";
  font-size: 11px;
  line-height: 26px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
  border-radius: 14px;
  border: 1px solid black;
  background-color: white;
  transition: all 250ms ease-in-out;
  cursor: pointer !important;
}
#menu li.menu_item a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
#menu li.menu_item.current, #menu li.menu_item:hover {
  color: white;
  background-color: black;
  transition: all 250ms ease-in-out;
}
#menu li.menu_item.current a, #menu li.menu_item:hover a {
  color: inherit;
}

#asterisk {
  border: none;
  background: none;
  width: 1.8vw;
  height: 1.8vw;
  display: none;
}
#asterisk img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

#shop-buttons {
  grid-area: dot;
  justify-self: end;
}

#custom-select {
  display: none;
  width: 45px;
  height: 28px;
  position: relative;
  font-family: "Zetkin";
  font-size: 11px;
  letter-spacing: 0.05em;
}

.select-hidden {
  display: none;
  visibility: hidden;
}

.select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 7px 9px 0 0;
  text-align: right;
}
.select-styled:hover {
  cursor: pointer;
}
.select-styled svg {
  position: absolute;
  top: 42%;
  right: 0;
  width: 7px;
  fill: black;
}

.select-options {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.select-options.hidden {
  display: none;
}
.select-options li {
  margin: 0;
  padding: 0 9px 0 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

#cart-preview {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: none;
  font-family: "Zetkin";
  text-align: center;
  color: white;
  background-color: black;
  position: sticky;
  cursor: pointer;
}
#cart-preview.hidden {
  display: none;
}
#cart-preview .snipcart-items-count {
  opacity: 1;
  color: white;
}
#cart-preview .snipcart-items-count.hide {
  opacity: 0;
  color: black;
}

header {
  position: fixed;
  z-index: 20;
}

header h1,
#menu-dot {
  display: none;
}

main.grid {
  width: 100%;
  padding: 0 40px 40px 40px;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 0 10px;
  overflow-x: hidden;
}

body {
  overflow: hidden;
}

main {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  --pos: 59% 44%;
  --rotate: -154deg;
}
main::after {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  top: 50%;
  left: 50%;
  background: url("../src/img/home-bg.svg");
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: var(--pos);
  background-size: contain;
  z-index: -1;
  transform: translate(-50%, -50%) rotate(var(--rotate));
}

h1 {
  font-family: "Dyade";
  font-size: 90px;
  line-height: 108px;
  font-weight: normal;
  text-align: center;
  padding: 0 30px 14vh 30px;
  color: white;
  mix-blend-mode: difference;
}

#edito {
  max-width: 450px;
  padding: 5px 14px;
  border: 1px solid black;
  border-radius: 24px;
  background: #fff;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
  text-transform: uppercase;
}
#edito.hidden {
  display: none;
}

#infos {
  list-style: none;
  position: fixed;
  left: 40px;
  right: 40px;
  bottom: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-rows: auto auto;
  gap: 0 10px;
  mix-blend-mode: difference;
  color: white;
}
#infos li {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: normal;
  cursor: pointer;
}
#infos li.arrow {
  line-height: 14px;
  padding: 1px;
}
#infos li.arrow svg {
  display: inline-block;
  margin-right: 0.5em;
  fill: white;
  width: 7px;
}
#infos li.arrow span, #infos li.arrow a {
  color: inherit;
  text-decoration: none;
}
#infos li.arrow:hover span {
  text-decoration: underline;
}
#infos li.btn {
  width: 50px;
  height: 28px;
  border-radius: 14px;
  background-color: black;
  border: 1px solid white;
  transition: all 250ms ease-in-out;
}
#infos li.btn a {
  display: block;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  line-height: 26px;
  text-decoration: none;
}
#infos li.btn:hover {
  background-color: white;
  border: 1px solid white;
  transition: all 250ms ease-in-out;
}
#infos li.btn:hover a {
  color: black;
}
#infos li#newsletter {
  grid-column: 1/2;
  grid-row: 2/3;
}
#infos li#link-fb {
  grid-column: 3/4;
  grid-row: 1/3;
}
#infos li#link-insta {
  grid-column: 4/5;
  grid-row: 1/3;
}

#newslettersub_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
}
#newslettersub_wrapper.hidden {
  display: none;
}
#newslettersub_wrapper #newslettersub_wrapper_out {
  grid-column: 1/-1;
  grid-row: 1/-1;
  justify-self: stretch;
  align-self: stretch;
  background-color: rgba(250, 255, 255, 0);
}
#newslettersub_wrapper #mc_embed_signup {
  grid-column: 2/3;
  grid-row: 2/3;
  align-self: center;
  justify-self: center;
}

/* MAIL CHIMP */
#mc_embed_signup {
  margin-top: 20vh;
  padding: 10px;
  /**/
  font-family: "Zetkin";
  /**/
  border: 1px solid black;
  border-radius: 24px;
  background: #fff;
  z-index: 1;
}

.form-line {
  width: 350px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid black;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.form-line input {
  flex-grow: 1;
  height: auto;
  border: none;
  display: block;
  font-family: "Zetkin";
  font-weight: normal;
  font-size: 12px;
  line-height: 26px;
  letter-spacing: 0.05em;
  color: black;
  text-transform: uppercase;
  text-decoration: none;
}

input[type=submit] {
  display: block;
  width: 174px;
  height: 28px;
  margin: 10px auto 0 auto;
  border: 1px solid black;
  border-radius: 14px;
  font-family: "Zetkin";
  text-transform: uppercase;
  font-weight: normal;
  font-size: 12px;
  line-height: 26px;
  letter-spacing: 0.05em;
  color: white;
  text-decoration: none;
  background-color: black;
  cursor: pointer;
}

input[type=submit].notvalid {
  opacity: 0.2;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

input:focus {
  border: none;
  outline: none;
}

/* COOKIE INFO */
#cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  min-width: -moz-max-content;
  min-width: max-content;
  width: 65%;
  max-width: 800px;
  height: 26px;
  transform: translateX(-50%);
}
@media screen and (max-width: 1150px) {
  #cookie-banner {
    bottom: 70px;
  }
}
#cookie-banner #cookie-banner_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-right: 60px;
}
#cookie-banner p {
  font-family: "Zetkin";
  text-transform: uppercase;
  font-size: 11px;
  line-height: 26px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 14px;
  padding: 0 14px;
  background-color: white;
  border: 1px solid black;
}
#cookie-banner button {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  text-align: center;
  font-family: "Zetkin";
  color: black;
  background-color: white;
  border: 1px solid black;
  transition: all 250ms ease-in-out;
}
#cookie-banner button:hover {
  color: white;
  background-color: black;
  transition: all 250ms ease-in-out;
}
#cookie-banner.hidden {
  display: none;
}

@media screen and (orientation: portrait) and (max-width: 1149px) {
  header {
    width: 100%;
    padding: 10px 10px 0 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "logo logo dot dot";
    gap: 10px;
  }
  header h1 {
    grid-area: logo;
    font-size: 23px;
    line-height: 19px;
    letter-spacing: 0.05rem;
    transform: translateY(-5px);
  }
  header nav {
    position: fixed;
    left: 9px;
    right: 9px;
    bottom: 10px;
    height: 40px;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  #menu-wrapper {
    grid-column: 1/-1;
    grid-row: 1/-1;
    width: calc(100vw - 20px);
    justify-self: end;
    align-self: center;
    opacity: 0;
    background-color: black;
    -webkit-clip-path: inset(0% 0% 0% 0% round 20px);
            clip-path: inset(0% 0% 0% 0% round 20px);
    position: relative;
    height: 100%;
  }
  #menu-wrapper.initial {
    display: block;
    width: calc(100vw - 20px);
    height: 40px;
    color: white;
    opacity: 1;
    position: relative;
  }
  #menu-wrapper.notvisible {
    position: relative;
    display: block;
    animation-name: closewrapper;
    animation-duration: 200ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    pointer-events: none;
  }
  #menu-wrapper.visible {
    display: block;
    width: calc(100vw - 20px);
    animation-name: openwrapper;
    animation-duration: 200ms;
    animation-delay: 200ms;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
  }
  @keyframes openwrapper {
    0% {
      margin-right: 100px;
      transform-origin: center right;
      transform: scale(0, 0);
      color: black;
      opacity: 0;
    }
    5% {
      margin-right: 100px;
      border-radius: 5px;
      transform-origin: center right;
      transform: scale(0.01, 0.3);
      color: black;
      opacity: 1;
    }
    65% {
      color: white;
    }
    100% {
      margin-right: 0;
      border-radius: 20px;
      transform-origin: center right;
      transform: scale(1, 1);
      color: white;
      opacity: 1;
    }
  }
  @keyframes closewrapper {
    0% {
      margin-right: 0;
      border-radius: 20px;
      transform-origin: center right;
      transform: scale(1, 1);
      color: white;
      opacity: 1;
    }
    35% {
      color: black;
    }
    95% {
      margin-right: 100px;
      border-radius: 5px;
      transform-origin: center right;
      transform: scale(0.01, 0.3);
      color: black;
      opacity: 1;
    }
    100% {
      margin-right: 100px;
      transform-origin: center right;
      transform: scale(0, 0);
      color: black;
      opacity: 0;
    }
  }
  #menu-shadowwrapper {
    width: calc(100vw - 20px);
    height: 100%;
  }
  #menu-shadowwrapper::before {
    content: "";
    width: calc(100vw - 20px);
    height: 100%;
    position: absolute;
    z-index: 2;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    pointer-events: none;
    box-shadow: inset -60px 0px 15px -50px black, inset 60px 0px 15px -50px black;
    border-radius: 22px;
  }
  #menu-innerwrapper {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  #menu-innerwrapper::-webkit-scrollbar {
    display: none; /* Webkit */
  }
  #menu {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    width: -moz-fit-content;
    width: fit-content;
    height: 100%;
    padding: 0 18px;
    display: block;
    width: -moz-max-content;
    width: max-content;
  }
  #menu li.menu_item {
    display: block;
    width: -moz-max-content;
    width: max-content;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 1;
    font-size: 12px;
    line-height: 39px;
    text-align: center;
    border-radius: 0;
    border: none;
    color: inherit;
    background-color: transparent;
    float: left;
    margin-right: 20px;
    -webkit-tap-highlight-color: transparent;
  }
  #menu li.menu_item:last-of-type {
    margin-right: 0;
  }
  #menu a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
  }
  #asterisk {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 10;
    border: none;
    background: none;
    width: 41px;
    height: 41px;
    cursor: pointer;
    display: block;
    opacity: 1;
    padding: 0;
    transition-delay: 500ms;
    transition-property: all;
    transition: all 400ms ease-in-out;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  }
  #asterisk.hidden {
    opacity: 0;
    transform-origin: center center;
    transform: rotate(-90deg);
    pointer-events: none;
    transition-delay: 100ms;
    transition-property: all;
    transition: all 400ms ease-in-out;
    padding: 15px;
  }
  #asterisk:active {
    opacity: 0.9;
  }
  #shop-buttons {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 20;
  }
  #custom-select {
    width: 45px;
    height: 28px;
    position: relative;
    font-family: "Zetkin";
    font-size: 12px;
    letter-spacing: 0em;
  }
  .select-hidden {
    display: none;
    visibility: hidden;
  }
  .select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 7px 9px 0 0;
    text-align: right;
  }
  .select-styled:hover {
    cursor: pointer;
  }
  .select-styled svg {
    position: absolute;
    top: 42%;
    right: 0;
    width: 7px;
    fill: black;
  }
  .select-options {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
  }
  .select-options.hidden {
    display: none;
  }
  .select-options li {
    margin: 0;
    padding: 0 9px 0 0;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    cursor: pointer;
  }
  main {
    display: block;
  }
  h1 {
    width: 100%;
    max-width: -moz-min-content;
    max-width: min-content;
    font-size: 100px;
    line-height: 72px;
    padding: 8px 9px 0 9px;
    text-align: left;
    transform: translate(0, -25px);
  }
  h1 span {
    display: none;
  }
  #edito {
    display: none;
    position: fixed;
    top: 60vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    width: 90vw;
    font-size: 12px;
    line-height: 16px;
  }
  #infos {
    list-style: none;
    position: static;
    display: grid;
    padding: 0 10px;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(2, auto);
    gap: 10px;
  }
  #infos li {
    font-size: 12px;
  }
  #infos li.arrow {
    line-height: 16px;
    padding: 1px;
  }
  #infos li.arrow svg {
    margin-right: 1.5vw;
    height: 2.3vw;
  }
  #infos li.btn {
    margin-top: 0;
  }
  #infos li#newsletter {
    grid-column: 1/-1;
    grid-row: 1/2;
  }
  #infos li#link-fb {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  #infos li#link-insta {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  #mc_embed_signup {
    margin-top: 0;
  }
  /* COOKIE INFO */
  #cookie-banner {
    bottom: 70px;
    left: 50%;
    min-width: 0;
    width: calc(100vw - 20px);
    max-width: 800px;
    min-height: 28px;
    height: auto;
    transform: translateX(-50%);
  }
  #cookie-banner p {
    font-size: 11px;
    line-height: 17px;
    min-height: 28px;
  }
  #cookie-banner button {
    top: auto;
    bottom: 0;
  }
}