/* #region ---------------------------------------------- ROOT */
:root {
  /* color vars  */
  --color-1: #090806;
  --color-2: #ffcd04;
  --color-3: #ffffff;
  --color-4: #00000029;
  --color-5: #3a2312;

  --text-color-1: #3a2312;
  --text-color-2: #ffffff;

  /* font vars */
  --font-family-headlines: "Poppins", sans-serif;
  --font-family-subheads: "Poppins", sans-serif;
  --font-family-bodytext: "Poppins", sans-serif;
  --font-family-fineprint: "Poppins", sans-serif;

  --font-size-headlines: 1.5rem;
  --font-size-specials: 1.3rem;
  --font-size-subheads: 1.2rem;
  --font-size-bodytext: 1rem;
  --font-size-fineprint: 0.8rem;

  --font-size-nav-xs: 0.8rem;
  --font-size-nav-md: 1rem;
  --font-size-nav-xl: 1.2rem;

  /* header */
  --header-height: 4rem;
  --header-height-default: 4rem;
  --header-height-expanded: 6rem;
  --header-color: var(--color-3);

  /* img loader */
  --img-loader-primary-color: #ffffff;
  --img-loader-secondary-color: rgba(255, 255, 255, 0.3);
}
/* #endregion ---------------------------------------------- ROOT */

/* #region ---------------------------------------------- GENERAL */
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  font-family: var(--font-family-bodytext);
  line-height: 1.4em;

  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;

  display: flex;
  flex-direction: column;

  background-color: var(--color-3);
  color: var(--text-color-1);

  min-height: 100vh;

  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* fix for underneath sticky navbar */
  padding-top: calc(var(--header-height));
}

img {
  max-width: 100%;
  display: block;
}

li {
  list-style: none;
}

