@font-face {
  font-family: "HubotSans-Regular";
  src: url("../fonts/HubotSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "HubotSans-Bold";
  src: url("../fonts/HubotSans-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "HubotSansExpanded-Regular";
  src: url("../fonts/HubotSansExpanded-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "HubotSansExpanded-Bold";
  src: url("../fonts/HubotSansExpanded-Bold.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --black: #242424;
  --white: #fff;
  --lightgrey: #f4f4f4;
  --midgrey: #dbdbdb;
  --darkgrey: #75756e;
  --green: #b2ec03;

  --radius: 14px;

  --heading-1: 3.4rem;
  --heading-2: 2rem;
  --heading-3: 1.6rem;
  --heading-4: 1.2rem;
  --text: 1rem;
  --small: 0.8rem;

  --space-huge: 12rem;
  --space-big: 6rem;
  --space-medium: 4rem;
  --space-small: 2rem;
  --space-mini: 1rem;
  --space-micro: 0.8rem;

  --content-width: min(1440px, calc(100vw - (2 * var(--space-small))));

  --trans: 0.4s;

  --regular: "HubotSans-Regular", sans-serif;
  --bold: "HubotSans-Bold", sans-serif;
  --expanded-regular: "HubotSansExpanded-Regular", sans-serif;
  --expanded-bold: "HubotSansExpanded-Bold", sans-serif;
}

/*------------------------------------BASICS------------------------------------------*/

html {
  font-family: var(--regular);
  color: var(--black);
  background: var(--white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.4;
}

img {
  width: 100%;
}

/* ------------------- LISTS ---------------------*/

.center li {
  list-style: none;
}

.center li::marker {
  color: var(--green);
}

.center .block-type-list li {
  list-style-type: initial;
  list-style-position: inside;
  margin-bottom: 0.75rem;
}

/* ----- */

.left li {
  list-style: none;
}

.left li::marker {
  color: var(--green);
}

.left ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  font-size: 1em;
}

.left .block-type-list li {
  margin-left: 0em;
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.75rem;
}

.left .block-type-list li:before {
  content: "\25CF";
  font-size: 1em;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
}

/* -------------------------------------------------*/

a {
  color: currentColor;
  text-decoration: none;
  transition: var(--trans);
}

a:hover {
  opacity: 0.5;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong,
b {
  font-family: var(--bold);
  font-weight: normal;
}

h1 {
  font-weight: normal;
  font-family: var(--regular);
  max-width: 36ch;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-family: var(--regular);
}

h1,
.heading-1 {
  font-size: var(--heading-1);
  letter-spacing: -0.02em;
  width: min(36ch, 75%);
}

h2,
.heading-2 {
  font-size: var(--heading-2);
  letter-spacing: -0.02em;
  max-width: 36ch;
}

h3,
.heading-3 {
  font-size: var(--heading-3);
  letter-spacing: -0.02em;
  max-width: 36ch;
}

h4,
.heading-4 {
  font-size: var(--heading-4);
  max-width: 36ch;
}

p:not(:last-of-type) {
  margin-bottom: var(--space-small);
}

.text {
  font-size: var(--text);
  max-width: 76ch;
}

.big-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--heading-1);
  letter-spacing: -0.02em;
  width: min(44ch, 75%);
}

small {
  font-size: var(--small);
  color: var(--midgrey);
}

::-moz-selection {
  color: var(--green);
  background: var(--black);
}

::selection {
  color: var(--green);
  background: var(--black);
}

.radius {
  border-radius: var(--radius);
}

section {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: var(--space-small) 0;
}

/*------------------------------------BUTTON------------------------------------------*/

.button {
  display: inline-flex;
  padding: 16px 28px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  font-family: var(--bold);
  transition: var(--trans);
}

.button:hover {
  opacity: 1;
}

.button-green {
  background: var(--green);
  color: var(--black);
}

.button-green:hover {
  background: var(--black);
  color: var(--white);
}

.button-green-dark {
  background: var(--green);
  color: var(--black);
}

.button-green-dark:hover {
  background: var(--white);
  color: var(--black);
}

.button-black {
  background: var(--black);
  color: var(--white);
}

.button-black:hover {
  background: var(--lightgrey);
  color: var(--black);
}

/*------------------------------------CONTENT------------------------------------------*/

.wide {
  max-width: 100vw;
  max-width: 100dvw;
}

.narrow {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.margin-huge {
  /* margin-top: var(--space-huge); */
  margin-bottom: var(--space-huge);
}

.margin-big {
  /* margin-top: var(--space-big); */
  margin-bottom: var(--space-big);
}

.margin-medium {
  /* margin-top: var(--space-medium); */
  margin-bottom: var(--space-medium);
}

.margin-small {
  /* margin-top: var(--space-small); */
  margin-bottom: var(--space-small);
}

.text-margin-huge {
  margin-top: var(--space-huge);
  margin-bottom: var(--space-huge);
}

.text-margin-big {
  margin-top: var(--space-big);
  margin-bottom: var(--space-big);
}

.text-margin-medium {
  margin-top: var(--space-medium);
  margin-bottom: var(--space-medium);
}

.text-margin-small {
  margin-top: var(--space-small);
  margin-bottom: var(--space-small);
}

.svg-container svg {
  width: 100%;
  height: 100%;
}

.block-type-svg {
  width: 100%;
}

.content img {
  height: 100%;
  object-fit: cover;
}

/*------------------------------------GRID------------------------------------------*/

.grid {
  display: grid;
  gap: var(--space-small);
  grid-template-columns: var(--col);
  grid-template-rows: var(--row);
}

.column {
  grid-column: span var(--span);
  overflow: hidden;
  display: grid;
  gap: var(--space-small);
}

.column-align {
  align-content: flex-start;
}

.column img {
  border-radius: var(--radius);
}

.box,
.free {
  display: grid;
  gap: var(--space-small);
  align-content: flex-start;
}

.box p,
.free p {
  hyphens: auto;
  -webkit-hyphens: auto;
}

.box {
  border-radius: var(--radius);
  padding: var(--space-small);
}

.fit {
  height: fit-content;
}

.free {
  height: fit-content;
}

.box > *,
.free > * {
  width: fit-content;
  height: fit-content;
}

.center {
  align-content: center;
}

.center > * {
  text-align: center;
  justify-self: center;
}

.green {
  background-color: var(--green);
}

.green li::marker {
  color: var(--white);
}

.lightgrey {
  background-color: var(--lightgrey);
}

.midgrey {
  background-color: var(--midgrey);
}

.darkgrey {
  background-color: var(--darkgrey);
}

.white {
  background-color: var(--white);
}

.black {
  background-color: var(--black);
  color: var(--white);
}

/*------------------------------------HEADER------------------------------------------*/

.header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
}

.header-left {
  justify-self: start;
  align-self: center;
}

.header-center {
  justify-self: center;
  align-self: center;
}

.header-right {
  justify-self: end;
  align-self: center;
}

#header {
  position: fixed;
  top: 0;
  width: 100vw;
  width: 100dvw;
  transition: var(--trans);
  z-index: 99999;
}

#header-inner {
  padding: var(--space-micro);
}

.header-grid {
  transition: var(--trans);
  padding: var(--space-small);
  border-radius: var(--radius);
}

#header.scrolled .header-grid {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-micro) calc(var(--space-micro) * 2);
}

