:root {
  --logitech_text: #ffffff;
}

@font-face {
  font-family: Kollektif-Bold;
  src: url("../assets/fonts/Kollektif/Kollektif-Bold.ttf");
}

@font-face {
  font-family: Kollektif-BoldItalic;
  src: url("../assets/fonts/Kollektif/Kollektif-BoldItalic.ttf");
}

@font-face {
  font-family: Kollektif-Italic;
  src: url("../assets/fonts/Kollektif/Kollektif-Italic.ttf");
}

@font-face {
  font-family: Kollektif;
  src: url("../assets/fonts/Kollektif/Kollektif.ttf");
}

@font-face {
  font-family: BrownPro-Bold;
  src: url("../assets/fonts/BrownPro/BrownPro-Bold.ttf");
}

@font-face {
  font-family: LORENZA;
  src: url("../assets/fonts/LORENZA/LORENZA.ttf");
}

@font-face {
  font-family: BrownPanLogitech;
  src: url("../assets/fonts/BrownLogitech/BrownLogitechPan-Light.otf");
}

@font-face {
  font-family: BrownPanLogitechVariable;
  src: url("../assets/fonts/LogitechVariable/BrownLogitechPan-Thin.otf");
  font-weight: 400;
}

@font-face {
  font-family: BrownPanLogitechVariable;
  src: url("../assets/fonts/LogitechVariable/BrownLogitechPan-Regular.otf");
  font-weight: 500;
}

@font-face {
  font-family: BrownPanLogitechVariable;
  src: url("../assets/fonts/LogitechVariable/BrownLogitechPan-Medium.otf");
  font-weight: 600;
}

@font-face {
  font-family: BrownPanLogitechVariable;
  src: url("../assets/fonts/LogitechVariable/BrownLogitechPan-Bold.otf");
  font-weight: 700;
}

@font-face {
  font-family: BrownPanLogitechVariable;
  src: url("../assets/fonts/LogitechVariable/BrownLogitechPan-Black.otf");
  font-weight: 800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: BrownPanLogitech;
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: BrownPanLogitech;
}

