@font-face {
  font-family: frutiger-next-regular;
  src: url('../assets/fonts/frutiger-next-regular.ttf');
}

@font-face {
  font-family: frutiger-next-bold;
  src: url('../fonts/frutiger-next-bold.ttf');
}

@font-face {
  font-family: frutiger-next-heavy;
  src: url('../fonts/frutiger-next-heavy.ttf');
}

:root {
  --clr-link: rgba(123, 110, 76, 1);
  --clr-warning: rgba(182, 0, 0, 1);
  --clr-success: rgba(12, 125, 71, 1);
  --clr-accent-1: rgba(26, 26, 26, 1);
  --clr-grey: rgba(188, 188, 188, 1);
  --clr-white: rgba(255, 255, 255, 1);
  --clr-border: rgba(214, 214, 214, 1);
  --font-footer: 15px;
  --font-h1: 32px;
  --font-h2: 32px;
  --font-h3: 20px;
  --font-game-title: 24px;
  --font-p: 17px;
  --font-placeholder: 19px;
}

@media screen and (min-width: 1025px) {
  :root {
    --font-footer: 17px;
    --font-h1: 44px;
    --font-h2: 35px;
    --font-h3: 26px;
    --font-game-title: 35px;
    --font-p: 19px;
  }
}

h1[data-text] {
  font-size: var(--font-h1) !important;
}

h2[data-text] {
  font-size: var(--font-h2) !important;
}

h3[data-text] {
  font-size: var(--font-h3) !important;
}

#spin-the-wheel h3[data-text],
#scratch-card h3[data-text] {
  font-size: var(--font-game-title) !important;
}

p[data-text],
[input-group] label,
button[data-button],
.legend-element span,
.answers__container>a[data-button],
.answers__container-2.swipe>a[data-button] {
  font-size: var(--font-p) !important;
}

.footer>*[data-text],
[data-link-privacy],
[data-link-terms],
a[data-button] {
  font-size: var(--font-footer) !important;
}

button[data-button][disabled] {
  background-color: #BCBCBC !important;
  border-color: #BCBCBC !important;
  color: #fff !important;
  opacity: 1 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

body {
  position: relative;
  overflow: hidden auto !important;
}

@media only screen and (max-width: 768px) {
  .privacy-policy {
    hyphens: auto;
  }

  .arrows__wrap {
    display: none !important;
  }
}

/* PREVENT STICKY BUTTONS ON TOUCH DEVICES */
@media (pointer: coarse) {

  [data-color-link-primary]:hover,
  [data-color-link-secondary]:hover,
  [data-menu]:hover,
  [data-button]:hover,
  [data-color-social-primary]:hover,
  [data-color-social-secondary]:hover {
    opacity: 1 !important;
  }
}

#main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden !important;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background-color: transparent;
  border: none;
}

#modal-overlay img {
  width: initial;
}

a,
a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
p,
button {
  margin: 0;
}

.counter__element>span,
.counter__element>span>span {
  font-size: inherit;
  font-family: frutiger-next-bold, sans-serif !important;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
}

[data-button] {
  min-width: 280px;
  padding: 4px 42px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 15px;
}

button[data-button] {
  min-width: fit-content;
  width: 100%;
  max-width: 100%;
  border: 4px solid;
  border-radius: 4px !important;
}

button[data-button]:hover {
  border: 4px solid var(--clr-accent-1) !important;
  background-color: #fff !important;
  color: var(--clr-accent-1) !important;
  font-family: frutiger-next-bold, sans-serif !important;
  opacity: 1 !important;
}

[data-email] button[data-button]:hover {
  opacity: 1 !important;
  color: initial !important;
  border: 4px solid !important;
  background-color: initial !important;
  font-weight: normal;
}

.btn-popup[data-button] {
  min-width: 250px !important;
}

#main-content>div:not([data-email]) {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow: hidden !important;
}

/* tos and pp */
.document__wrap {
  width: 90%;
  max-width: 1025px;
  height: fit-content;
  margin: 40px auto 80px;
  padding: 10px 15px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 25px;
  background-color: #fff;
}

.document__title {
  text-align: center;
  margin: 20px auto 50px;
}

.point {
  margin-bottom: 20px;
}

.document__wrap h4 {
  margin-bottom: 20px;
  font-weight: frutiger-next-bold, sans-serif !important;
}

