@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" !important;
}
.fw-semibold{
   font-family: "Life Sans semibold" !important;
}
.fw-bold {
  font-family: "Life Sans Bold" !important;
}
.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: #fff;
}

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

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

.dsktp-h{
  height: auto;
  
}

@media (min-width:768px) {
  .dsktp-h{
  height: 100vh;
}

}

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

.minh-home{
  min-height: calc(100vh - 200px);
}

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

.bg-lightblue{
  background-color: #F7FAFB;
}

.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: 1rem;
  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: #0B9AEC;
}

a.btn.a2a-cta-color-blue {
  font-family: "Life Sans semibold" ;
  color: #0B9AEC;
  stroke: rgb(255, 255, 255);
}

a.btn.a2a-cta-color-blue .icon-button {
  background-color: transparent;
  border: 1px solid #0B9AEC;
  color: #0B9AEC;
}

a.btn.a2a-cta-color-blue .icon-button svg,
a.btn.a2a-cta-color-blue .icon-button svg path {
  stroke: #0B9AEC !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: transparent;
  border: 1px solid rgb(255, 255, 255);
  order: -1;
  color: #0B9AEC;
}

.icon-button svg,
.icon-button svg path {
  stroke: rgb(255, 255, 255) !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-azure-icons {
  color: #009FDA;
}

.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: 64px 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;
}

@media  (max-width:767px) {
  footer .logo {
  width: 150px;
}

}

.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; */
  width: auto;
  height: 16px;
}
.footer-social li a svg path {
  transition: fill 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ft-rs {
  font-size: 1rem;
  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: 700;
  font-family: "Life Sans Bold";
  line-height: 1.2;
}

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

.links li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  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;
  padding-left: 16px;
  padding-right: 16px;
}

header.all-pages {
  
  min-height: 58px;
}

@media  (max-width: 767px) {

   header.all-pages {
  min-height: 58px;
  height: 58px;
}

  header.game {
  min-height: 12px;
  height: 12px;
}
}

header .logo {
  height: 35px;
  margin-top: 12px;
  margin-bottom: 12px;
}

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

.box-info{
  display: flex;
  padding: 16px 12px;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  background: #EEF3F7;
  color: #636B71;
  font-family: "Life Sans";
  font-size: 16px;
  line-height: 20.8px;
}

.box-info strong{
  font-family: "Life Sans Bold";
} 

.box-cta{
  padding: 10.5px 0;
  text-align: center;
  color: #0B9AEC;
  font-family: "Life Sans semibold";
  font-size: 16px;
  line-height: 120%;  
}

.box-cta a{
  text-decoration: none;
  color: #0B9AEC;
  display: inline-block;
}

.box-cta hr{
  margin-top: 2px;
  margin-bottom: 0;
  height: 2px;
  background-color: #0B9AEC;
  opacity: 1;
}

