/**
* This is a variable font
* You can control variable axes as shown below:
* font-variation-settings: wght 900.0;
*
* available axes:
'wght' (range from 300.0 to 900.0
*/
@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
       url('../fonts/Satoshi-Variable.woff') format('woff'),
       url('../fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
/**
* This is a variable font
* You can control variable axes as shown below:
* font-variation-settings: wght 900.0;
*
* available axes:
'wght' (range from 300.0 to 900.0
*/
@font-face {
  font-family: 'Satoshi-VariableItalic';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-VariableItalic.woff') format('woff'),
       url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}

:root {
  --white: #F1F1F1;
  --black: #242424;
  --gray: #D9D9D9;
  --green: #30DA7E;
  --orange: #ff9800;

  --normal: 'Satoshi-Variable', sans-serif;
  --italic: 'Satoshi-VariableItalic', sans-serif;

  --bs-gutter-x: 25px;
  --bs-gutter-y: 25px;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: var(--orange);
}

body {
  font-family: var(--normal);
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  background: var(--gray);
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100dvw;
  height: 100dvh;
  background: var(--black);
}

.pagewrap {
  max-width: 1920px;
  margin: 0 auto;
  background: var(--white);
}

main {
  min-height: calc(100dvh - 270px);
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  z-index: 5;
  padding: 25px;
  max-width: 1920px;
  transform: translateX(-50%);
}

.admin-bar header {
  top: 32px;
}

header ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

header ul.social {
  justify-content: flex-end;
  gap: 15px;
}

header ul.social a path {
  fill: var(--black);
  transition: all 0.3s ease-in-out;
}

header nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.home header nav a {
  color: var(--white);
}

.home.scrolled header nav a {
  color: var(--black);
}

header .logo path {
  fill: var(--black);
  transition: all 0.3s ease-in-out;
}

.home header .logo path {
  fill: var(--white);
}

header .logo:hover path {
  fill: var(--orange);
}

.home.scrolled header .logo path {
  fill: var(--black);
}

.home.scrolled header .logo:hover path {
  fill: var(--orange);
}

header ul.social a path {
  fill: var(--black);
  transition: all 0.3s ease-in-out;
}

.home header ul.social a path {
  fill: var(--white);
}

.home.scrolled header ul.social a path {
  fill: var(--black);
}

header ul.social a:hover path {
  fill: var(--orange);
}

.home.scrolled header ul.social a:hover path {
  fill: var(--orange);
}

header nav .current-menu-item a {
  color: var(--orange);
}

header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background-color: var(--gray);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

header nav a:hover {
  color: var(--black);
}

header nav .current-menu-item a {
  color: var(--orange);
}

header nav a:hover::after,
header nav .current-menu-item a::after {
  transform: scaleX(1);
}

.megamenu {
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  background: var(--white);
  left: 0;
  top: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 7rem 2rem;
  gap: 5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.megamenu.open {
  transform: translateX(0);
}

.home .megamenu {
  background: var(--black);
}

.scrolled .megamenu {
  background: var(--white);
}

header .megamenu ul {
  flex-direction: column;
  align-items: flex-end;
}

header .megamenu ul.social {
  flex-direction: row;
  justify-content: flex-end;
  gap: 15px;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.burger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--black);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.home .burger span {
  background: var(--white);
}

.home.scrolled .burger span {
  background: var(--black);
}

.burger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.splash {
  height: 100dvh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.splash:after {
  content: '';
  background: rgb(0 0 0 / 20%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  z-index: 1;
}

.admin-bar .splash {
  height: calc(100dvh - 32px);
}

.splash .swiper {
  width: 100dvw;
  height: 100dvh;
  position: relative;
}

.splash .swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.splash img {
  height: 100dvh;
  object-fit: cover;
}

.splash h1 {
  font-family: var(--italic);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  position: absolute;
  left: 25px;
  bottom: 25px;
  margin: 0;
  z-index: 2;
}

.splash h2 {
  font-family: var(--italic);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  position: absolute;
  right: 25px;
  bottom: 25px;
  margin: 0;
  z-index: 2;
}

.collections {
  padding-top: 10rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.home .collections {
  padding-top: 100px;
}

.collections h2 {
  font-family: var(--italic);
  font-weight: 700;
  font-size: 4rem;
  line-height: 4rem;
}

.collections p {
  font-size: 1.25rem;
}

.collection h3 {
  font-family: var(--normal);
  font-weight: 700;
  font-size: 3rem;
  line-height: 3rem;
}

.collection article h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 1rem 0 0;
}

article iframe {
  width: 100%;
  height: 520px;
  border: none;
}

.all-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
}

.all-link span {
  transform: translateX(-10px);
  transition: transform 0.3s ease-in-out;
}

.all-link span path {
  fill: var(--black);
  transition: fill 0.3s ease-in-out;
}

.all-link:hover {
  color: var(--orange);
}

.all-link:hover span {
  transform: translateX(0);
}

.all-link:hover span path {
  fill: var(--orange);
}

.content {
  padding-top: 10rem;
}

.content h1 {
  font-family: var(--italic);
  font-weight: 700;
  font-size: 3rem;
  line-height: 3rem;
  margin-bottom: 2.5rem;
}

.content p {
  font-family: var(--normal);
  font-weight: 400;
  font-size: 1.25rem;
}

.content img {
  max-width: 100%;
  height: auto;
}

.content div {
  max-width: 100%; 
}

.gallery-image {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.gallery-image img {
  height: 100%;
  object-fit: cover;
}

.gallery-image legend {
  font-size: 1.25rem;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 10px;
  margin: 0;
  transform: translateY(100%);
  transition: all 0.3s ease-in-out;
}

.gallery-image:hover legend {
  opacity: 1;
  transform: translateY(0);
}

form .form-control {
  background: transparent;
  border: 0 none;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 1rem;
  font-size: 1.5rem;
  outline: none;
  box-shadow: none;
  margin-bottom: 1.25rem;
  resize: none;
}

form .btn-primary {
  background: var(--gray);
  color: var(--black);
  font-family: var(--normal);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  border-radius: 0;
  border: none;
  transition: background-color 0.3s ease-in-out;
  float: right;
}

form .btn-primary:hover {
  background: var(--black);
  color: var(--white);
}

.grecaptcha-badge {
  display: none !important;
}

.wp-pagenavi {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
}

.wp-pagenavi span,
.wp-pagenavi a {
  font-family: var(--normal);
  font-weight: 700;
  font-size:  1.25rem;
  color: var(--black);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
}

.wp-pagenavi span.current {
  border-bottom: 2px solid var(--gray);
}

.article-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.article-intro h1 {
  font-family: var(--italic);
  font-weight: 700;
  font-size: 4rem;
  line-height: 4rem;
}

footer {
  padding: 25px 0;
  margin-top: 10rem;
}

.webtree:hover {
  color: var(--green);
}

footer p {
  font-family: var(--normal);
  font-weight: 400;
  font-size: 1rem;
  color: var(--black);
  margin: 0;
}

footer ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {

  .splash h1 {
    bottom: 120px;
  }

  .splash h2 {
    right: auto;
    left: 25px;
  }

  .collections h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  header nav a {
    font-size: 1.75rem;
  }

  header .megamenu ul.social {
    gap: 25px;
  }

  article iframe {
    height: 230px;
  }
  
}