.document__wrap p {
  margin-bottom: 15px;
}

/* Layout ====================================== */

.page__wrap {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  height: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 0;
}

.logo__wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.logo {
  width: 140px;
  max-height: 100px;
  object-fit: contain;
  margin: 25px auto 25px 20px;
}

.image__wrap {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0 auto 40px;
}

.page__image {
  margin-bottom: 15px;
  aspect-ratio: 75 / 58;
  object-fit: cover;
}

div.page__image:not(#game-view div.page__image) {
  aspect-ratio: auto !important;
}

.image__line {
  width: 32%;
  height: 30px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer__wrap {
  width: 100%;
  padding: 0 20px;
}

.footer {
  text-align: start;
  margin: 40px auto 14px;
}

.footer>a,
.footer>a:hover,
.custom-checkbox a,
.custom-checkbox a:hover {
  text-decoration: underline;
}

.footer>span,
.footer>a {
  display: inline;
}

.content__wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: start;
  gap: 15px;
  padding: 0 20px;
  margin: 0 auto auto;
}

@media screen and (min-width: 768px) {
  .page__wrap {
    max-width: 100%;
  }

  button[data-button] {
    width: fit-content;
    min-width: 160px;
  }
}

@media screen and (min-width: 1025px) {
  .page__wrap {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0;
    column-gap: 50px;
    padding-left: 50px;
  }

  .image__wrap {
    grid-area: 1 / 2 / 4 / 4;
    min-height: 100dvh;
    height: 100%;
    margin: 0;
    align-self: flex-start;

  }

  #guess-the-picture .image__wrap {
    align-self: center;
  }

  .logo__wrap {
    grid-area: 1 / 1 / 2 / 2;
    align-self: flex-start;
  }

  .content__wrap {
    grid-area: 2 / 1 / 3 / 2;
    margin: auto 0;
    padding: 0;
    align-self: center;
  }

  [data-mode-click] .content__wrap,
  #survey .content__wrap,
  #guess-the-picture .content__wrap {
    align-self: flex-start;
    /* margin: 0 auto auto 0; */
  }

  .footer__wrap {
    grid-area: 3 / 1 / 4 / 4;
    align-self: flex-end;
    padding: 0;
  }

  .footer {
    text-align: start;
  }

  .page__image {
    margin: 0;
    aspect-ratio: 4 / 4;
    height: 100%;
  }

  .logo {
    width: 200px;
    margin: 30px 0;
  }

  .image__line {
    height: 50px;
    width: 46%;

  }

}

@media screen and (min-width: 1280px) {
  .page__wrap {
    padding-left: 90px;
    column-gap: 95px;
  }
}

/* Register ====================================== */

/* reset browser styles */

/* ----- disable outline on focus ------ */
.custom-control-label::before {
  outline: none;
  box-shadow: none !important;
  background-color: transparent !important;
  border: 1px solid rgba(26, 26, 26, 1);
}

button:focus,
button:focus-visible {
  outline: none !important;
}

/* kill disable coloring */
input:-webkit-autofill,
select:-webkit-autofill {
  background-color: transparent !important;
}

.leadForm {
  width: 100%;
  max-width: 475px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 15px;
}

[input-group] {
  width: 100%;
  text-align: start;
}

[input-group]>label {
  margin-bottom: 8px;
}

[input-group]>label.active {
  margin: 0 !important;
}

.form-input {
  width: 100%;
  height: 37px;
  padding: 0 0 4px;
  margin: 0 auto;
  text-align: start;
  border: none;
  border-bottom: 1px solid rgba(153, 153, 153, 1);
  border-radius: 0;
  box-shadow: none;
  background-color: #fff;
  transition: border .2s linear;
}

.form-input:focus,
#date-of-birth-input:focus~#date-span {
  outline: none;
  box-shadow: none;
  border-bottom: 4px solid rgba(26, 26, 26, 1);
}

#date-of-birth-input[type="date"],
#date-of-birth-input[type="text"] {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: start;
  background-color: #fff;
  color: rgba(0, 0, 0, 0) !important;
  width: 100%;
  min-height: 37px;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 0 4px !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#date-of-birth-input[type="date"]::-webkit-datetime-edit-fields-wrapper,
