@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'NeueMetana';
  src: url('../font/NeueMetana-Bold.otf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'NeueMetana';
  src: url('../font/NeueMetana-Regular.otf');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Font/text values */
  --fontFamily: 'Space Grotesk', sans-serif;
  /* Positioning */
  --content-width: 90%;
  --content-max-width: 1240px;
  --header-height: 75px;
}

:root[data-theme="theme-dark"] {
  /* Colors: */
  --primary: #000000;
  --primary-light: #000000;
  --secondary: #e9e81f;
  --card-border: #FFFFFF12;
  --bg-emphasize: #1C21254D;
  --bg-dark: #0C1115;
  --bg-lighter: #13181d;
  --text-primary: #FFFFFF;
  --text-secondary: #FFFFFFA3;
  --text-tertiary: #606878;
  --shadow-color: #00000059;
}

:root[data-theme="theme-light"] {
  --primary: #000000;
  --primary-light: #000000;
  --secondary: #d6c400;
  --card-border: #00000012;
  --bg-emphasize: #E2E2E94D;
  --bg-dark: #ffffff;
  --bg-lighter: #f6f7fa;
  --text-primary: #161616;
  --text-secondary: #161616B3;
  --text-tertiary: #9a9a9f;
  --shadow-color: #0000000f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--fontFamily);
  color: var(--text-primary);
  transition: background-color .5s ease, color .5s ease;
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--primary);
  color: #fff;
}

::placeholder {
  opacity: .5;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
}

a {
  text-decoration: none;
  transition: .2s ease;
  color: var(--text-secondary);
}

a:hover {
  color: var(--text-primary);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 7%;
}

h2:not(.landingpage h2) {
  color: var(--primary);
  font-size: 2rem;
}

button {
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 1% 3%;
  transition: .2s ease;
}

button.primary {
  color: #fff;
  background-color: var(--primary);
}

button.secondary {
  color: var(--text-primary);
  background-color: var(--bg-emphasize);
}

button:hover {
  cursor: pointer;
}

button.primary:hover {
  background-color: var(--primary-light);
}

button.secondary:hover {
  background-color: var(--bg-dark);
}

button:active, span#submit:active {
  transform: scale(0.95);
}

.start_banner {
  position: fixed;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: var(--content-width);
  max-width: var(--content-max-width);
  left: calc((100vw - var(--content-max-width))/2);
  bottom: 2vh;
  padding: 1% 1.5%;
  background-color: var(--bg-lighter);
  border-radius: 10px;
  border: 1px solid var(--card-border);
  transition: transform .15s ease-out;
}

.start_banner:hover {
  transform: scale(1.02);
}

.start_banner .info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 80%;
}

.start_banner span.icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.start_banner .info p {
  color: var(--text-primary);
  margin-left: 2%;
}

.start_banner button#denie_cookies {
  margin-right: 10px;
}

.banner_close_button:hover {
  cursor: pointer;
}

.progress-ring_circle {
  stroke-dasharray: 62.8;
  stroke-dashoffset: 62.8;
  animation: dash;
  animation-duration: 2.5s;
  animation-timing-function: linear;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke: var(--text-primary);
  min-width: 32px;
}

@keyframes dash {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 62.8;
  }
}

.custom-cursor {
  position: fixed;
  z-index: 200;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

h3 {
  margin-top: 4%;
  margin-bottom: 1%;
}

.cookie_toggle_modal {
  position: fixed;
  right: 2vh;
  bottom: 2vh;
  padding: .8%;
  background-color: var(--bg-dark);
  border-radius: 10px;
  border: 1px solid var(--card-border);
  transition: .3s ease;
  z-index: 90;
}

.cookie_toggle_modal {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.cookie_toggle_modal .hidden {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 0px;
  height: 100%;
  transition: .3s ease;
  overflow: hidden;
  margin-left: 3%;
}

.cookie_toggle_modal .hidden button {
  white-space: nowrap;
  width: 250px;
  margin-left: 5%;
}

.cookie_toggle_modal:hover {
  background-color: var(--bg-lighter);
  cursor: pointer;
}

.cookie_toggle_modal:hover>.hidden {
  max-width: 420px;
}

#toogle_cookies_button {
  padding: 3% 5%;
}

header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-lighter);
  z-index: 150;
  border-bottom: 1px solid var(--card-border);
}