a {
  text-decoration: none;

  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

label,
legend {
  display: block;

  font-family: var(--font-family-bodytext);
  font-weight: 600;

  margin: 0.5rem 0;
}

fieldset {
  border: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNy42OCA0LjQxIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjM2EyMzEyOwogICAgICAgIGZpbGwtcnVsZTogZXZlbm9kZDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllcl8xIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTS45OC4xN0MuNzUtLjA2LjM5LS4wNi4xNy4xNy0uMDYuMzktLjA2Ljc1LjE3Ljk4bDMuMjcsMy4yN2MuMjIuMjIuNTkuMjIuODEsMEw3LjUyLjk4Yy4yMi0uMjIuMjItLjU5LDAtLjgxLS4yMi0uMjItLjU5LS4yMi0uODEsMGwtMi44NywyLjg3TC45OC4xN1oiLz4KICA8L2c+Cjwvc3ZnPg==")
    no-repeat 95% 50%;
  background-size: 5%;
}

.home-bg {
  background-image: url("./../../../assets/images/home-bg-mobile.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 1000px;
}

/*  #endregion ---------------------------------------------- GENERAL */

/* #region ---------------------------------------------- COMMON */
.hidden {
  display: none !important;
}

.full-width {
  width: 100% !important;
}
.half-width {
  width: 50% !important;
}
.custom-width-1 {
  width: 80% !important;
}
.custom-width-2 {
  width: 100% !important;
}

.custom-mb {
  margin-bottom: 30rem;
}

.box {
  background-color: var(--color-3);
  border-radius: 50px;
  opacity: 0.8;
}
.marker {
  background-color: var(--color-2);
  display: inline-block;
  padding: 0 0.2rem;
}
.underline {
  border-bottom: 4px solid var(--color-2);
  display: inline-block;
  padding: 0 0.2rem;
}

.op {
  opacity: 0;
}

.mobile-menu {
  display: none;
}

/* #endregion ---------------------------------------------- COMMON */

/* #region ---------------------------------------------- TEXT */
.text-start {
  text-align: start;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: end;
}

.text-bold {
  font-weight: 700 !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-1 {
  font-family: var(--font-family-headlines);
  font-size: var(--font-size-headlines);
  font-weight: 700;

  color: var(--text-color-1);
}

.text-1b {
  font-family: var(--font-family-headlines);
  font-size: var(--font-size-specials);
  font-weight: 700;

  color: var(--text-color-1);
}

.text-2 {
  font-family: var(--font-family-subheads);
  font-size: var(--font-size-subheads);
  font-weight: 700;

  color: var(--text-color-1);
}

.text-3 {
  font-family: var(--font-family-bodytext);
  font-size: var(--font-size-bodytext);
  font-weight: 400;
  line-height: 1.2em;

  color: var(--text-color-1);
}

.text-4 {
  font-family: var(--font-family-fineprint);
  font-size: var(--font-size-fineprint);
  font-weight: 400;

  color: var(--text-color-1);
}

.color-1 {
  color: var(--text-color-1) !important;
}
.color-2 {
  color: var(--text-color-2) !important;
}

/* #endregion ---------------------------------------------- TEXT */

/* #region ---------------------------------------------- BUTTONS */
.btn-circle-down {
  position: relative;
  display: block;

  width: fit-content;

  background-color: var(--color-5);

  border: 2px solid var(--color-5);

  overflow: hidden;

  border-radius: 50px;
}

.btn-circle-down-altered {
  border: 2px solid var(--color-2);

  background-color: var(--color-2);
}

.btn-circle-down:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-circle-down:before {
  content: "";

  position: absolute;
  top: -3px;
  bottom: 0;
  left: 0;
  right: 0;

  transform: translateY(-100%);
  background-color: var(--color-2);

  transition: all 0.3s ease-in-out;
}

.btn-circle-down-altered:before {
  background-color: var(--color-3);
}

.btn-circle-down:hover:before {
  transform: translateY(0%);
}

.btn-circle-down:hover {
  border: 2px solid var(--color-5);
}

.btn-circle-down .btn-label-container {
  overflow: hidden;
}

.btn-circle-down .btn-label {
  display: block;

  font-family: var(--font-family-headlines);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;

  color: var(--text-color-3);
  background-color: transparent;

  margin: 0;
  padding: 0.6em 2.5em;
  border: none;

  cursor: pointer;
}

.btn-circle-down-altered .btn-label {
  color: var(--text-color-3);
}

.btn-circle-down:hover .btn-label {
  color: var(--text-color-3);

  animation: move-up-alternate 0.5s;
  -moz-animation: move-up-alternate 0.5s;
  -webkit-animation: move-up-alternate 0.5s;
  will-change: transform;
}
.btn-circle-down-altered:hover .btn-label {
  color: var(--text-color-1);
}
/* #endregion ---------------------------------------------- BUTTONS */

/* #region ---------------------------------------------- INPUTS */
.input {
  width: 100%;

  background-color: var(--color-3);
  color: var(--text-color-1);
  outline-color: var(--color-1);

  font-size: 1rem;

  padding: 1rem 0.8rem;

  border: 2px solid var(--color-3);
  border-radius: 50px;
}

.input-altered {
  border: 2px solid var(--color-5);
  border-radius: 50px;
  font-size: var(--font-size-subheads);
}
.input-altered-2 {
  border: 2px solid var(--color-5);
  color: var(--text-color-2) !important;
  background-color: var(--color-5);

  border-radius: 50px;
  font-size: var(--font-size-subheads);
}

.input-special::placeholder {
  /* Firefox */
  color: var(--color-5);
  opacity: 1;
  font-family: var(--font-family-headlines);
  font-size: var(--font-size-subheads) !important;
}

.input-special::-ms-input-placeholder {
  /* Edge 12-18 */
  color: var(--color-5);
  font-family: var(--font-family-headlines);
  font-size: var(--font-size-subheads) !important;
}

.select {
  width: 100%;

  background-color: var(--color-3);
  color: var(--text-color-1);
  outline-color: var(--color-1);

  font-size: 1rem;

  padding: 1rem 1.8rem 1rem 1.4rem;
  border: 2px solid rgba(9, 74, 127, 0.2);
  border-radius: 8px;
}

input:disabled,
button:disabled {
  background-color: #e7e7e9;
  color: #2e2e2e;
  cursor: not-allowed;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

label.label-file {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--text-color-3);

  font-size: 1rem;

  padding: 1rem 1.2rem;
  border: 2px solid var(--color-3);
  border-radius: 8px;

  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;

  cursor: pointer;
}

label.label-file .plus {
  height: 2rem;
  margin-left: 1rem;
}

input.input-file {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.input-file.error ~ label.label-file {
  box-shadow: inset 0 0 0 3px #ff453a;
  /*   outline: 2px solid #ff453a !important;*/
}

label.label-file ~ .file-name {
  overflow: hidden;
  white-space: nowrap;

  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.checkbox {
  scale: 1.2;
  accent-color: var(--color-1);

  margin-right: 1rem;
}

.error {
  /* 
  outline: 2px solid #ff453a !important;
 */
  box-shadow: inset 0 0 0 3px #ff453a;
}

.input-pwd {
  position: relative;

  width: 100%;
}

.pwd-eye-on,
.pwd-eye-off {
  position: absolute;
  top: 50%;
  right: 6px;

  translate: 0 -50%;

  width: 25px;

  cursor: pointer;
}

.pwd-eye-off {
  display: none;
}

.link-underlined {
  position: relative;

  display: inline-block;

  font-weight: 700;

  padding-bottom: 2px;

  transition: 0.3s linear;
  cursor: pointer;

  white-space: nowrap;
}

.link-underlined::after {
  content: "";
  width: 100%;
  height: 1px;

  display: block;

  position: absolute;
  bottom: 0;
  left: 0;

  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;

  background-color: var(--text-color-1);
}

.link-underlined:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

#user_messages,
#ocr_user_messages {
  display: none;
  font-family: var(--font-family-bodytext);
  font-weight: 700;

  background-color: #ff453a;
  color: var(--text-color-3);

  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
}
/* #endregion ---------------------------------------------- INPUTS */

/* #region ---------------------------------------------- LOADER */
#loading-overlay {
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 998;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  transform: translate(-50%, -50%);

  height: 2em;
  width: 2em;

  color: official;

  overflow: visible;
  margin: auto;
}

#loader div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
#loader div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
#loader div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
#loader div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
#loader div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
#loader div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
#loader div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
#loader div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
#loader div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
#loader div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
#loader div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
#loader div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
#loader div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
#loader div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
/* #endregion ---------------------------------------------- LOADER */

/* #region ---------------------------------------------- ENV BADGE */
#demo_overlay,
#demo_overlay_cookiebot {
  position: fixed !important;
  z-index: 20000000;
  transform: translate(-50%, 0);

  cursor: pointer !important;

  border: 2px solid white;
  border-radius: 4px;
}

#demo_overlay {
  top: 15px;
  left: 50% !important;
}

#demo_overlay_cookiebot {
  left: 75px;
  bottom: 15% !important;
}