#date-of-birth-input[type="text"]::-webkit-datetime-edit-fields-wrapper {
  width: fit-content !important;
  text-align: left !important;
  margin: 0 auto 0 0;
  padding-left: 0 !important;
}

.date-wrap {
  position: relative;
}

#date-span {
  width: 100%;
  height: 37px;
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-color: #fff;
  border: none;
  border-bottom: 1px solid rgba(153, 153, 153, 1);
  transition: border .2s linear;
}

select {
  appearance: none;
  -webkit-appearance: none;
}

select:focus {
  background-color: transparent;
}

/* checkboxes */

.checkbox__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  text-align: start;
  margin-top: 20px;
}

.custom-control-label {
  width: 100%;
  position: relative;
  padding-left: 30px;
}

.custom-control-label p,
.custom-control-label a {
  display: inline;
}

.custom-control-label::before,
.custom-control-label::after {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0.25rem;
  left: 0;
  border-radius: 4px !important;
}

.custom-control-input:checked~.custom-control-label::after {
  background-size: 100%;
  background-position: center;
  transform: scale(0.7);
}

[input-group] label {
  transform: translateY(125%);
  transition: transform .4s ease-out;
  color: rgba(77, 77, 77, 1) !important;
  position: relative;
  z-index: 10;
}

[input-group] label {
  pointer-events: none;
  line-height: 1.5;
}

label.active {
  transform: translateY(0);
}

[input-group] input,
[input-group] select,
#date-span {
  font-size: 19px !important;
  font-family: frutiger-next-bold, sans-serif !important;
}

#register [data-button] {
  margin-top: 20px;
}

@media screen and (min-width: 1280px) {
  .leadForm {
    max-width: 550px;
    width: 550px;
  }
}

/* Outcome ====================================== */

/* social icons */

.social__wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

[data-social] {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  margin: 16px 16px 0 0;
  transition: transform .3s ease-out, opacity .5s ease-in;
}

[data-social]:hover {
  transform: translateY(-10px);
  opacity: .6;
}

[data-social]>a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

a>svg {
  max-width: 60%;
  max-height: 60%;
  width: 60%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

/* cta buttons */
.cta-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: auto;
}

.cta {
  min-width: 230px;
  max-width: 480px;
  width: 100%;
  margin: 15px 0;
  display: none;
}

.outcome__wrap {
  gap: 0;
}

.outcome__wrap .counter__wrap {
  margin-bottom: 30px;
  gap: 5px;
}


.outcome__space {
  margin-bottom: 15px;
}

@media screen and (min-width: 1025px) {
  .cta-buttons {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
  }

  .cta {
    width: fit-content;
    margin: 15px 30px 15px 0;
  }
}

/* GAMES ============================================== */
.po-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

#game-view>div {
  width: 100%;
}

.game__wrap .image__wrap {
  width: 100%;
  max-width: 370px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px 30px;
  margin: 0 auto;
}

.image__wrap__game {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 2;
}

.image__wrap__game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.game__wrap .image__line {
  width: 40%;
  height: 45%;
  left: unset;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.counter__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Guess the picture ==================================== */
.timer__wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.answers__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 15px;
  border: 1px solid var(--clr-border) !important;
  border-radius: 0px;
}

.answers__container>a {
  width: 100% !important;
  min-height: 63px;
  padding: 16px 20px !important;
  margin: 0;
  justify-content: flex-start;
  align-items: center;
  text-align: start !important;
  border: none;
  border-top: 1px solid var(--clr-border) !important;
  border-color: var(--clr-border) !important;
  border-radius: 0px !important;
  background-color: transparent !important;
  color: var(--clr-accent-1) !important;
  transition: all .3s ease;
  outline: 2px solid transparent;
}

.answers__container>a>* {
  border-radius: 0px !important;
}

@media screen and (min-width: 768px) {
  .answers__container>a {
    min-height: 67px;
    padding: 18px !important;
  }
}

.answers__container>a[data-active] {
  color: #fff !important;
  background-color: var(--clr-accent-1) !important;
}

.answers__container>a.last[data-active] {
  border-bottom-left-radius: 8px !important;
}

.answers__container>a:first-child {
  border-top: none !important;
  border-radius: 0px !important;
}

/* .answers__container>a:nth-child(2) {
  border-radius: 0px 0px 0px 8px !important;
} */