/*********************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: 20px;
  height: 24px;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;  
  background: url("../img/ico-trash_off-Rhc0r6p.png");
  background-repeat: no-repeat;
  margin: 2px;
  background-size: 100%;
  background-position: center;
}

.stepIndicator_wrong {
  background: url("../img/ico-trash_on-Hn5HmIp.png");
    background-size: 100%;
}

.stepIndicator_right {
  background: url("../img/ico-trash_on-Hn5HmIp.png");
    background-size: 100%;
}

.number {
  font-size: 1rem;
  color: #013A68;
  margin-right: 4px;
}

.punteggio {
  margin-right: 12px;
}

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

.mt-neg{
  margin-top: 0px;
}

@media (max-width:767px) {
  .mt-neg{
  margin-top: -30px;
}
}

.ico-domanda{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  outline: 4px solid #0B9AEC;
  background: #E5F2FA;
}

.domanda{
  padding-top: 16px;
  padding-bottom: 8px;
  color: #013A68;
  text-align: center;
  font-family: "Life Sans semibold";
  font-size: 22px;
  line-height: 120%; 
}

.card-btn{
  width: 100%;
  display: flex;
  min-height: 220px;
  padding-top: 16px;
  padding-left: 0;
  padding-right: 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #C9EAFF;
  background: #E9F7FF;
  box-shadow: 0 4px 0 0 rgba(1, 58, 104, 0.20);
  position: relative;
}

.card-btn-dida{
    display: flex;
padding: 12px 4px;
justify-content: center;
align-items: center;
gap: 8px;
align-self: stretch;
background: #FFF;
color: #013A68;
text-align: center;
font-family: "Life Sans Bold";
font-size: 14px;
line-height: 120%; 
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}

.back-quiz{
  font-family: "Life Sans semibold";
  position: absolute;
  top: 14px;
  left: 8px;
  color: #0B9AEC;
  font-size: 14px;
  line-height: 16px;
  padding: 0px 0 14px 14px;
}

.back-quiz a{
  color: #0B9AEC;
  text-decoration: none;
}

.back-quiz svg{
  width: var(--icon-size-xs, 16px);
height: 16px;
flex-shrink: 0;
aspect-ratio: 1/1;
margin-right: 14px;
}

.number-answers{
  
  background-repeat: no-repeat;
  min-height: 150px;
  margin: 32px 0 16px;
  padding-top: 42px;
  text-align: center;

}

.bkg-feedback-bad{
  background: url("../img/Icon-bad-KcyI6tf.png");
  background-repeat: no-repeat;
    background-position: center;
}

.bkg-feedback-middle{
  background: url("../img/Icon-middle-jaCPoxz.png");
  background-repeat: no-repeat;
    background-position: center;
}

.bkg-feedback-good{
  background: url("../img/Icon-top-0GwSkCl.png");
  background-repeat: no-repeat;
    background-position: center;
}

.number-answers .num{
  color: #013A68;
font-family: "Life Sans Bold";
font-size: 45px;
line-height: 45px; 
letter-spacing: -2px;
display: block;

}

.dida-num{
color: #636B71;
font-family: "Life Sans";
font-size: 13px;
display: block;
}

.feedback h2{
color: #013A68;
text-align: center;
font-family: "Life Sans semibold";
font-size: 32px;
line-height: 120%; 
}

.feedback p{
  color: #636B71;
  text-align: center;
  font-family: "Life Sans";
  font-size: 18px;
  line-height: 120%; 
  margin-bottom: 0;
}

p.blu{
  color: #013A68;
  text-align: center;
  font-family: "Life Sans Bold";
  font-size: 18px;
  line-height: 120%;
}

.banner{
  display: flex;
padding: 32px 0;
flex-direction: column;
align-items: center;
gap: 20px;
align-self: stretch;
border-radius: 8px;
background: rgba(255, 255, 255, 0.70);
}

@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 16px;
    }
}

.box-errori{
  display: flex;
  padding: 8px 12px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 8px;
  background: #EEF3F7;
  color: #636B71;
  font-family: "Life Sans";
  font-size: 16px;
  line-height:120%; 
}

.box-errori span{
  color: #F03C3C;
font-family: "Life Sans Bold";
font-size: 20px;
line-height: 24px;
}

.box-checkerrori{
  display: flex;
  width: 100%;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
  background: #FFF;
}

.box-checkerrori .check-domanda{
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  color: #013A68;
  font-family: "Life Sans Bold";
  font-size: 18px;
  line-height: 120%;
}

.box-checkerrori .check-domanda span{
  font-family: "Life Sans";
  font-size: 16px;
  line-height: 120%;
}

.tua-risposta{
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 4px;
background: #FFF5F5;
color: #636B71;
font-family: "Life Sans";
font-size: 16px;
line-height: 120%;
}

.tua-risposta label{
  color: #D82B2B;
font-family: "Life Sans semibold";
font-size: 14px;
line-height: 120%; 
}

.risposta-corretta{
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 4px;
  background: #F0F9F4;
  color: #636B71;
  font-family: "Life Sans";
  font-size: 16px;
  line-height: 140%; 
}

.risposta-corretta label{
  color: #038337;
  font-family: "Life Sans semibold";
  font-size: 14px;
  line-height: 120%; 
}

.risposta-corretta .tit{
  color: #013A68;
  font-family: "Life Sans Bold";
  font-size: 18px;
  line-height: 120%;
}


/****animazioni****/

/*animazione testi home*/

.word {
    opacity: 0;
    animation: fadeUp cubic-bezier(.22,1,.36,1) forwards;
}

.word:nth-child(1) { animation-delay: .3s; }
.word:nth-child(2) { animation-delay: .8s; }
@keyframes fadeUp {
    to {
        opacity: 1;
    }
}

@keyframes show {
    to {
        opacity: 1;
    }
    
}

.img-display {
  opacity: 0;
  animation: show 0s linear forwards;
  animation-delay: 1s;
}




.animation-delay-1{
  animation-delay: 1.8s !important;
}

.animation-delay-2{
  animation-delay: 2s !important;
}


/*animazione card errata*/
@keyframes shakeError {
  0% {
    transform: rotate(0deg);
    border: 1px solid #C9EAFF;
    background: #E9F7FF;
  }

  15% {
    transform: rotate(-6deg);
  }

  30% {
    transform: rotate(6deg);
  }

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

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

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

  90% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(0deg);
   border: 1px solid #D82B2B;
    background: #FFF5F5;
  }
}