.logo {
  width: 9rem;
  transition: var(--trans);
}

#header.scrolled #header-inner .logo {
  width: 6rem;
}

/*------------------------------------MENU------------------------------------------*/

.toggle-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
  width: 2.4rem;
  height: 2.8rem;
  cursor: pointer;
  z-index: 9999;
}

.menu__bar {
  display: block;
  position: absolute;
  left: 0;
  width: 2.4rem;
  height: 0.19rem;
  transition: top 0.4s ease-out, transform 0.4s ease-out;
  background-color: var(--black);
}

.menu__bar:nth-child(1) {
  top: 0.4rem;
}

.menu__bar:nth-child(2) {
  top: 1.2rem;
}

.menu__bar:nth-child(3) {
  top: 2rem;
}

.toggle-menu--clicked .menu__bar:nth-child(1) {
  top: 1.25rem;
  transform: rotate(45deg);
}

.toggle-menu--clicked .menu__bar:nth-child(2) {
  transform: translateX(0%) scale(0);
}

.toggle-menu--clicked .menu__bar:nth-child(3) {
  top: 1.25rem;
  transform: rotate(-45deg);
}

#myNav {
  position: fixed;
  top: var(--space-micro);
  left: var(--space-micro);
  opacity: 0;
  visibility: hidden;
  /* pointer-events: none; */
  transition: var(--trans);
  background-color: var(--black);
  color: var(--white);
  z-index: 99999;
  height: calc(100vh - (2 * var(--space-micro)));
  height: calc(100dvh - (2 * var(--space-micro)));
  width: 30vw;
  width: 30dvw;
  border-radius: var(--radius);
  overflow-y: scroll;
}

#myNav.is-open {
  opacity: 1;
  pointer-events: initial;
}

.inner {
  margin: var(--space-small);
}

.navitem {
  visibility: hidden;
  display: block;
  padding-bottom: var(--space-mini);
  transition: var(--trans);
}

.navitem:hover {
  color: var(--green);
  opacity: 1;
}

.sub {
  margin-left: var(--space-mini);
  color: var(--darkgrey);
}
/*------------------------------------ACCORDION------------------------------------------*/

summary:hover {
  cursor: pointer;
}

.accordioncontent {
  /* background-color: var(--darkgrey); */
  /* color: white; */
  padding-top: var(--space-mini);
  /* border-radius: var(--radius); */
}

summary {
  border-radius: var(--radius);
  font-family: var(--bold);
}

details[open] summary {
  border-radius: var(--radius);
}

details {
  background-color: var(--lightgrey);
  border-radius: var(--radius);
  padding: var(--space-mini);
}

details > *:not(summary) {
  margin: 0.75em 0 0 0;
}

/*------------------------------------FOOTER------------------------------------------*/

.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-small) 0;
}