.gtp-tile-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 0;
}

.gtp-tile {
  background-color: #fff !important;
  border: none !important;
}

@media screen and (min-width: 360px) {
  .game__wrap .image__wrap {
    width: 360px;
  }
}

@media screen and (min-width: 410px) {
  .game__wrap .image__wrap {
    width: 410px;
  }
}

@media screen and (min-width: 480px) {
  .game__wrap .image__wrap {
    width: 480px;
  }
}

@media screen and (min-width: 1025px) {
  .game__wrap {
    padding: 0 50px;
  }

  .game__wrap .image__line {
    width: 286px !important;
    height: 191px !important;
  }

  .game__wrap .image__wrap {
    min-height: 499px;
    width: 475px;
    height: 499px;
    margin-left: auto;
    padding: 37px 50px 37px 0;
  }

  .image__wrap__game {
    width: 425px;
    height: 425px;
  }

  .game__wrap .content__wrap {
    max-width: 427px;
  }
}

@media screen and (min-width: 1280px) {
  .game__wrap {
    padding: 0 90px;
  }
}

@media screen and (min-width: 1360px) {
  .game__wrap .content__wrap {
    max-width: 510px;
  }

  .image__wrap__game {
    width: 510px;
    height: 510px;
  }

  .game__wrap .image__wrap {
    width: 570px;
    height: 599px;
    padding: 44px 60px 45px 0;
  }

  .game__wrap .image__line {
    width: 343px !important;
    height: 229px !important;
  }
}

@media screen and (min-width: 1600px) {
  .game__wrap .content__wrap {
    max-width: 612px;
  }

  .image__wrap__game {
    width: 610px;
    height: 610px;
  }

  .game__wrap .image__wrap {
    width: 684px;
    height: 719px;
    padding: 53px 72px 54px 0;
  }

  .game__wrap .image__line {
    width: 411px !important;
    height: 274px !important;
  }
}

@media screen and (min-width: 2048px) {
  .game__wrap .content__wrap {
    max-width: 734px;
  }

  .image__wrap__game {
    width: 734px;
    height: 734px;
  }

  .game__wrap .image__wrap {
    width: 820px;
    height: 862px;
    padding: 63px 86px 64px 0;
  }

  .game__wrap .image__line {
    width: 493px !important;
    height: 328px !important;
  }
}

/* Memory ==================================== */

.memory-card__wrap {
  width: 240px;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}

.memory-card__wrap .game-item {
  aspect-ratio: 1 / 1;
  width: 110px;
  height: 110px;
}

.game-item>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memory__content {
  width: fit-content;
  margin: 15px auto auto;
  padding: 0 40px;
  gap: 40px;
}

.memory__content svg {
  width: 22px;
  height: 22px;
}

@media screen and (min-width: 360px) {
  .memory__content {
    padding: 0 50px;
  }

  .memory-card__wrap {
    width: 260px;
  }

  .memory-card__wrap .game-item {
    width: 120px;
    height: 120px;
  }
}

@media screen and (min-width: 375px) {
  .memory-card__wrap {
    width: 274px;
  }

  .memory-card__wrap .game-item {
    width: 127px;
    height: 127px;
  }
}

@media screen and (min-width: 410px) {
  .memory-card__wrap {
    width: 310px;
  }

  .memory-card__wrap .game-item {
    width: 145px;
    height: 145px;
  }
}

@media screen and (min-width: 480px) {
  .memory-card__wrap {
    width: 380px;
  }

  .memory-card__wrap .game-item {
    width: 180px;
    height: 180px;
  }
}

@media screen and (min-width: 1025px) {
  #memory-game .page__wrap {
    padding: 0 50px;
    column-gap: 0;
  }

  .memory__content {
    padding: 0;
    margin: auto;
    grid-area: 2 / 1 / 3 / 3;
  }

  .memory-card__wrap {
    width: 720px;
  }

  .memory-card__wrap .game-item {
    width: 165px;
    height: 165px;
  }
}

@media screen and (min-width: 1280px) {
  #memory-game .page__wrap {
    padding: 0 90px;
  }
}

@media screen and (min-width: 1600px) {
  .memory-card__wrap {
    width: 900px;
  }

  .memory-card__wrap .game-item {
    width: 210px;
    height: 210px;
  }
}