.shake-error {
 border: 1px solid #C9EAFF;
    background: #E9F7FF;

  animation: shakeError 0.6s ease-in-out forwards;

  transform-origin: center;
  transition: background 0.3s, border-color 0.3s;
}

/*animazione card corretta*/
@keyframes colorRight {
   0% {
        transform: scale(1) translateY(0) rotate(0deg);

        border-color: #C9EAFF;
        background: #E9F7FF;
    }

    25% {
        transform: scale(1.05) translateY(-10px) rotate(-5deg);
    }

    50% {
        transform: scale(1.03) translateY(-5px) rotate(5deg);
    }

    100% {
        transform: scale(1) translateY(0) rotate(0deg);

        border-color: #038337;
        background: #F0F9F4;
    }
}

.color-correct {
  border: 1px solid #C9EAFF;
    background: #E9F7FF;

    animation: colorRight 0.6s ease-in-out forwards;

    transform-origin: center;
}


/* animazione box num errori*/
.animate-scale-fade {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleFadeIn .4s ease-out .2s forwards;
}

@keyframes scaleFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* animazione card pagina check errori*/

.animate-up-fade {
    opacity: 0;
    transform: translateY(30px);

    animation: upFadeIn .4s ease-out forwards;
}

@keyframes upFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* delay sequenziali */
.animate-up-fade:nth-child(1) { animation-delay: .6s; }
.animate-up-fade:nth-child(2) { animation-delay: .8s; }
.animate-up-fade:nth-child(3) { animation-delay: .9s; }
.animate-up-fade:nth-child(4) { animation-delay: 1s; }
.animate-up-fade:nth-child(5) { animation-delay: 1.1s; }
.animate-up-fade:nth-child(6) { animation-delay: 1.2s; }
.animate-up-fade:nth-child(7) { animation-delay: 1.3s; }
.animate-up-fade:nth-child(8) { animation-delay: 1.4s; }



@keyframes upFadeInCta {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up-fade-cta {
    opacity: 0;
    transform: translateY(20px);

    animation: upFadeInCta .4s ease-out forwards;
     animation-delay: 1.3s;
}


/* animazione circle */
.progress-circle {
    position: relative;
    width: 170px;
    height: 170px;
}

.progress-circle svg {
    width: 170px;
    height: 170px;

    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 14;
    stroke-linecap: round;
}

/* sfondo */
.circle-bg {
    stroke: #fff;
}

/* progresso */
.circle-progress {
    stroke-dasharray: 427;
    stroke-dashoffset: 427;
    transition: stroke-dashoffset 1.2s ease;
}

.circle-progress.low {
    stroke: #F03C3C; /* rosso */
}

.circle-progress.medium {
    stroke: #0B9AEC; /* blu */
}

.circle-progress.high {
    stroke: #189B4D; /* verde */
}

.progress-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.score {
    
    color: #013A68;
font-family: "Life Sans Bold";
font-size: 45px;
line-height: 1; 
letter-spacing: -2px;
}

.label {
    margin-top: 4px;
    font-size: 13px;
    color: #636B71;
  font-family: "Life Sans";
  line-height: 1;
}





/*animazione fade*/

.animate-fade {
    opacity: 0;

    animation: fadeIn .4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* delay sequenziali */
.animate-fade:nth-child(1) { animation-delay: .6s; }
.animate-fade:nth-child(2) { animation-delay: .8s; }
.animate-fade:nth-child(3) { animation-delay: .9s; }
.animate-fade:nth-child(4) { animation-delay: 1s; }
.animate-fade:nth-child(5) { animation-delay: 1.1s; }
.animate-fade:nth-child(6) { animation-delay: 1.2s; }
.animate-fade:nth-child(7) { animation-delay: 1.3s; }
.animate-fade:nth-child(8) { animation-delay: 1.4s; }




@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.all-pages {
    height: auto;
    min-height: auto;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  header.game{
    min-height: 24px !important;
    height: 24px !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;
  }
  .minh-home {
   min-height: calc(50vh - 100px); 
}
  .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;
}
/* animazione icona */
@keyframes iconPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.15) rotate(8deg);
    }

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

.wrong-img,
.correct-img {
    display: block;
    width: 32px;
    height: auto;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;

    position: absolute;
    top: -16px;
    right: -16px;

    transform: scale(0.3);
}

/* parte DOPO l'animazione precedente */
.wrong-img.visible,
.correct-img.visible {
    pointer-events: auto;

    animation: iconPop 0.35s ease-out forwards;
    animation-delay: 0.6s; /* uguale o leggermente superiore alla durata della prima */
}

/* 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;
}
