@font-face {
  font-family: GT Maru;
  src: url("../public/fonts/GT Maru Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: GT Maru;
  src: url("../public/fonts/GT Maru Medium.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: GT Maru;
  src: url("../public/fonts/GT Maru Black.otf") format("opentype");
  font-weight: 600;
}

@font-face {
  font-family: GT Maru Oblique;
  src: url("../public/fonts/GT Maru Regular Oblique.otf") format("opentype");
  font-weight: 300;
}

@font-face {
  font-family: GT Maru Oblique;
  src: url("../public/fonts/GT Maru Medium Oblique.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: GT Maru Oblique;
  src: url("../public/fonts/GT Maru Black Oblique.otf") format("opentype");
  font-weight: 600;
}


@font-face {
  font-family: Castledown;
  src: url("../public/fonts/CastledownCursivePro-Regular.ttf") format("truetype");
}

@font-face {
  font-family: YRTBangBang;
  src: url("../public/fonts/YRTBangBangRegular.otf") format("opentype");
  font-weight: 600;
}

:root {
  --yellow: #ffdb00;
  --orange: #f2662e;
  --pink: #ee78a3;
  --green: #5cba70;
  --lightblue: #1db5be;
}

html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
}

html.menu-open {
  overflow-y: hidden;
}

body {
  margin: 0;
  background-color: var(--yellow);
  font-family: GT Maru, sans-serif;
  overflow: hidden;
}

img {
  user-select: none;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-family: 400;
  padding: 6px;
  z-index: 10;
  justify-content: center;
}

header .brand img {
  width: 75px;
}

header .links {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 1200px;
}

header .links a {
  text-transform: uppercase;
  border: solid 1px black;
  padding: 16px 22px;
  border-radius: 32px;
  text-decoration: none;
  color: black;
  flex: 1;
  display: inline-block;
  white-space: nowrap;
  background-color: var(--yellow);
  text-align: center;
  font-size: 14px;
  height: 51px;
  box-sizing: border-box;
}

header .links a:hover {
  box-shadow: 3px 3px 0px black;
}

header .links a.shop {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f2662e;
  gap: 6px;
}

.section-title {
  text-transform: uppercase;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  font-size: 20px;
  margin-top: 54px;
  margin-bottom: 32px;
}


footer {
  background-color: var(--orange);
  overflow: hidden;
  padding: 72px 24px;
}

footer .container {
  display: grid;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  grid-template: "a b d" auto "c b d"  auto / 1fr 4fr 1fr;
  gap: 16px;

}

footer .contact {
  display: flex;
  flex-direction: column;
}

footer h3 {
  margin: 0;
  margin-bottom: 1em;
}

footer a {
  text-decoration: none;
  color: black;
  margin-bottom: 6px;
}

footer .container > img {
  width: 100%;
  grid-area: b;
}

footer .legal {
  font-size: 12px;
  grid-area: c;
}

#menu-btn {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  /* background-color: var(--yellow); */
  border-radius: 100px;
}

#menu-btn img {
  pointer-events: none;
}

#menu {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 9;
  transition: opacity 300ms;
  display: flex;
  align-self: center;
  justify-content: center;
  pointer-events: none;
}

#menu.open {
  opacity: 1;
  pointer-events: all;
}

#menu .sun {
  position: absolute;
  height: 180%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 300ms;
  z-index: -1;
}

#menu.open .sun {
  transform: translate(-50%, -50%) scale(1);
}

#menu .links {
  display: flex;
  align-self: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
#menu .links a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

#menu .links a.active {
  text-decoration: underline;
}

#menu-btn .close {
  display: none;
}
#menu-btn.open .close {
  display: block;
}
#menu-btn.open .burger {
  display: none;
}

#menu .socials {
  display: flex;
  gap: 12px;
}

#menu .socials img {
  width: 20px;
}

@media screen and (min-width: 761px) {
  .monly {
    display: none !important;
  }
}

@media screen and (max-width: 760px) {
  .donly {
    display: none !important;
  }

  header {
    justify-content: space-between;
  }

  header .links {
    display: none;
  }

  .section-title {
    font-size: 16px;
  }

  footer .container {
    grid-template: "b" auto "a" auto "c" auto / 1fr;
  }

  footer .container > img {
    margin-bottom: 24px;
  }
}

@media (hover: hover) {
  ::-webkit-scrollbar {
    width: 12px;
  }
  ::-webkit-scrollbar-track {
    background-color: var(--yellow);
    border-left: 1px solid #000;
  }
  ::-webkit-scrollbar-thumb {
    background-color: var(--orange);
    border: solid 1px black;
    border-right: none;
  }
  ::-webkit-scrollbar-thumb:hover {

  } 
}


[fade-in] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
}

[fade-in].fade-in-appear {
  visibility: visible;
  --fade-in-time: 500ms;
  --fade-in-delay: 0s;
  animation: fadein var(--fade-in-time) ease var(--fade-in-delay) forwards;
}


@keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