/* Personality test & Quiz ==================================== */
/* #click-answers .last {
  border-bottom-left-radius: 8px !important;
} */

[data-mode-swipe],
[data-mode-click] {
  width: 100%;
  height: auto;
  margin: auto;
}

.arrows__wrap {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 27%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.arrow__wrap {
  width: fit-content;
  height: 36px;
  margin: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow__wrap svg {
  filter: drop-shadow(0 16px 32px rgba(26, 26, 26, 0.8));
}

.answers__container-2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answers__container-2>a {
  margin: 0;
  padding: 16px 10px;
  min-height: 60px;
}

[data-mode-swipe] .image__wrap {
  width: 100%;
  margin: 0 auto 10px;
}

[data-mode-swipe] .image__wrap .image__line {
  z-index: 1;
}

[data-mode-swipe] .image__wrap .image__wrap-game {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.arrows__wrap {
  z-index: 3;
}

[data-mode-swipe] .content__wrap {
  padding: 0;
  gap: 20px;
  margin: auto;
}

[data-mode-swipe] .counter__wrap,
[data-mode-swipe] .answers__container-2 {
  padding: 0 20px;
}

[data-mode-click] .page__image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .answers__container-2>a {
    min-height: 52px;
    padding: 10px;
  }

  [data-mode-swipe] .content__wrap {
    max-width: 530px;
  }

  [data-mode-swipe] .image__wrap .image__wrap-game {
    width: 340px;
    height: 340px;
    margin-top: auto;
  }

  [data-mode-swipe] .image__wrap .image__line {
    width: 336px !important;
    height: 190px !important;
    inset: 0;
    margin: auto auto 0;
    transform: translateX(52px);
  }

  .arrows__wrap {
    width: calc(100% - 6px);
    height: 100%;
    inset: 0;
  }

  .arrow__wrap {
    margin: auto 0 190px;
  }

  [data-mode-swipe] .image__wrap {
    padding: 0 0 37px;
    width: 100%;
    height: auto;
    min-height: 377px;
    order: -1;
  }

  [data-mode-swipe] .counter__wrap {
    justify-content: center;
    text-align: center;
    padding: 0;
  }

  [data-mode-swipe] .answers__container-2 {
    flex-direction: row;
    gap: 10px;
    padding: 0;
  }

  [data-mode-swipe] .answers__container-2>a {
    min-width: unset;
    flex: 0 0 calc(50% - 5px);
  }
}

@media screen and (min-width: 1025px) {
  [data-mode-swipe] .game__wrap {
    column-gap: 0;
  }

  [data-mode-swipe] .content__wrap {
    grid-area: 2 / 1 / 3 / 3;
    align-self: center;
    justify-self: center;
  }

  [data-mode-click] .content__wrap {
    max-width: 435px;
  }

  [data-mode-click] .page__wrap,
  #survey .page__wrap,
  #guess-the-picture .page__wrap {
    grid-template-rows: 130px auto auto;
  }
}

@media screen and (min-width: 1400px) {
  [data-mode-click] .content__wrap {
    max-width: 600px;
  }
}

/* Survey ==================================== */
#survey .page__image {
  aspect-ratio: auto !important;
}

#survey .page__image img {
  aspect-ratio: 75 / 58;
}

@media screen and (min-width: 1025px) {
  #survey .page__image img {
    aspect-ratio: 4 / 3;
  }
}



/* ----- kill outline on focus ------ */
textarea:focus-visible {
  outline: none;
}

.single-answer ::before,
.multiple-answer ::before {
  outline: none;
  box-shadow: none !important;
}

button:focus,
button:focus-visible {
  outline: none !important;
}

/* ---- radio buttons for single choice answers ---- */
.single-answer .custom-checkbox .custom-control-label::before,
.single-answer .custom-checkbox .custom-control-label::after {
  border-radius: 20% !important;
}

#survey .custom-control-label::before,
#survey .custom-control-label::after {
  top: calc(50% - 0.6rem);
}

/* ---- DISABLE BOOTSTRAP GREY TEXT WHEN ANSWER IS DISABLED ---- */
.survey__text-section .custom-control-input:disabled~.custom-control-label {
  color: unset;
}

.survey__text-section,
.survey__picture-section {
  
  width: 100% !important;
}

.survey__text-section {
  margin: 15px 0;
}