#demo_overlay_cookiebot.fixed_bottom {
  right: -40px;
  left: auto !important;
}

#demo_overlay.fixed_bottom {
  top: auto !important;
  bottom: 15px;
}

#demo_overlay_cookiebot p,
#demo_overlay p {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.8rem;
  font-weight: bold;
  color: black;

  margin: 0;
  padding: 0.4rem 0.8rem;
  border: 2px solid black;
  border-radius: 4px;
}

#demo_overlay_cookiebot p {
  background-color: #0ff0fc !important;
  animation: pulse-cookie 2s infinite;
}

#demo_overlay p.demo_overlay_text_local {
  background-color: springgreen !important;
  animation: pulse-local 2s infinite;
}

#demo_overlay p.demo_overlay_text_stage {
  background-color: deeppink !important;
  animation: pulse-stage 2s infinite;
}
/* #endregion ---------------------------------------------- ENV BADGE */

/* #region ---------------------------------------------- IMG LOADER */
.custom-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: opacity 0.75s, visibility 0.75s;
}

.custom-loader::before {
  content: "";
  position: absolute;
  max-width: 80px;
  width: 20%;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  border: 5px solid var(--img-loader-secondary-color);
  border-top-color: var(--img-loader-primary-color);
  border-radius: 50%;
  animation: loading 1.2s ease infinite;
}

.blurred-img {
  position: relative;
}

.blurred-img img {
  opacity: 0;
}

.blurred-img.loaded img {
  animation: fadeIn 1.5s;
  opacity: 1;
}
/* #endregion ---------------------------------------------- IMG LOADER */

/* #region ---------------------------------------------- MEDIA QUERIES */
@media only screen and (min-width: 384px) {
  .custom-width-1 {
    width: 45% !important;
  }
  .custom-width-2 {
    width: 60% !important;
  }
  .custom-mb {
    margin-bottom: 25rem;
  }

  .home-bg {
    background-image: url("./../../../assets/images/home-bg-mobile.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 1000px;
  }
}
@media only screen and (min-width: 430px) {
  .custom-mb {
    margin-bottom: 28rem;
  }
}
@media only screen and (min-width: 576px) {
  .btn-circle-down .btn-label {
    font-size: 1.5rem;
  }

  .input.real-width {
    width: auto;
  }

  .input.fixed-width {
    width: 250px;
  }

  .input-pwd {
    position: relative;

    width: max-content;
  }

  .custom-mb {
    margin-bottom: 25rem;
  }
}

@media only screen and (min-width: 768px) {
  :root {
    --font-size-headlines: 2rem;
    --font-size-specials: 1.7rem;
    --font-size-subheads: 1.4rem;
    --font-size-bodytext: 1.1rem;
  }

  .input.fixed-width {
    width: 280px;
  }

  label,
  legend {
    font-size: 1.2rem;
  }
  .home-bg {
    background-image: url("./../../../assets/images/home-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 830px;
  }

  .custom-mb {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 992px) {
  /* fix for underneath sticky navbar */
  body {
    padding-top: calc(var(--header-height));
  }
}

@media only screen and (min-width: 1200px) {
  :root {
    --font-size-headlines: 2.4rem;
    --font-size-specials: 2.4rem;
    --font-size-subheads: 1.6rem;
    --font-size-bodytext: 1.2rem;
  }

  .btn-circle-down .btn-label {
    font-size: 1.8rem;
    padding: 0.3em 1.8em;
  }
}
@media only screen and (min-width: 1400px) {
  .custom-width-1 {
    width: 35% !important;
  }
  .custom-width-2 {
    width: 50% !important;
  }
}

/* #endregion ---------------------------------------------- MEDIA QUERIES */

/* #region ---------------------------------------------- KEYFRAMES */
@keyframes move-up-alternate {
  from {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(80%);
  }
  51% {
    transform: translateY(-80%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes clickEffect {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
    width: 2px;
    height: 2px;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

@keyframes pulse-local {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 17, 0.8);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 255, 17, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 17, 0.2);
  }
}

@keyframes pulse-stage {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.8);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 20, 147, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.2);
  }
}

@keyframes pulse-cookie {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 240, 252, 0.8);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(15, 240, 252, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(15, 240, 252, 0.2);
  }
}
/* #endregion ---------------------------------------------- KEYFRAMES */