header .inner {
  max-width: var(--content-max-width);
  width: var(--content-width);
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header .left {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

header .left span {
  font-size: 1.1rem;
}

header .left img {
  height: 40%;
  margin-right: 5%;
  transition: .4s ease;
}

html[data-theme="theme-light"] header .left img {
  filter: brightness(0);
}

header .right {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 70%;
}

header .right .desktop-navigation {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

header .right .desktop-navigation a {
  padding-right: 4%;
}

header .right .desktop-navigation .changer {
  width: 30px;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: .2s ease;
}

header .right .desktop-navigation .changer:hover {
  cursor: pointer;
  transform: rotate(45deg);
}

.wrapper {
  padding-top: var(--header-height);
}

.content {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
}

footer {
  width: 100%;
  border-top: 1px solid var(--card-border);
  background-color: var(--bg-lighter);
}

footer .content {
  padding: 8vh 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

footer .content .column {
  /* width: 20%; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

footer .column:nth-child(1) {
  width: 19%;
}

footer .column:nth-child(2) {
  width: 16%;
}

footer .column:nth-child(3) {
  width: 12%;
}

footer .column:nth-child(4) {
  width: 13%;
}

footer .column h3 {
  margin-bottom: 2vh;
  color: var(--text-secondary)
}

footer span, footer a {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  margin-bottom: 1vh;
}

footer a:hover {
  color: var(--text-secondary);
}

.fade {
  transition: opacity 1s cubic-bezier(0.02, 0.88, 0.77, 1), transform 1s cubic-bezier(0.02, 0.88, 0.77, 1);
}

.fade[data-scroll="out"] {
  opacity: 0;
  transform: translateY(150px);
}

.fade[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0px);
  transition-delay: .1s;
}

@media only screen and (max-width: 450px) {
  button {
    padding: 4% 10%;
  }

  .start_banner {
    justify-content: flex-start;
    align-items: flex-start;
    left: calc((100vw - var(--content-width))/2);
    padding: 4% 5%;
  }

  .start_banner:not([show-duration]) {
    flex-direction: column;
  }

  .start_banner .info {
    width: 100%;
  }

  .progress-ring {
    min-width: 32px;
    margin-top: -5px;
    margin-right: -6px;
  }

  .start_banner span.icon {
    display: none;
  }

  .start_banner .info p {
    margin-left: 0%;
  }

  .start_banner button {
    width: 100%;
  }

  .start_banner button#denie_cookies {
    margin-right: 0px;
    margin-top: 7%;
    margin-bottom: 3%;
  }

  .cookie_toggle_modal {
    padding: 2% 4%;
  }

  .cookie_toggle_modal .hidden {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .cookie_toggle_modal .hidden button {
    margin-left: 0%;
  }

  .cookie_toggle_modal:hover {
    width: 91vw;
    cursor: pointer;
  }

  .cookie_toggle_modal:hover>.icon {
    display: none;
  }

  .cookie_toggle_modal:hover>.hidden {
    width: 100%;
    margin: 2% 0;
  }

  .cookie_toggle_modal:hover>.hidden .text {
    margin-bottom: 3%;
    ;
  }

  .cookie_toggle_modal:hover>.hidden #toogle_cookies_button {
    padding: 4% 5%;
  }

  header .left span {
    display: none;
  }

  header .right .desktop-navigation a {
    padding-right: 7%;
  }

  footer .content {
    padding: 6vh 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  footer .content .column {
    margin-bottom: 8%;
    width: 100%;
  }

  footer .column h3 {
    margin-bottom: 1.5vh;
  }
}