.survey__picture-section>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.survey__text-section .custom-control {
  padding-left: 0;
}

/* ----- single and multiple answers ------ */
.survey__answers {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border) !important;
  /* border-radius: 8px 8px 0; */
  overflow: visible;
}

.survey__answers>div:first-child {
  border-top: 0px !important;
}

.survey__answers>div {
  width: 100% !important;
  min-height: 63px;
  margin: 0;
  text-align: start;
  border: none;
  border-top: 1px solid var(--clr-border) !important;
  border-color: var(--clr-border) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--clr-accent-1) !important;
}

.survey__answers span {
  padding: 10px 10px 10px 0;
}



.survey__answers>div>div,
.survey__answers>div>div>label {
  width: 100%;
  height: 100%;
  min-height: 63px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 46px;
}

.survey__answers>div>div>label {
  transition: all .3s ease;
  outline: 2px solid transparent;
}

.survey__answers .custom-control-label::after,
.survey__answers .custom-control-label::before {
  left: 16px;
}

.last input:checked~label {
  border-bottom-left-radius: 8px !important;
}

.single-answer .custom-control-input:checked~.custom-control-label::after {
  transform: scale(0.4);
  filter: invert(0);
  background-image: none !important;
}

.survey__answers .custom-control-input:checked~.custom-control-label {
  background-color: var(--clr-accent-1) !important;
  color: var(--clr-white) !important;
}

.survey__answers .custom-control-label::before {
  background-color: var(--clr-white) !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: url("https://live.brame-gamification.com/d8565ebc-a7db-11ef-a5b9-8994c36a2086/assets/images/custom-check.png") !important;
}

/* ----- navigation ------ */
.survey__navigation {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 14px;
}

/* #skip-btn,
#next-btn,
#submit-btn {
  grid-area: 1 / 2 / 2 / 3;
} */

#previous-btn {
  grid-area: 1 / 1 / 2 / 2;
  border: 1px solid var(--clr-border) !important;
  background-color: var(--clr-white) !important;
  color: var(--clr-accent-1) !important;
}

.survey__navigation>button {
  padding: 4px 10px;
  margin: 0;
  min-width: 133px;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .survey__navigation {
    width: fit-content;
  }

  .survey__navigation>button {
    min-width: 160px;
    width: fit-content;
  }
}

/* ======================== SCALE ELEMENT ======================== */
span[data-scale-line] {
  width: 1px !important;
}

.scale-container>.scale>.scale__sector {
  width: 100% !important;
}

.scale_last_visible {
  align-items: flex-end;
}

.scale-container {
  width: 100%;
}

.scale {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 210px;
  margin: auto;
}

.scale__line {
  height: calc(100% - 24px);
  margin: auto 0;
  background: #000;
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
}

.scale__sector {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin: 10px;
}

.scale__sector__button {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid;
  background-color: #fff;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.scale__sector__text {
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
  margin-left: 10px;
  text-align: start;
}

.scale__sector__button.scale__marker {
  background-color: var(--clr-accent-1);
}

.scale__marker::after {
  content: "";
  background-color: var(--clr-white);
  transition: all .1s ease-out;
  border-radius: 50%;
  position: absolute;
  width: 7px;
  height: 7px;
  inset: 0;
  margin: auto;
}

/* Free text answer */
.text-answer {
  width: 100%;
  position: relative;
}

.text-answer>label {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  padding: 17px 0 15px;
  color: #4D4D4D;
  pointer-events: none;
  display: flex;
  align-items: center;
  margin: auto;
}

.text-answer textarea {
  width: 100%;
  min-height: 55px;
  height: fit-content;
  max-height: 55px;
  padding: 15px 0 13px;
  border: none;
  border-bottom: 1px solid rgba(153, 153, 153, 1);
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  transition: all .3s ease;
  color: rgba(77, 77, 77, 1) !important;
  overflow-y: hidden;
  resize: none;
}

.text-answer textarea:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 4px solid rgba(26, 26, 26, 1);
}

@media screen and (min-width: 1025px) {
  #survey .content__wrap {
    max-width: 435px;
  }
}

@media screen and (min-width: 1400px) {
  #survey .content__wrap {
    max-width: 600px;
  }
}

