/* MEDIA QUERIES */

@media not all and (min-width: 1536px) {
  :root {
    --wp--custom--wrapper--px: 80px !important;
    --wp--custom--wrapper--gap: 80px !important;
    --wp--preset--font-size--76: 70px !important;
    --wp--preset--font-size--52: 48px !important;
    --wp--preset--font-size--40: 36px !important;
  }
}

@media not all and (min-width: 1280px) {
  :root {
    --wp--custom--wrapper--px: 60px !important;
    --wp--custom--wrapper--gap: 60px !important;
    --wp--preset--font-size--76: 62px !important;
    --wp--preset--font-size--52: 44px !important;
    --wp--preset--font-size--40: 32px !important;
  }
}

@media not all and (min-width: 1024px) {
  :root {
    --wp--preset--font-size--76: 56px !important;
    --wp--preset--font-size--52: 40px !important;
    --wp--preset--font-size--40: 28px !important;
  }

}

@media not all and (min-width: 768px) {
  :root {
    --wp--custom--wrapper--px: 40px !important;
    --wp--custom--wrapper--gap: 40px !important;
    --wp--preset--font-size--76: 52px !important;
    --wp--preset--font-size--52: 36px !important;
    --wp--preset--font-size--40: 24px !important;
  }
}

@media not all and (min-width: 640px) {
  :root {
    --wp--custom--wrapper--px: 32px !important;
    --wp--custom--wrapper--gap: 32px !important;
    --wp--preset--font-size--76: 48px !important;
    --wp--preset--font-size--52: 32px !important;
    --wp--preset--font-size--40: 20px !important;
  }
}

@media not all and (min-width: 391px) {
}

/* GENERAL */

html {
  scroll-behavior: smooth;
}

p:empty {
  display: none;
}

:root {
  --white: var(--wp--preset--color--custom-white);
  --dark-green: var(--wp--preset--color--custom-dark-green);
  --dark-red: var(--wp--preset--color--custom-dark-red);
  --brown: var(--wp--preset--color--custom-brown);
  --light-green: var(--wp--preset--color--custom-light-green);
  --px: var(--wp--custom--wrapper--px);
  --gap: var(--wp--custom--wrapper--gap);
}

/* HEADER */

.logo-header .spinning-part {
  transform : rotate(0deg);
  transition : transform 0.3s ease-out;
}

.logo-header:hover .spinning-part {
  transform: rotate(180deg);
}

.logo-header .scaling-part {
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

.logo-header:hover .scaling-part {
  transform : scale(0.9);
}

/* MENU MOBILE */

.menu-mobile {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  transform: translateX(100%);
  transition: height 0.3s ease-out, transform 0.4s ease-out;
}

.menu-closed {
  transform: translateX(100%);
}

.menu-opened {
  transform: translateX(0%);
}
