@font-face {
  font-family: "Life Sans";
  src: url("../font/LifeSans-Regular-_pvqWTR.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Life Sans semibold";
  src: url("../font/LifeSans-SemiBold-JgAX7_2.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Life Sans Bold";
  src: url("../font/LifeSans-Bold-WLsWjl4.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gray-800: #636B71;
  --blue-800: #013A68;
  --primary: #016ABD;
  --white-grey:  #F7FAFB;
}
.fn-1 {
  font-size: 1rem;
}
.fw-normal {
   font-family: "Life Sans";
}
.fw-bold {
  font-family: "Life Sans Bold";
}
.btn:focus-visible {
  outline: #0B9AEC 1px solid!important;
}

html {
    height: 100%;
}

body {
  font-family: "Life Sans";
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px;
  height: 100%;
  display: flex; 
  flex-direction: column;
  margin: 0;
  line-height: 120%;
  background: var(--white-grey);
}

a {
  color: #0B9AEC;
  text-decoration: underline;
}

.album {
  /* margin-top: 61px; */
}

.bg-gradient {
  background: linear-gradient(180deg, #0B9AEC 0%, #0B9AEC 53.85%, #016ABD 100%) !important;
}

.bg-btn {
  background-color: #0B9AEC;
}

.bg-azure {
  background: rgba(11, 154, 236, 0.08);
}

.bg-registrazione {
  background: var(--white-grey);
}

.bg-azure-2 {
  background-color: #EEF3F7;
  color: var(--gray-800);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.bg-gradient-2 {
  background: linear-gradient(270deg, #0B9AEC 0%, #016ABD 100%);
}

h1 {
  color: #FFF;
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  /* 38.4px */
}

h2 {
  color: var(--blue-800);
  text-align: center;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.text {
  font-family: "Life Sans Bold";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

a.btn {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0px;
  border: none;
  gap: 16px;
  color: rgb(255, 255, 255);
  stroke: rgb(10, 140, 215);
}

a.btn.a2a-cta-color-blue {
  color: rgb(10, 140, 215);
  stroke: rgb(255, 255, 255);
}

a.btn.a2a-cta-color-blue .icon-button {
  background-color: rgb(10, 140, 215);
  border: 1px solid rgb(10, 140, 215);
  color: rgb(255, 255, 255);
}

a.btn.a2a-cta-color-blue .icon-button svg,
a.btn.a2a-cta-color-blue .icon-button svg path {
  stroke: rgb(255, 255, 255) !important;
  fill: none !important;
}

.button-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  /* stroke: rgb(10, 140, 215); */
  padding: 14px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  order: -1;
  color: rgb(10, 140, 215);
}

.icon-button svg,
.icon-button svg path {
  stroke: rgb(10, 140, 215) !important;
  fill: none !important;
}

strong {
  font-family: "Life Sans Bold";
  font-weight: 700;
}

.round {
  border-radius: 50%;
  height: 48px;
  width: 48px;
}

.text-grey {
  color: var(--gray-800);
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.text-azure {
  color: #0B9AEC;
}

.text-blue {
  color: var(--blue-800);
}

.box-3 {
  font-family: "Life Sans Bold";
  border-radius: 8px;
  background: rgba(10, 140, 215, 0.20);
  color: var(--blue-800);
  font-weight: 700;
  line-height: 120%;
}

.iubenda-white {
  background: transparent !important;
    border: 0px !important;
    color: white !important;
    margin-bottom: 28px !important;
    padding: 0px !important;
    font-size: 14px !important;
}

/* footer {
  font-family: "Life Sans Bold";
  background-color: var(--blue-800);
  color: #fff;
  padding-top: 64px;
  padding-bottom: 64px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%
} */

.footer-main {
  background-color: var(--blue-800);
  color: rgb(255, 255, 255);
  /* font-size: 1.8rem; */
  font-weight: 400;
  line-height: 1.4;
  padding: 48px 16px;
  margin: 0px auto;
  line-height: 120%
}

.Grid-Styled-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(10px, 1fr));
  grid-auto-rows: auto;
  gap: 0px 16px;
}

.logo-container {
  display: flex;
  grid-column: 1 / span 4;
  justify-content: flex-end;
  flex-direction: column;
  margin-bottom: 32px;
}

footer .logo {
  width: 180px;
}

.footer-content {
  padding-left: 0px;
  grid-column: 1 / span 4;
}

.footer-social {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0px;
  margin-bottom: 0px;
  text-align: left;
}

.footer-social li {
  justify-content: center;
  display: flex;
  padding: 8px;
}

.footer-social li a {
  display: inline-block;
}

.footer-social li a svg {
  display: block;
  width: 16px;
  height: auto;
}
.footer-social li a svg path {
  transition: fill 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ft-rs {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
}

.links {
  list-style: none;
  padding: 0px;
  margin: 0px;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
}

.links li {
  padding-top: 8px;
  padding-bottom: 8px;
  display: block;
}

.links li a {
  color: rgb(255, 255, 255);
  text-decoration: underline;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

footer .piva {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin-top: 32px;
  margin-bottom: 32px;
}

footer a.voci {
  color: #fff !important;
  text-decoration: none !important;
  margin-bottom: 28px !important;
  display: block !important;
  background-color: transparent !important;
}

header {
  border-bottom: 1px solid #fff;
  background-color: #0B9AEC;
  height: 58px;
}

header .logo {
  height: 32px;
  margin-top: 13px;
  margin-bottom: 13px;
}

.social {
  display: flex;
  width: 36px;
  height: 36px;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

/*********************COUNT DOWN***************************/

#countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.countdown-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
}

.label {
  font-size: 14px;
  color: #0B9AEC;
  margin-top: 6px;

}

.digits {
  display: flex;
  gap: 8px;
  align-items: center;
}

.digit-box {
  font-family: "Life Sans Bold";
  width: 38px !important;
  height: 57px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: #0B9AEC;
  text-align: center;
  font-size: 34px !important;
  font-style: normal;
  font-weight: 700;
  line-height: 120%
}

.separator {
  font-family: "Life Sans Bold";
  font-size: 34px;
  color: var(--blue-800);
  padding-bottom: 25px;
  padding-left: 8px;
  padding-right: 8px;
  font-weight: 700;
}

@media (max-width: 420px) {
  .digit-box {
    min-width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 10px;
  }

  .countdown-group {
    min-width: 64px;
  }

  .separator {
    font-size: 22px;
  }
}

/******************PLAY**********************************/

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

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

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

.roteator {
  display: inline-block;
  animation: roteator 1.5s linear infinite;
}

.btn-gioco {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.btn-continua {
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 50px;
  width: 222px;
}

.mb-n4 {
  margin-bottom: -3rem;
}

.stepIndicator {
  display: flex;
  width: 12px;
  height: 12px;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  border-radius: 32px;
  border: 2px solid #EEF3F7;
  background: #EEF3F7;
  margin: 2px;
}

.stepIndicator_wrong {
  background: #F03C3C;
}

.stepIndicator_right {
  background: #189B4D;
}

.number {
  font-size: 24px;
  margin-right: 4px;
}

.punteggio {
  margin-right: 12px;
}

.logo-mico img {
  width: 160px;
}



/******************LANDING******************/
.img-trash {
  position: absolute; 
  left:0; 
  right: 0; 
  bottom: -55px;
}

@media (min-width: 1400px) {
  .img-trash { 
  bottom: -60px;
  }
  .logo-mico img {
  width: 220px !important;
}
.trash-gioco img {
  width: 180px !important;
}
.mb-n4.mb-n4-desktop {
  margin-bottom: -2rem;
}

}
.sottotitoloLanding {
  font-family: "Life Sans Bold";
  color: var(--blue-800);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}
.landingBox {width: 100%; padding-bottom: 62%; position: relative;}
@media (min-width: 768px) {
  .landingBox {padding-bottom: 32%;}
  .logo-mico img {
    width: 240px !important;
  }
  header {
    height: auto;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  header .logo {
    height: 48px;
  }
  /* footer {
    padding-left: 32px !important;
    padding-right: 32px !important;
  } */
  .footer-main {
    padding-left: 32px !important;
    padding-right: 32px !important;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .Grid-Styled-main {
    grid-template-columns: repeat(6, minmax(10px, 1fr));
    gap: 0px 32px;
  }
  .logo-container {
    grid-column: 1 / span 6;
  }
  .footer-content {
    grid-column: 1 / span 6;
  }
  .footer-links {
  border-top: 1px solid rgb(200, 216, 229);
  padding-top: 16px;
  }
  .ft-rs {
    margin-bottom: 8px;
  }
  .links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
  }
  .bg-azure-2 {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 1024px) {
  .landingBox {padding-bottom: 22%;}

  .bg-coriandoli {
    background-size: contain !important;
    background-position: top center !important;
    background-repeat: repeat-x !important;
  }
  .mb-n4 {
    margin-bottom: -4rem;
  }
  .footer-main {
    padding-left: 32px !important;
    padding-right: 32px !important;
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .Grid-Styled-main {
    grid-template-columns: repeat(12, minmax(10px, 1fr));
    gap: 0px 32px;
  }
  .logo-container {
    grid-column: 1 / 4;
    margin-bottom: 0px;
  }
  .footer-content {
    border-left: 1px solid rgb(200, 216, 229);
    padding-left: 32px;
    grid-column: 4 / span 9;
  }
  .ft-rs {
    margin-bottom: 8px;
  }
}
@media (min-width: 1400px) {
.landingBox {padding-bottom: 20%;}
}

.landing-trash {max-width: 280px; width: 100%;}

.boxLanding {
  border-radius: 8px;
  background: rgba(11, 154, 236, 0.08);
  padding: 16px 8px;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
}

.radio-wrap {
  display: inline-flex;
  align-items: center;
  /* valign middle */
  cursor: pointer;
  margin: 6px 0;

}

.radio-wrap input {
  display: none;
  /* nascondi radio originale */
}

.custom-radio {
  width: 18px;
  height: 18px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--gray-800);
  border-radius: 50%;
  background: #fff;
  margin-right: 8px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
}

.custom-radio::after {
  content: "";
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background-color: var(--primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .3s ease-in-out;
}

.custom-radio:hover {
  border-color: var(--primary);
}

/* Stato checcato ✓ */
.radio-wrap input:checked+.custom-radio {
  border-color: var(--primary);
}

.radio-wrap input:checked+.custom-radio::after {
  content: "";
  width: 12px;
  height: 12px;
}

/******************REGISTRAZIONE***********************/

.form-control:focus {
  box-shadow: none;
  border: 1px solid var(--primary) !important;
}

.registrazione input[type="text"]:not(.is-invalid),
input[type="string"]:not(.is-invalid),
input[type="email"]:not(.is-invalid)  {
  border: 1px solid var(--gray-800);
}

.registrazione input[type="text"],
input[type="string"],
input[type="email"] {
  border-radius: 4px;
  padding: 14px 16px;
}

.registrazione .form-label {
  font-family: "Life Sans semibold";
  color: #272727;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 8px;
  margin-top: 16px;
}

/******************checkbox****************************/
.form-check {
  padding-left: 12px;
}

.check-wrap {
  display: inline-flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 16px;
  margin: 6px 0;
}

.check-wrap input {
  display: none;
  /* nasconde la checkbox originale */
}

.custom-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--gray-800);
  border-radius: 2px;
  background: #fff;
  /* margin-right: 8px; */
  box-sizing: border-box;
  position: relative;
  transition: all 0.2s ease;
}

.custom-check:hover {
 border-color: var(--primary);
}

/* SVG come spunta */
.custom-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;

  /* SVG bianco incorporato */
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'><polyline points='20 6 9 17 4 12'/></svg>");
}

/* Stato checked */
.check-wrap input:checked+.custom-check {
  background: #016ABD;
  border-color: #016ABD;
}

.check-wrap input:checked+.custom-check::after {
  opacity: 1;
}

/************************************************************/

.fs-12 {
  font-size: 12px;
}

.bg-coriandoli {
  background-image: url("../img/visual_home-jSSXcZW.png");
  background-size: contain;
  background-position: top center;
  background-repeat: repeat-x;
}



.h-all {
  min-height: 670px;
  height: 100vh;
}


.fz43 {
  font-size: 43px;
}

.light {
  font-weight: 400;
}

.vinto {
  background-image: linear-gradient(180deg, #0B9AEC 0%, #0B9AEC 53.85%, #016ABD 100%) !important;

  /* url("../img/coriandoli_traspa-nnch9G0.png"),  linear-gradient(180deg, #0B9AEC 0%, #0B9AEC 53.85%, #016ABD 100%)!important; */

  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

.coriandoli-top {
  background-image: url("../img/coriandoli_traspa_top-I4kbYP0.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}

.coriandoli-bottom {
  background-image: url("../img/coriandoli_traspa-nnch9G0.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
}



.coriandoli {
  background-image:
    url("../img/coriandoli_v2_traspa_bottom-tygDtXy.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
}


@media (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
  .coriandoli {
    background-repeat: repeat-x;
    background-size: 60% !important;
  }
}

@media (min-width: 768px) {
  .coriandoli {
    background-image:
      url("../img/coriandoli_traspa-nnch9G0.png");
    background-repeat: repeat-x;
    background-size: 20% !important;
    background-position: bottom center;
  }
}


.mb115 {
  margin-bottom: 115px;
}


.mb115 .img-fluid {max-width: 50% !important;}

.img-fluid-50 {max-width: 50%;}

.btn-primary {
  background-image: linear-gradient(180deg, #0B9AEC 0%, #0B9AEC 53.85%, #016ABD 100%) !important;
}

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

@media (min-width: 768px) {
  .overflowIMG {
    height: 150px;
    overflow: hidden;
    background-image: url("../img/visual_home-jSSXcZW.png");
    background-repeat: repeat-x;
    background-size: contain;
  }

  .overflowIMG>img {
    display: none;
  }

  /* .coriandoli {
    height: 100vh;
  } */
}

.fz20 {
  font-size: 20px;
}

/**********************CARICAMENTO**************************/
.progress-bar {}

.progress {
  z-index: 20 !important;
  border-radius: 32px;
  width: 260px;
  height: 30px;
  border: 3px solid #EEF3F7;
  background: #013A68;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25) inset, -8px 8px 4px 0 rgba(0, 0, 0, 0.25) inset;

}

.progress-bar-striped {
  background-image: linear-gradient(-45deg,
      #ffffff 25%,
      #0B9AEC 25%,
      #0B9AEC 50%,
      #ffffff 50%,
      #ffffff 75%,
      #0B9AEC 75%,
      #0B9AEC);
  background-size: 45px 45px;
}

.falling-container {
  position: absolute;
  top: 0px;
  /*-170px partono poco sopra lo schermo */
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  /* non interferiscono con click */
  z-index: 1;

}

.fall-item {
  position: absolute;
  width: 170px;
  height: 170px;
  /*background: red;   colore a scelta */
  /* border-radius: 50%;   puoi cambiare forma */
  animation: fall 6s linear infinite;
  opacity: 1;
  z-index: 1;
  margin-top: -170px;
}

/* Posizioni casuali orizzontali per gli 8 div */
.fall-item:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.fall-item:nth-child(2) {
  left: 25%;
  animation-delay: 0.8s;
  width: 150px;
  height: 150px;
}

.fall-item:nth-child(3) {
  left: 65%;
  animation-delay: 1.2s;
}

.fall-item:nth-child(4) {
  left: 40%;
  animation-delay: 1.9s;
  width: 170px;
  height: 150px;
}

.fall-item:nth-child(5) {
  left: 10%;
  animation-delay: 2.8s;
}

.fall-item:nth-child(6) {
  left: 20%;
  animation-delay: 3.5s;
  width: 150px;
  height: 170px;
}

.fall-item:nth-child(7) {
  left: 50%;
  animation-delay: 4s;
}

.fall-item:nth-child(8) {
  left: 15%;
  animation-delay: 5s;
  width: 190px;
  height: 190px;
}

/* Animazione caduta */
@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(120vh);
    /* cadono sotto la scrollbar */
    opacity: 1;
  }
}


.bidone {
  position: relative;
  z-index: 20;
}

/*************************registrazione**************************/

.fz16 {
  font-size: 16px;
}

/* Container della "tabella" */
.table-reg {
  width: 100%;
  border: 1px solid #333 !important;
  display: flex;
  flex-direction: column !important;
  overflow: hidden;
}

/* Riga (header + righe dati) */
.row-reg {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #333;
  padding: 0;
  /* padding si applica alle celle */
}

.row-reg.header-reg {
  font-family: "Life Sans Bold";
  background: #f4f4f4;
  font-weight: 700;
}

.row-reg.total-row-reg {
  font-family: "Life Sans Bold";
  background: #fafafa;
  font-weight: 700;
}

/* Celle */
.cell-reg {
  padding: 8px 10px;
  border-right: 1px solid #333;
  min-width: 0;
  /* importante per il wrapping */
  word-wrap: break-word;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
}

.cell-reg:last-child {
  border-right: none;
}

/* Larghezze predefinite - mobile-first:
     le celle si comportano come blocchi flessibili e si ridimensionano */
.cell-medium-reg {
  flex: 0 0 35%;
  max-width: 35%;
}

.cell-reg:nth-child(2) {
  /* colonna "Competizione" - centrale e flessibile */
  flex: 1 1 40%;
  max-width: 100%;
}

.cell-small-reg {
  flex: 0 0 12%;
  max-width: 12%;
  text-align: center;
}

/* Miglior leggibilità per testo molto lungo */
.cell-reg p {
  margin: 0;
  line-height: 1.2;
}

/* Breakpoint: tablet / desktop - disponi colonne come nella tabella originale */
@media (min-width: 700px) {
  .row-reg {
    flex-wrap: nowrap;
  }

  /* forzo percentuali più simili a una tabella classica su desktop */
  .cell-medium-reg {
    flex: 0 0 18%;
    max-width: 18%;
  }

  .cell-reg:nth-child(2) {
    flex: 1 1 44%;
    max-width: 44%;
  }

  .cell-small-reg {
    flex: 0 0 6%;
    max-width: 6%;
  }
}

/* Mobile very small: trasformo ogni riga in card verticale per leggibilità */
@media (max-width: 420px) {
  .row-reg {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #ccc;
  }

  .row-reg.header-reg {
    display: none;
    /* nascondo header quando le righe diventano card */
  }

  .cell-reg {
    border-right: none;
    border-bottom: 1px dashed #eee;
    padding: 10px;
  }

  .cell-reg:last-child {
    border-bottom: none;
  }

  .cell-medium-reg,
  .cell-small-reg {
    max-width: none;
    flex: 1 1 auto;
    text-align: left;
  }
}

/* Piccola animazione hover su desktop per evidenziare la riga */
@media (hover: hover) {
  .row-reg:not(.header-reg):hover {
    background: #f9f9f9;
  }
}

/**************************GIOCO*********************************/
.button-feedback-animation {
  position: relative;
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Immagine inizialmente nascosta (occupazione zero visiva) */
.wrong-img, .correct-img {
  display: block;
  width: 95px;               /* regola la dimensione */
  height: auto;
  margin: 0px auto 0;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center center;
  /* fallback per chi prefers-reduced-motion: transizione morbida */
  transition: opacity 160ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

/* Classe che mostra l'immagine e avvia l'animazione bounce */
.wrong-img.visible, .correct-img.visible {
  opacity: 1;
  pointer-events: auto;
  animation: bounce-scale 700ms cubic-bezier(.2,.8,.2,1);
  animation-fill-mode: both;
}

/* Keyframes: SOLO scale (nessun translate) */
@keyframes bounce-scale {
  0%   { transform: scale(0.85); }
  30%  { transform: scale(1.12); }
  55%  { transform: scale(0.95); }
  75%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.btn-image {
  opacity: 1;
  transition: opacity 160ms ease;
}
.wrong-img.visible ~ .btn-image, .correct-img.visible ~ .btn-image {
  opacity: 20%;
}

/**************************MODAL*********************************/

.modal-dialog>* {
  border-radius: 0px !important;
}

.modal-footer {
  display: none;
}

.modal-body {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: left !important;
}

.bootbox-body {
  text-align: left !important;
  font-weight: 400;
  font-size: 18px;
  color: #4D5357;
  line-height: 140%;
  letter-spacing: 0%;
}

.modal-header {
  padding-top: 32px !important;
   box-sizing: content-box !important;
   padding-right: 24px;
}

.btn-close {
  height: 48px;
  width: 48px;
  background-image: url("../img/cta-icon-I6K7R6z.png");
  background-size: cover !important;
  opacity: 1;
  padding: 0px !important;
  border-radius: 0px !important;
 
}

.btn-close:hover {
  opacity: 1;
}

.btn-close:focus {
  box-shadow: none !important;
}