/* Spin The Wheel ==================================== */
.spin-the-wheel {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.text-section,
.wheel-section {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: start;
}

.text-section {
  align-items: flex-start;
  gap: 15px;
}

.legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}

.legend-element {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.legend-element span {
  line-height: 1.4;
  min-height: 1rem;
  margin: auto 0 auto 15px;
}

.sector {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
}

.sector>img {
  max-width: 100%;
  width: 38px;
  height: 38px;
}

.ticker-layer,
.center-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.wheel-ticker {
  width: 70px;
  height: 70px;
  margin: -20px auto auto;
}

.wheel-center {
  width: 89px;
  height: 89px;
  margin: auto;
  transform: translateY(11%);
}

.canvas-container {
  width: 280px;
  height: 280px;
  border: 3px solid;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.canvas-container canvas {
  cursor: pointer;
  width: 260px;
  height: 260px;
  border-radius: 50%;
}

@media screen and (min-width: 360px) {
  .canvas-container {
    width: 320px;
    height: 320px;
  }

  .canvas-container canvas {
    width: 300px;
    height: 300px;
  }
}

@media screen and (min-width: 375px) {
  .canvas-container {
    width: 335px;
    height: 335px;
  }

  .canvas-container canvas {
    width: 315px;
    height: 315px;
  }
}

@media screen and (min-width: 410px) {
  .canvas-container {
    width: 370px;
    height: 370px;
  }

  .canvas-container canvas {
    width: 350px;
    height: 350px;
  }
}

@media screen and (min-width: 415px) {
  .canvas-container {
    width: 375px;
    height: 375px;
  }

  .canvas-container canvas {
    width: 355px;
    height: 355px;
  }
}

@media screen and (min-width: 480px) {
  .canvas-container {
    width: 440px;
    height: 440px;
  }

  .canvas-container canvas {
    width: 420px;
    height: 420px;
  }
}

@media screen and (min-width: 768px) {
  .canvas-container {
    width: 570px;
    height: 570px;
  }

  .canvas-container canvas {
    width: 550px;
    height: 550px;
  }
}

@media screen and (min-width: 1025px) {
  .spin-the-wheel {
    width: 100%;
    flex-direction: row;
    grid-area: 2 / 1 / 3 / 3;
  }

  .text-section,
  .wheel-section {
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
  }

  .wheel-ticker {
    width: 117px;
    height: 117px;
    margin: -28px auto auto;
  }

  .wheel-center {
    width: 149px;
    height: 149px;
  }

  #spin-the-wheel .page__wrap {
    column-gap: 0;
    padding: 0 50px;
  }

  .canvas-container {
    width: 420px;
    height: 420px;
  }

  .canvas-container canvas {
    width: 400px;
    height: 400px;
  }

  .sector,
  .sector>img {
    width: 55px;
    height: 55px;
  }
}

@media screen and (min-width: 1280px) {
  #spin-the-wheel .page__wrap {
    padding: 0 90px;
  }

  .canvas-container {
    width: 570px;
    height: 570px;
  }

  .canvas-container canvas {
    width: 550px;
    height: 550px;
  }
}

@media screen and (min-width: 1600px) {
  .canvas-container {
    width: 690px;
    height: 690px;
  }

  .canvas-container canvas {
    width: 670px;
    height: 670px;
  }
}

@media screen and (min-width: 2048px) {
  .canvas-container {
    width: 914px;
    height: 914px;
  }

  .canvas-container canvas {
    width: 894px;
    height: 894px;
  }
}

/* Scratch Card ==================================== */

/* -------------- LEGEND -------------- */
#scratch-card .legend {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  row-gap: 16px;
  column-gap: 0;
  justify-items: start;
  position: relative;
  margin: 15px 0 25px;
}

#scratch-card .legend-element {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#scratch-card .legend-element>span {
  display: flex;
  align-items: center;
}

/* -------------- CARD CONTAINER -------------- */

.scratch-card__container {
  width: 100%;
  max-width: 530px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.scratch-card__container>.card {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 0;
  border: none !important;
  border-width: 0 !important;
  box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
}

.card-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  aspect-ratio: 1 / 1;
  z-index: 10;
  border-radius: inherit;
  cursor: default;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.prize-cover {
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: 9;
  border-radius: inherit;
}

#scratch-card .prize {
  position: relative;
  z-index: 8;
}