html,
body {
  touch-action: none;
  height: 100vh;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.main {
  height: 100svh;
  width: 100vw;
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: transform 0.5s;
  background: linear-gradient(180deg, #b893ff 0%, #7612c2 100%);
}

.main_wrapper {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  transition: transform 0.5s;
  color: var(--logitech_text);
}

section {
  height: 100svh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  max-width: 992px;
  margin: 0 auto;
}

section > h2 {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: BrownPanLogitechVariable;
  font-weight: 700;
}

.logo {
  height: 40px;
  width: 132px;
}

.spacer {
  height: 50px;
}

.info-text-content {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  height: 50px;
}

h2,
span {
  max-width: 90%;
  text-align: center;
}

span {
  font-family: BrownPanLogitech;
  font-size: 1.5rem;
  font-weight: 400;
}

h2 {
  font-size: 2rem;
}

.last_text {
  margin-top: 20px;
  font-family: BrownPanLogitech;
  font-size: 1rem;
}

button {
  border: none;
  color: #474068;
  background: #f6f6f6;
  box-shadow: 0px 2px 10px 0px #0000001a;
  font-size: 1.2rem;
  font-family: BrownPanLogitechVariable;
  font-weight: 700;
  border-radius: 30px;
  padding: 1.6rem 0;
  width: 60%;
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

button:hover {
  cursor: pointer;
}

button:active {
  outline: none;
  box-shadow: none;
}

button:focus {
  outline: none;
  box-shadow: none;
}

button:disabled {
  background-color: #98999b;
  cursor: not-allowed;
}

/* loading */

h3 {
  margin-top: 25px;
  letter-spacing: 0.05rem;
  font-size: 1.25rem;
  color: var(--logitech_text);
}

.dots_container {
  display: flex;
  justify-content: space-evenly;
  width: 50%;
  transform: translateY(20px);
}

.guide_container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.select_language {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  width: 100%;
  position: relative;
  top: -20px;
}

.select_language > span {
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: BrownPanLogitechVariable;
  font-weight: 500;
  font-size: 1.25rem;
}

.buttons_language {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-self: center;
  width: 65%;
}

.buttons_language > div {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.buttons_language > div {
  outline: none;
  box-shadow: none;
}

.start_button_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.start_button {
  position: relative;
  z-index: 1;
}

.hk {
  position: absolute;
  top: 0px;
  z-index: 0;
}

.hk.active {
  animation: show 0.5s ease forwards;
}

.hk.hide {
  animation: hide 0.5s ease forwards;
  pointer-events: none;
  cursor: none;
}

@keyframes show {
  from {
    top: 0;
    pointer-events: none;
    cursor: none;
  }
  to {
    top: -70px;
    pointer-events: auto;
  }
}

@keyframes hide {
  from {
    top: -70px;
  }
  to {
    top: 0px;
  }
}

.copy_button {
  display: none;
  cursor: pointer;
}

.buttons_language > div.selected {
  background-color: #ffffff;
  font-family: BrownPanLogitechVariable;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 3rem;
  color: #474068;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0);
  }
}

/* iframe */

iframe {
  max-width: 100vw;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
}

.border {
  display: none;
  position: absolute;
  background: transparent;
  width: 100px;
  height: 85px;
}

.upper {
  top: 5svh;
  border-top: 5px solid white;
}

.left {
  border-left: 5px solid white;
  left: 5svh;
}

.down {
  bottom: 5svh;
  border-bottom: 5px solid white;
}

.right {
  border-right: 5px solid white;
  right: 5svh;
}

.desktop_cover {
  display: none;
  background-size: cover;
  background-repeat: no-repeat;
}

.block-mobile {
  display: none;
  background-size: cover;
  background-repeat: no-repeat;
}

@keyframes bounce2 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

.loader {
  width: 100%;
  height: 10px;
  background: #d9d9d940;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.loader-background {
  width: 100%;
  height: 100%;
  background: #d9d9d940;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background-color: #ffffff;
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.loader-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 80%;
  text-align: center;
}

.loader-content > h3 {
  align-self: flex-start;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto;
}

.bottom-logo {
  position: absolute;
  bottom: -20rem;
  width: 100%;
}

.bounce {
  animation: bounce2 2s ease-in-out infinite;
}

.legal_row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
  padding: 0 2rem;
}

.legal_row a,
.ot-sdk-show-settings {
  font-family: BrownPanLogitechVariable;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--logitech_text);
  text-decoration: none;
  text-align: center;
  text-wrap: balance;
}

.legal_row a:first-of-type {
  margin-right: auto;
}

.ot-sdk-show-settings {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  outline: none !important;
  text-transform: none !important;
  -webkit-tap-highlight-color: transparent !important;
  background-color: transparent !important;
  font-family: BrownPanLogitechVariable !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: var(--logitech_text) !important;
}

@media (max-width: 1200px) and (orientation: landscape) {
  .main {
    display: none;
  }

  .block-mobile {
    height: 100svh;
    width: 100%;
    display: grid;
    place-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999999;
    background: linear-gradient(180deg, #7612c2 0%, #b893ff 100%);
  }
}

@media screen and (min-width: 1201px) {
  .main {
    display: none;
  }

  .desktop_cover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    height: 100svh;
    width: 100vw;
    display: flex;
    overflow: hidden;
    background: linear-gradient(180deg, #7612c2 0%, #b893ff 100%);

    .row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
    }

    .col-content {
      display: flex;
      width: 60%;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 3rem;
    }

    .col {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      color: var(--logitech_text);

      .logo {
        height: 40px;
      }

      span {
        font-size: 2rem;
        color: var(--logitech_text);
        font-family: BrownPanLogitech;
        text-align: center;
        max-width: 100%;
        font-weight: 700;
      }

      h2 {
        font-size: 3.5rem;
        width: 100%;
        text-align: center;
        color: var(--logitech_text);
      }

      #qrcode {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: fit-content;
        gap: 1rem;
        width: 358.6px;
        height: 358.6px;
        aspect-ratio: 1/1;
        margin: 0 auto;
        background-image: url("../assets/images/marco.png");
        background-repeat: no-repeat;
        background-size: cover;

        img {
          margin: 0;
          width: 100%;
          aspect-ratio: 1/1;
        }
      }
    }
  }
  .border {
    display: block;
  }
}

@media screen and (min-width: 800px) {
  h2,
  h3 {
    font-size: 2.35rem;
  }

  h2 {
    width: 70%;
  }

  .logo {
    height: 35px;
  }

  .select_language > span {
    font-size: 1.5rem;
  }
  .buttons_language > div {
    font-size: 1.2rem;
  }

  button {
    padding: 0.75rem 0;
    width: 40%;
  }

  .guide_container > span {
    font-size: 1.25rem;
  }
}