.footerlogo {
  width: 4rem;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-grid {
  display: grid;
  align-content: center;
  justify-content: center;
  gap: var(--space-small);
  grid-auto-flow: column;
}

/*------------------------------------SLIDER------------------------------------------*/

.splide__arrows {
  display: grid;
  align-content: center;
  justify-content: center;
  gap: var(--space-small);
  grid-auto-flow: column;
  font-size: var(--heading-2);
  margin-top: var(--space-small);
}

.splide__arrow {
  background-color: var(--lightgrey);
  height: 3rem;
  width: 3rem;
  display: grid;
  align-content: center;
  justify-content: center;
  border-radius: 99999px;
  transition: var(--trans);
}

.splide__arrow:hover {
  scale: 1.1;
  color: var(--white);
  background: var(--black);
}

.splide {
  width: 100vw;
  width: 100dvw;
}

.splide__slide {
  display: grid;
}

.splide__slide img {
  border-radius: var(--radius);
}

/*------------------------------------HERO------------------------------------------*/

.hero {
  position: relative;
  height: 70vh;
  height: 70dvh;
}

.heroimg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.herocontent {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: grid;
}

.heroarea {
  align-self: center;
  justify-self: center;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  max-width: calc(var(--content-width) - (2 * var(--space-big))) ;
  margin: var(--space-big) auto 0 auto;
}

.herocontent p div {
  visibility: hidden;
}

.herocontent h1 {
  font-size: calc(var(--heading-1)) ;
  font-family: var(--bold);
  line-height: 1.3;
  /* max-width: 40ch; */
  margin-bottom: var(--space-small);

}

.herocontent em {
  font-style: normal;
  text-transform: none;
  color: var(--white);
  text-shadow: 0 0 10px var(--green), 0 0 20px var(--green),
    0 0 30px var(--green), 0 0 40px var(--green), 0 0 50px var(--green),
    0 0 60px var(--green), 0 0 70px var(--green);

  /* -webkit-animation: glow 12s ease-in-out infinite alternate;
  -moz-animation: glow 12s ease-in-out infinite alternate;
  animation: glow 12s ease-in-out infinite alternate; */
}

/* @-webkit-keyframes glow {
  from {
    color: var(--black);
    text-shadow: 
    0 0 0px var(--green),
    0 0 0px var(--green),
    0 0 0px var(--green),
    0 0 0px var(--green),
    0 0 0px var(--green),
    0 0 0px var(--green),
    0 0 0px var(--green);
  }
  to {
    color: var(--white);
    text-shadow: 
    0 0 10px var(--green),
    0 0 20px var(--green),
    0 0 30px var(--green),
    0 0 40px var(--green), 
    0 0 50px var(--green),
    0 0 60px var(--green),
    0 0 70px var(--green);
  }
} */

/*-----------------------------------------------TABLET----------------------------------------------------*/
/*-----------------------------------------------TABLET----------------------------------------------------*/
/*-----------------------------------------------TABLET----------------------------------------------------*/

@media screen and (max-width: 1440px) {
  #myNav {
    width: 50vw;
    width: 50dvw;
  }
}

/*-----------------------------------------------MOBILE-----------------------------------------------------*/
/*-----------------------------------------------MOBILE-----------------------------------------------------*/
/*-----------------------------------------------MOBILE-----------------------------------------------------*/

@media screen and (max-width: 860px) {
  :root {
    --radius: 14px;

    --heading-1: 2.4rem;
    --heading-2: 1.8rem;
    --heading-3: 1.4rem;
    --heading-4: 1.1rem;
    --text: 0.9rem;
    --small: 0.7rem;
  }

  .big-text {
    font-size: var(--heading-2);
    width: min(44ch, 90%);
  }

  /*------------------------------------HEADER------------------------------------------*/

  .logo {
    width: 6rem;
  }

  .header-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-left {
    display: none;
  }

  .header-center {
    justify-self: start;
    align-self: center;
  }

  .header-right {
    justify-self: end;
    align-self: center;
  }

  .heroarea {
  grid-template-columns: 1fr;
  max-width: calc(var(--content-width) - (1 * var(--space-small)));
}

.heroimg {
  object-position: 65% 50%;
}

  /*------------------------------------MENU------------------------------------------*/

  #myNav {
    top: 30vh;
    top: 30dvh;
    bottom: var(--space-micro);
    left: var(--space-micro);
    right: var(--space-micro);
    height: calc(70vh - var(--space-micro));
    height: calc(70dvh - var(--space-micro));
    width: calc(100vw - (2 * var(--space-micro)));
    width: calc(100dvw - (2 * var(--space-micro)));
  }

  /*------------------------------------HERO------------------------------------------*/

  .hero {
    height: 75vh;
    height: 75dvh;
  }

  .herocontent h1 {
    font-size: 2.8rem;
  }

  /*------------------------------------GRID------------------------------------------*/

  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .column {
    grid-column: span 1;
  }

  /*------------------------------------FOOTER------------------------------------------*/

  .footer-grid {
    grid-auto-flow: row;
    justify-items: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-small);
  }
}