.scratch-card__container img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: inherit;
  aspect-ratio: 1 / 1;
}

.legend__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

@media screen and (min-width: 1025px) {
  .legend__wrap {
    align-self: center;
  }

  #scratch-card .page__wrap {
    column-gap: 0;
    padding: 0 50px;
  }

  #scratch-card .content__wrap {
    grid-area: 2 / 1 / 3 / 3;
    flex-direction: row;
    gap: 40px;
  }

  #scratch-card .content__wrap>div {
    flex: 0 0 calc(50% - 20px);
  }

  #scratch-card .legend {
    margin: 15px 0 0;
  }
}

@media screen and (min-width: 1280px) {
  #scratch-card .page__wrap {
    padding: 0 90px;
  }
}

/* -------------- ANIMATIONS -------------- */
.card-outline {
  box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
}

.card-match {
  box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
  -webkit-animation: blink 0.5s infinite;
  -moz-animation: blink 0.5s infinite;
  -o-animation: blink 0.5s infinite;
  animation: blink 0.5s infinite;
}

@keyframes blink {
  0% {
    box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
  }

  100% {
    box-shadow: 0 0 1px 4px rgba(26, 26, 26, 0.3);
  }
}

@-webkit-keyframes blink {
  0% {
    box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
  }

  100% {
    box-shadow: 0 0 1px 4px rgba(26, 26, 26, 0.3);
  }
}

@-moz-keyframes blink {
  0% {
    box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
  }

  100% {
    box-shadow: 0 0 1px 4px rgba(26, 26, 26, 0.3);
  }
}

@-o-keyframes blink {
  0% {
    box-shadow: 0 16px 32px 0 rgba(26, 26, 26, 0.1);
  }

  100% {
    box-shadow: 0 0 1px 4px rgba(26, 26, 26, 0.3);
  }
}

/* --------------- RETRY MODAL --------------- */
.retry-modal {
  width: 90%;
  max-width: 600px;
  height: fit-content;
  min-height: 300px;
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 10000;
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .30);
}

.retry-modal__body {
  width: 100%;
  min-height: 300px;
  padding: 70px 15px 40px;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: #fff;
}

.retry-modal__body>h2 {
  margin-bottom: 40px;
}

.retry-modal__body>button {
  min-width: 200px;
  margin: 30px 0 0;
}

/* Hover states  for devices with a mouse */
@media (hover: hover) {
  .text-answer>label:hover {
    outline: none !important;
    border: 1px solid #1A1A1A !important;
  }

  .answers__container>a:hover {
    border: 1px solid #1A1A1A !important;
    outline: 1px solid #1A1A1A;
    z-index: 10;
    opacity: 1 !important;
    transition: all .3s ease;
  }

  .answers__container>a {
    border-radius: 0px !important;
  }

  /* .answers__container>a:first-child {
    border-radius: 8px 8px 0px 0px !important;
  }

  .answers__container>a:last-child {
    border-radius: 0px 0px 0px 8px !important;
  } */

  .answers__container>a:hover {
    border-radius: 0px !important;
  }

  /* .answers__container>a:first-child:hover {
    border-radius: 8px 8px 0px 0px !important;
  }

  .answers__container>a:last-child:hover {
    border-radius: 0px 0px 0px 8px !important;
  } */

  .survey__answers label:hover {
    border: 1px solid #1A1A1A !important;
    outline: 1px solid #1A1A1A;
    z-index: 10;
    opacity: 1 !important;
    transition: all .3s ease;
  }

  .survey__answers>div {
    border-radius: 0px !important;
  }

  /* .survey__answers>div:first-child {
    border-top: 0 !important;
  }

  .survey__answers>div:first-child label {
    border-radius: 8px 8px 0 0 !important;
  }

  .survey__answers>div:last-child label {
    border-radius: 0 0 0 8px !important;
  } */

  
  /* .survey__answers>div:first-child label:hover {
    border-radius: 8px 8px 0 0 !important;
  }

  .survey__answers>div:last-child label:hover {
    border-radius: 0 0 0 8px !important;
  } */
}

#register [input-group] label {
  font-size: 17px !important;
}

#memory-game #time-wrap {
  font-family: 'frutiger-next-bold', sans-serif !important;
  font-size: 24px !important;
  font-weight: bold !important;
}