/*
  font-family: 'Anton', sans-serif;
  font-family: 'Rethink Sans', sans-serif;
*/



:root {
  --maxwidth: 1000px;
  --maxwidthmobile: 2000px;
  --centercolwidth: 82%;
  --maxwidthmenu: 1100px;
  --widthworkscol: 80%;
  --insideperc: 76%;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #FAF3DF;
  image-rendering: auto;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Poppins';
  font-size: 1rem;
}

/* Scrollbar Styles */
body::-webkit-scrollbar {
  width: 1rem;
  background-color: #36393C;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
}

body::-webkit-scrollbar-thumb {
  background-color: #FFFFFF;
  border-radius: 0.5rem;
}

/* Anchor Link Styles */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.nomobile {
  visibility: visible;
}

.nodesktop {
  visibility: hidden;
  display: none;
}

/* Containers */
.contsection {
  position: relative;
  width: 100%;
  height: auto;
}
.bgsx{
  position: absolute;
  left: 0;
  top: 0;
  width: 18%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}
.bgdx{
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
}
.diecisonsiglibgsx{
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 115%;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}
.diecisonsiglibgdx{
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 115%;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
}
.patentinobgsx{
  position: absolute;
  left: 0;
  top: 0;
  width: 15%;
  height: 115%;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
}
.patentinobgdx{
  position: absolute;
  right: 0;
  top: -3%;
  width: 50%;
  height: 115%;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
}
.homepage{
  position: relative;
}
.dieciconsigli{
  position: relative;
}
.patentino{
  position: relative;
}
.conthome {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.twocol {
  position: relative;
  width: 76%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 3rem;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: var(--maxwidth);
  padding: 0 2rem;
}
.colquiz {
  position: relative;
  width: 76%;
  height: 65vh;
  min-height: 70vh;
  grid-column-gap: 3rem;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: var(--maxwidth);
  padding: 0 2rem;
  background-color: #4CC1F0;
  margin-top: 2rem;
  border-radius: 25px;
  border: 12px solid white;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.123);
}
.astro{
  position: absolute;
  right: -2%;
  bottom: -10%;
  width: 18%;
  height: 50%;
  background-image: url('images/astro.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  animation: floatVert 2s ease-in-out infinite alternate;
}
  
  /* Definizione dei keyframes per l’effetto */
  @keyframes floatVert {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-15px);
    }
  }
.grid-pattern {
  position: absolute;
  left: 0;
  top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    
    /* linee verticali e orizzontali bianche al 15% */
    background-image:
      repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px,
        transparent 20px
      ),
      repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px,
        transparent 20px
      );
    background-size: 20px 20px;
    background-repeat: repeat;
  }
.twocol_70_30 {
  position: relative;
  width: 76%;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  grid-column-gap: 1rem;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: var(--maxwidth);
  padding: 0 2rem;
}
.colsx {
  position: relative;
}
.coldx {
  position: relative;
}

.twocol_text {
  font-weight: 500;
  font-size: 1rem;
  line-height: 180%;
}
.twocol_text h1{
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3.5rem;
  /* font-size: clamp(2rem, 4vw, 4rem); */
  color: #4CC1F0;
  margin: 0;
  line-height: 90%;
}
.twocol_text h1 img{
  width: 10%;
}

.twocol_text h2{
  font-weight: 600;
  font-size: 1.5rem;
  font-size: clamp(1rem, 1.4vw, 2rem);
}
.twocol_text h3{
  font-weight: 800;
  font-size: 1.5rem;
  font-size: clamp(1rem, 1.3vw, 2rem);
  color: #4CC1F0;
}
#twocoltopolino strong{
  color: black;
}
.twocol_text h3 strong{
  color: #E9527E;
}
.twocol_text strong {
  font-weight: 700;
  display: inline;
  color: #E9527E;
}
.twocol_text span {
  font-weight: 600;
  display: inline;
  background: #E9527E;
  color: #fff;
  /* box-shadow: .2em 0 0 #F9DA6D, -.2em 0 0 #F9DA6D; */
  padding: 0.1em 0.4em;
  /* opacity: 0; */
}

.twocol_imgbg{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/topolinohome.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}
.twocol img{
  width: 100%;
}
.twocol_70_30 img{
  width: 100%;
}
/* Spacer */
.spacer {
  position: relative;
  width: 100%;
  height: 20vh;
  box-sizing: border-box;
}

.iconhome {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/iconhome.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.logohome {
  position: relative;
  width: 80%;
  height: 25vh;
  margin: 0 auto;
  padding-top: 40vh;
  margin-bottom: 2vh;
  background-image: url('images/logo.png');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 1000px;
}

.comicshome {
  position: relative;
  left: -2%;
  width: 60%;
  height: auto;
  margin: 0 auto;
  max-width: 800px;
}

.comicshome img {
  width: 100%;
  display: block; /* Removes unwanted space under the SVG */
  box-sizing: border-box;
}

.container {
  position: relative;
  height: auto;
}

.contintroduzione {
  position: relative;
  left: 0%;
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-width: 1500px;
  box-sizing: border-box;
}

.contintroduzione img {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.contintroduzione div:last-child {
  z-index: 1; /* Lower z-index */
}

.contintroduzione div:first-child {
  z-index: 2; /* Higher z-index for overlapping */
}

/* Home Icons */
.homeicons1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 20%;
  height: 100vh;
  background-image: url('images/homeicons1.png');
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

.homeicons2 {
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 100%;
  background-image: url('images/homeicons2.png');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Brain Walking */
.brainwalking_inside {
  width: 105%;
  height: 100%;
  background-image: url('images/brainwalking.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Testo Introduzione */
.testointroduzione {
  position: relative;
  left: -5%;
  top: 0;
  border-radius: 30px;
  background-color: #F9E6D1;
  border: 9px solid #FFC003;
  box-sizing: border-box;
  max-width: 500px;
}

.testointroduzione svg {
  width: 100%;
  padding: 1em 2em 0 2em; /* Padding on left/right */
  display: block;
  box-sizing: border-box;
}

.testointroduzione_inside {
  padding: 1em 2em 2em 2em;
  display: block;
  box-sizing: border-box;
  font-family: 'ComicMode', sans-serif;
  font-weight: 600;
  font-size: 1.3em;
}

.benvenuti {
  margin-top: -8%;
}

/* Top and Bottom Bars */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  display: flex;
  z-index: 999999999;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px;
  display: flex;
}

.col-1 {
  width: 25%;
  background-color: #E9527E;
}
.col-2 {
  width: 25%;
  background-color: #F7EA5D;
}
.col-3 {
  width: 25%;
  display: flex;
  background-color: #4CC1F0;
}
.col-4 {
  width: 25%;
  display: flex;
  background-color: #A2C117;
}



.hashtag {
  font-size: 1.3rem;
  font-weight: 600;
}

.cardpercent {
  font-size: 6vw;
  font-weight: 700;
  color: #0080D1;
  font-family: "Rubik", serif;
  letter-spacing: -5%;
}

.cardpercentlast {
  font-size: 0.5em; /* Reduce only the last digit */
}

.cardpercent::after {
  content: attr(data-last); /* Takes the last character from an attribute */
  font-size: 4vw;
  position: absolute;
  right: 0;
}

.cardicon {
  position: absolute;
  left: 0;
  top: 5%;
  width: 100%;
  height: 18%;
}

.cardicon img {
  height: 100%;
}

/* Elettrico Section */
.contelettrico {
  position: relative;
  width: 87%;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1300px;
}

.contelettrico img {
  width: 100%;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
}

/* Base Mezzi */
.basemezzi {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1300px;
  background-color: #FB9C4A;
  height: auto;
  background-image: url('images/basemezzi.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-repeat: repeat-y;
}

.basemezzi_inside {
  position: relative;
  left: 2%;
  width: 96%;
  height: 100%;
  background-color: #FFF7E7;
  border: 5px solid #52290B;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  padding: 2em 0;
}

.basemezzi_slidescontainer {
  position: relative;
  left: 0%;
  width: 600%;
  height: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.slide {
  width: 78%;
  margin-left: 10%;
  display: grid;
  justify-items: center; /* Center horizontally */
  align-items: center;   /* Center vertically */
  grid-template-columns: 0.7fr 1fr;
  grid-column-gap: 2em;
  padding: 1em;
}

.slideimg {
  font-family: 'ComicMode', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 22px);
}

.slidetit {
  font-family: 'ComicMode', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 5.2vw, 90px);
  margin-bottom: 0.2em;
  line-height: 90%;
}

.arrowleft {
  position: absolute;
  left: 1%;
  top: 0;
  width: 6%;
  height: 100%;
  background-image: url('images/arrowleft.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

.arrowright {
  position: absolute;
  right: 1%;
  top: 0;
  width: 6%;
  height: 100%;
  background-image: url('images/arrowright.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

/* Myths Section */
.contmyths {
  position: relative;
  width: 87%;
  height: auto;
  box-sizing: border-box;
  padding: 1vh 4vh;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: 1300px;
  background-color: #265FCC;
  border-radius: 20px;
  margin-top: 1em;
  border: 4px solid white;
  box-shadow: inset 0 0 30px #4CC9F0;
}

.myth {
  width: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
  grid-template-columns: 0.4fr 1.6fr;
  grid-column-gap: 0;
  padding: 1.5em 1em;
  background-color: #0287DB;
  box-sizing: border-box;
  border-radius: 20px;
  border: 4px solid white;
  box-shadow: inset 0 0 30px #4CC9F0;
  margin: 1vh 0;
  background-image: url('images/squaresgrid.png');
  background-position: center center;
}

.mythimg {
  font-family: 'ComicMode', sans-serif;
  font-weight: 500;
  font-size: 1.7vw;
}

.mythtxt {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 2em;
}

.mythimg img {
  width: 80%;
}

.mythtit {
  font-family: "VT323", serif;
  font-weight: 500;
  color: #FFCC2D;
  font-size: 3vw;
  margin-bottom: 0;
  line-height: 90%;
  letter-spacing: -2%;
}

.mythsub {
  font-family: "Rubik", serif;
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 22px);
  margin-bottom: 0.2em;
}

.mythdesc {
  font-family: "Rubik", serif;
  color: #ffffff;
  font-weight: 400;
  font-size: clamp(12px, 1.2vw, 16px);
  margin-bottom: 0.2em;
}



/* Moving Car */
.movingcar {
  position: fixed;
  bottom: 18px;
  right: 0;
  width: 18%;
  height: 25%;
  transition: left 0s linear;
  background-image: url('images/movingcar.png');
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Charging Station */
.chargingstation {
  position: fixed;
  bottom: 18px;
  right: 0;
  width: 18%;
  height: 25%;
  transition: opacity 0.2s ease-out;
  background-image: url('images/chargingstation.png');
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Quiz Grid */
.contquizgrid {
  position: relative;
  width: 87%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-column-gap: 0.5em;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: 1300px;
  margin-top: 4vh;
}

/* Quiz Column SX */
.quizcolsx {
  position: relative;
  background-color: #FFF7E7;
  border: 5px solid #52290B;
  border-radius: 15px;
  text-align: center;
  padding-bottom: 2em;
  box-shadow: 0px 6px 0px #0000001F;
}

.quizcolsx img {
  margin-top: -5%;
  width: 80%;
}

/* Quiz Container */
.contquiz {
  position: relative;
  background-color: #FFF7E7;
  border: 5px solid #52290B;
  border-radius: 15px;
  padding: 1.5em;
  box-shadow: 0px 6px 0px #0000001F;
  overflow: hidden;
}

.contquiz_inside {
  position: relative;
  background-color: #F9EFDC;
  border-radius: 15px 15px 0 0;
  padding: 2em;
  overflow: hidden;
}

.contquiz_inside h1 {
  font-family: "VT323", serif;
  font-weight: 600;
  color: #265FCC;
  font-size: clamp(14px, 2.5vw, 40px);
  letter-spacing: -2%;
  padding-bottom: 0.3em;
  margin: 0;
}

.contquiz_inside h1 strong {
  color: #FF7575;
  font-weight: 600;
}

.contquiz_inside span {
  font-family: 'ComicMode', sans-serif;
  font-weight: 450;
  font-size: clamp(14px, 1.1vw, 19px);
  padding-bottom: 0.4em;
  margin: 0;
  line-height: 125%;
}

/* Quiz Display */
.contquiz_display {
  position: relative;
  background-color: #93D4EE;
  border-radius: 15px;
  padding: 1em 1.5em;
  margin-top: -0.5em;
  border: 5px solid #52290B;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0px 0px 46px #4CC9F0, 0px 6px 0px #0000001F;
  overflow: hidden;
}

.contquiz_display_shiny {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 20%;
  height: 3%;
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  grid-column-gap: 0.5em;
  box-sizing: border-box;
  row-gap: 1.5em;
  border-radius: 15px;
}

.contquiz_display_shiny div {
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 15px;
}

.contquiz_display_battery {
  position: absolute;
  top: 4%;
  left: 3%;
  width: 20%;
  height: 6%;
  background-image: url('images/batterydisplay.png');
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}

.l1 {
  position: absolute;
  top: 0;
  left: 4%;
  width: 38%;
  height: 3%;
  margin-top: calc(-3% - 4px);
  /* UI Properties */
  background: #FF7575 0% 0% no-repeat padding-box;
  border-radius: 10px 10px 0 0;
  opacity: 1;
}

.r1 {
  position: absolute;
  top: 0;
  right: 4%;
  width: 38%;
  height: 3%;
  margin-top: calc(-3% - 4px);
  /* UI Properties */
  background: #FF7575 0% 0% no-repeat padding-box;
  border-radius: 10px 10px 0 0;
  opacity: 1;
}

.anim {
  opacity: 0;
  transform: translateY(40px) scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Classe aggiunta quando l'elemento è visibile */
.anim.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cards Grid */
.contelettrikit_cards {
  position: relative;
  width: 87%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 0.5em;
  box-sizing: border-box;
  padding: 2vh 2vh;
  row-gap: 1.5em;
  margin: 0 auto;
  max-width: 1300px;
  
  /* UI Properties */
  background: #265FCC 0% 0% no-repeat padding-box;
  box-shadow: inset 0px 0px 26px #4CC9F0D0;
  border: 3px solid #FFFFFF;
  border-radius: 20px;
  opacity: 1;
  
  margin-top: 2vh;
}

.kit {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.kit:hover {
  transform: scale(0.9);
}

.card {
  position: relative;
}

.kit img {
  width: 100%;
  display: block;
}

.contiktok100 {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  padding: 2vh 0 10vh 0;
  /* UI Properties */
  opacity: 1;
  
  /* margin-top: 2vh; */
}

.contiktok {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  /* max-width: 1300px; */
  
  /* background: #ffffff 0% 0% no-repeat padding-box; */
  /* border: 7px solid #FFFFFF; */
  /* border-radius: 30px; */
  opacity: 1;
  
  margin-top: 2vh;
}

.contiktok_inside {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 0.5em;
  box-sizing: border-box;
  row-gap: 1.5em;
  margin: 0 auto;
  padding: 2em 2em;
}

.contiktok_banner {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  
  /* UI Properties */
  /* background: #0000000A 0% 0% no-repeat padding-box; */
  /* border-radius: 30px 30px 0 0; */
  opacity: 1;
  padding-bottom: 2%;
  text-align: center;
}

.contiktok_banner img {
  width: 28%;
  margin-top: 2%;
  padding-left: 3em;
}

.tiktok {
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.088);
  box-sizing: border-box;
  
}

.tiktok-embed {
  width: 100%;
}

.tiktok:hover {
  transform: scale(0.9);
}

.tiktok img {
  width: 100%;
  display: block;
}

/* Footer */
.footer {
  position: absolute;
  width: 100%;
  background-color: #2B2B2B;
  padding: 2em 0 36px 0;
  font-weight: 400;
  color: #4f4f4f;
  font-size: clamp(14px, 1vw, 40px);
  text-align: center;
  background: #ffffff 0% 0% no-repeat padding-box;
  opacity: 1;
}

.footer a {
  color: #333;
  font-weight: 500;
}

.conticonssx {
  position: absolute;
  left: 0;
  top: 0;
  width: 10%;
  height: 100%;
}

.conticonssx img {
  width: 100%;
}

.conticonsdx img {
  width: 100%;
}

.conticonsdx {
  position: absolute;
  right: 0;
  top: 0;
  width: 10%;
  height: 100%;
}

.iconsx1 {
  position: absolute;
  left: 0;
  top: 20%;
  width: 100%;
  height: auto;
}

.iconsx2 {
  position: absolute;
  left: 0;
  top: 38%;
  width: 100%;
  height: auto;
}

.iconsx3 {
  position: absolute;
  left: 0;
  top: 60%;
  width: 70%;
  height: auto;
}

.iconsx4 {
  position: absolute;
  left: 0;
  top: 90%;
  width: 100%;
  height: auto;
}

.icondx1 {
  position: absolute;
  right: 0;
  top: 25%;
  width: 100%;
  height: auto;
}

.icondx2 {
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: auto;
}

.icondx3 {
  position: absolute;
  right: 0;
  top: 75%;
  width: 100%;
  height: auto;
}

.coverall {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.40);
}

.contdescdiplomioverlay {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 25%;
  height: auto;
  background-color: #FFFFFF;
  
  font-family: "Rubik", serif;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 500;
  color: #464646;
  padding: 3em;
  border-radius: 20px;
  line-height: 150%;
  
  transform: translate(-50%, -50%);
  
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.titolodipdesc {
  font-size: 1.3em;
}

.closepink {
  position: absolute;
  right: 14px;
  top: 15px;
  width: 8%;
  height: 10%;
  background-image: url('images/closepink.png');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

/* Titoli e Text */
/* Titoli e Text */
/* Titoli e Text */
/* Titoli e Text */
/* Titoli e Text */

/* Base Menu */
.contbasemenu {
  position: fixed;
  left: 50%;
  top: 4%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-sizing: border-box;
  transform: translate(-50%, 0);
  z-index: 999999999;
}

.logomotus {
  position: relative;
  background-color: #223BF0;
  width: 10vw;
  height: 100%;
  display: block;
  border-radius: 10px 0 0 10px;
  box-sizing: border-box;
}

.logomotus img {
  width: 100%;
}

.basemenu {
  height: auto;
  padding: 0.5em 2em;
  background-color: #ffffff;
  opacity: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-sizing: border-box;
  box-shadow: 0px 5px 50px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.basemenu img {
  height: 50px;
  margin: 0.5em 2em 0.5em 1em;
}

.vocemenu {
  font-size: clamp(14px, 1.2vw, 24px);
  padding: 0 1.4em;
  color: #191919;
  opacity: 1;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s ease-out;
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.1vw;
  border-right: 1px solid #C4C4C2;
}

.basemenu .vocemenu:last-child {
  border-right: none;
}

.vocemenu:hover {
  opacity: 0.8;
}

/* Cookie Overlay */
.btncookie {
  width: 100%;
  background-color: #FEDF00;
  display: inline-block;
  padding: 0.5em 0;
  border-radius: 5px;
  color: #000569;
  font-weight: 700;
  text-align: center;
  box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.18);
  margin-top: 0.5em;
  cursor: pointer;
  border: 1px solid rgba(40, 40, 40, 0.148);
}

.cookieoverlay {
  position: fixed;
  width: 11%;
  height: auto;
  left: 1%;
  bottom: 2%;
  background-color: rgba(235, 235, 235, 0.98);
  font-size: clamp(11px, 0.6vw, 12px);
  font-weight: 500;
  line-height: 120%;
  color: #222;
  padding: 1em 0.8em;
  border-radius: 10px;
  box-shadow: -1px 10px 26px 2px rgba(0, 0, 0, 0.45);
  border: 3px solid #fff;
  overflow: hidden;
  text-align: center;
  min-width: 115px;
  max-width: 150px;
  z-index: 999999999;
}

.cookies {
  padding: 3em 0;
  font-weight: 400;
  font-size: 0.8em;
  line-height: 130%;
}

.cookies a {
  color: #FEDF00;
  text-decoration: none;
}

.cookies a:hover {
  color: #B19FDA;
  text-decoration: none;
}

.btnhiddenskuola {
  position: absolute;
  width: 100%;
  height: 20%;
}
.intromezzi {
  position: relative;
  width: 100%;
  height: auto;
  left: 0%;
  font-family: "Rubik", serif;
  font-size: clamp(11px, 1.4vw, 22px);
  font-weight: 600;
  color: #111;
  padding: 0.5em 10% 3em 10%;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
  column-count: 2;
  column-fill: balance; /* Distribuisce il contenuto equamente tra le colonne */
  break-inside: avoid-column;
  column-gap: 2%;
  line-height: 150%;
  border-bottom: 4px solid #52290B;
  margin-bottom: 2em;
  box-shadow: 0px 6px 0px #0000001F;
}


.card-regole-container{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 4%;
}
.card-regole {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 0.5rem;
  row-gap: 0.8rem;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.card {
  border-radius: 16px;
  padding: 3rem 1rem 0.5rem 1rem;
  color: #fff;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  border: 4px solid white;
}
.card img{
  width: 50%;
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: auto;
  font-size: 0.8rem;
  line-height: 1.4;
}

.number {
  position: absolute;
  top: 0rem;
  left: 1rem;
  font-size: 4rem;
  font-weight: bold;
  color: #FAF3DF;
}

/* Colori */
.pink {
  background-color: #dd5e87;
}

.yellow {
  background-color: #efc042;
  color: #3d3d3d;
}

.green {
  background-color: #85bc41;
}

.blue {
  background-color: #66c2e9;
  color: #3d3d3d;
}


.scopri {
  font-family: 'Rethink Sans', sans-serif;
  font-size: clamp(16px, 1.3vw, 20px);
  background-color: #E9527E;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
  padding: 1em 0;
  margin: 2em auto 0;
  width: 76%;
  border: 5px solid #fff;
  max-width: var(--maxwidth);
  /* TRANSIZIONI: background-color e transform */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scopri:hover {
  background-color: #da3e6c;
}

/* Se invece non ti serve nessun transform, puoi semplicemente togliere la parte transform: */
.scopri {
  transition: background-color 0.3s ease;
}
@media (max-width: 1000px) {
  :root {
	--maxwidth: 1400px;
	--maxwidthmobile: 2000px;
	--centercolwidth: 82%;
	--maxwidthmenu: 1100px;
	--widthworkscol: 80%;
	--insideperc: 85%;
  }


  .twocol {
	position: relative;
	width: 88%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: 0rem;
	box-sizing: border-box;
	row-gap: 0em;
	margin: 0 auto;
	max-width: var(--maxwidth);
	padding: 0 0rem;
  }
  .twocol_70_30 {
	  position: relative;
	  width: 88%;
	  display: grid;
	  grid-template-columns: repeat(1, 1fr);
	  grid-column-gap: 0rem;
	  box-sizing: border-box;
	  row-gap: 0em;
	  margin: 0 auto;
	  max-width: var(--maxwidth);
	  padding: 0 0rem;
	}
  .twocol_text {
	font-weight: 500;
	font-size: 3em;
	line-height: 180%;
  }
  .twocol_text h1{
	text-transform: uppercase;
	font-weight: 800;
	font-size: 8rem;
	color: #4CC1F0;
	margin: 0 0 0.3em 0;
	line-height: 90%;
  }
  .twocol_text h1 img{
	width: 10%;
  }
  
  .twocol_text h2{
	font-weight: 600;
	font-size: 1.2em;
	margin: 0 0 0.4em 0;
  }
  .twocol_text h3{
	font-weight: 800;
	font-size: 1.2em;
	color: #4CC1F0;
	margin-bottom: 0.5em;
  }
  #twocoltopolino strong{
	color: black;
  }
  .twocol_text h3 strong{
	color: #E9527E;
  }
  .twocol_text strong {
	font-weight: 700;
	display: inline;
	color: #E9527E;
  }
  .twocol_text span {
	font-weight: 600;
	display: inline;
	background: #E9527E;
	color: #fff;
	/* box-shadow: .2em 0 0 #F9DA6D, -.2em 0 0 #F9DA6D; */
	padding: 0.1em 0.4em;
	/* opacity: 0; */
  }
  .card-regole-container{
	position: relative;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	margin-top: 4%;
	padding: 0 2%;
	margin-bottom: 10%;
  }
  .card-regole {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0.5rem;
	row-gap: 3rem;
	box-sizing: border-box;
  }
  
  .card {
	border-radius: 50px;
	padding: 20% 10% 20% 10%;
	color: #fff;
	position: relative;
	box-sizing: border-box;
	text-align: center;
	border: 10px solid white;
  }
  .card img{
	width: 50%;
  }
  
  .card h3 {
	margin-top: 1rem;
	font-size: 5em;
	line-height: 125%;
	margin-top: 2em;
  }
  
  .card p {
	margin-top: auto;
	font-size: 3em;
	line-height: 1.4;
	margin-top: 2em;
  }
  .number {
	position: absolute;
	top: 0rem;
	left: 8%;
	font-size: 15em;
	font-weight: bold;
	color: rgba(250, 243, 223, 0.432);
  }
  
  .astro{
	position: absolute;
	right: -2%;
	bottom: -10%;
	width: 30%;
	height: 50%;
	background-image: url('images/astro.png');
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
	animation: floatVert 3s ease-in-out infinite alternate;
  }
  
  .colquiz {
	position: relative;
	width: 92%;
	height: 80vh;
	min-height: 80vh;
	grid-column-gap: 3rem;
	box-sizing: border-box;
	row-gap: 1.5em;
	margin: 0 auto;
	max-width: var(--maxwidth);
	padding: 0 2rem;
	background-color: #4CC1F0;
	margin-top: 2rem;
	border-radius: 25px;
	border: 12px solid white;
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.123);
	font-size: 2em;
	padding: 1em 1em;
  }
  .scopri {
	font-family: 'Rethink Sans', sans-serif;
	font-size: 3em;
	background-color: #E9527E;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	border-radius: 25px;
	padding: 1em 0;
	margin: 2em auto 0;
	width: 96%;
	border: 5px solid #fff;
	max-width: var(--maxwidth);
	/* TRANSIZIONI: background-color e transform */
	transition: background-color 0.3s ease, transform 0.2s ease;
	margin-bottom: 2em;
  }
























  .maincol {
	position: relative;
	width: 85%;
	height: auto;
	margin: 0 auto;
	max-width: 1060px;
	/* border: 1px solid rgb(138, 84, 84); */
  }

  .nodesktop {
	visibility: visible;
	display: block;
  }

  .nomobile {
	visibility: hidden;
	display: none;
  }

  .anim {
	opacity: 0;
	transform: translateY(0) scale(1);
	transition: opacity 0.5s ease, transform 0.5s ease;
  }

  /* Classe aggiunta quando l'elemento è visibile */
  .anim.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
  }

  .aprimenu {
	position: fixed;
	left: 50%;
	top: 0;
	width: 15vh;
	height: 90px;
	padding: 0.6em 0.5em;
	border-radius: 0 0 15px 15px;
	background-color: #E9527E;
	opacity: 1;
	background-image: url('images/menuiconmobile.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 24%;
	-ms-transform: translate(-50%, 0%);
	transform: translate(-50%, 0%);
	display: inline-block;
	align-items: center;
	cursor: pointer;
	z-index: 9999999999999;
  }

  .btncookie {
	width: 100%;
	background-color: #FEDF00;
	display: inline-block;
	padding: 0.5em 0;
	border-radius: 5px;
	color: #000569;
	font-weight: 700;
	text-align: center;
	box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.18);
	-webkit-box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.18);
	-moz-box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.18);
	margin-top: 0.5em;
	cursor: pointer;
	border: 1px solid rgba(40, 40, 40, 0.148);
  }

  .cookieoverlay {
	position: fixed;
	width: 90%;
	height: auto;
	left: 5%;
	bottom: 2%;
	background-color: rgba(235, 235, 235, 0.98);
	font-family: 'Rethink Sans', sans-serif;
	font-size: 2em;
	font-weight: 600;
	line-height: 120%;
	color: #222;
	padding: 1em 0.8em;
	border-radius: 10px;
	box-shadow: -1px 10px 26px 2px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow: -1px 10px 26px 2px rgba(0, 0, 0, 0.45);
	-moz-box-shadow: -1px 10px 26px 2px rgba(0, 0, 0, 0.45);
	border: 3px solid #fff;
	overflow: hidden;
	text-align: center;
	min-width: 115px;
	max-width: 12000px;
	box-sizing: border-box;
  }

  .cookies {
	padding: 3em 0;
	font-weight: 400;
	font-size: 0.8em;
	line-height: 130%;
  }

  .cookies a {
	color: #FEDF00;
	text-decoration: none;
  }

  .cookies a:hover {
	color: #B19FDA;
	text-decoration: none;
  }

  .logohome {
	position: relative;
	width: 96%;
	height: 30vh;
	margin: 0 auto;
	padding-top: 15vh;
	margin-bottom: 2vh;
	background-image: url('images/logo_mobile.png');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	max-width: 10000px;
  }

  .comicshome {
	position: relative;
	left: -2%;
	width: 100%;
	height: auto;
	margin: 0 auto;
	max-width: 800px;
  }

  .cardcenter {
	height: auto;
	text-align: center;
	font-family: 'ComicMode', sans-serif;
	font-weight: 500;
	font-size: 1.5em;
	padding: 2em 2.5em;
	margin-top: -1px;
	background-image: url('images/cardcenter.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	background-repeat: repeat-y;
  }

  .arrowleft {
	position: absolute;
	left: 1%;
	top: 0;
	width: 12%;
	height: 50%;
	background-image: url('images/arrowleft.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
  }

  .arrowright {
	position: absolute;
	right: 1%;
	top: 0;
	width: 12%;
	height: 50%;
	background-image: url('images/arrowright.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
  }

  .cardtext {
	font-size: 2em;
  }

  .slidetext {
	font-size: 3em;
  }

  .slideimg {
	font-family: 'ComicMode', sans-serif;
	font-weight: 500;
  }

  .comicshome img {
	width: 100%;
	display: block; /* Removes unwanted space under the SVG */
	box-sizing: border-box;
  }

  .contcards_grid {
	position: relative;
	width: 90%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: 0em;
	box-sizing: border-box;
	padding: 5vh 0 0 0;
	row-gap: 1.5em;
	margin: 0 auto;
	max-width: 13000px;
  }

  .hashtag {
	font-size: 2em;
	font-weight: 600;
  }

  .cardpercent {
	font-size: 12em;
	font-weight: 700;
	color: #0080D1;
	font-family: "Rubik", serif;
	letter-spacing: -5%;
  }

  .contquizgrid {
	position: relative;
	width: 87%;
	display: grid;
	grid-template-columns: 1fr;
	grid-column-gap: 0.5em;
	box-sizing: border-box;
	row-gap: 1.5em;
	margin: 0 auto;
	max-width: 1300px;
	margin-top: 4vh;
  }

  .contquiz_inside {
	position: relative;
	background-color: #F9EFDC;
	border-radius: 15px 15px 0 0;
	padding: 2em;
	overflow: hidden;
  }

  .contquiz_inside h1 {
	font-family: "VT323", serif;
	font-weight: 600;
	color: #265FCC;
	font-size: 6em;
	letter-spacing: -2%;
	padding-bottom: 0.3em;
	margin: 0;
  }

  .contquiz_inside h1 strong {
	color: #FF7575;
	font-weight: 600;
  }

  .contquiz_inside span {
	font-family: 'ComicMode', sans-serif;
	font-weight: 450;
	font-size: 3em;
	padding-bottom: 0.4em;
	margin: 0;
	line-height: 125%;
  }

  .contquiz_display {
	position: relative;
	height: 70vh;
	background-color: #93D4EE;
	border-radius: 15px;
	padding: 1em 1.5em;
	margin-top: -0.5em;
	border: 5px solid #52290B;
	aspect-ratio: auto;
	box-shadow: inset 0px 0px 46px #4CC9F0, 0px 6px 0px #0000001F;
	overflow: hidden;
  }

  .cardicon {
	position: absolute;
	left: 0;
	top: 5%;
	width: 100%;
	height: 15%;
  }

  .homeicons1 {
	position: absolute;
	left: 0;
	top: 0;
	width: 25%;
	height: 100%;
	background-image: url('images/homeicons1.png');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: contain;
  }

  .homeicons2 {
	position: absolute;
	right: 0;
	top: 0;
	width: 25%;
	height: 100%;
	background-image: url('images/homeicons2.png');
	background-position: top right;
	background-repeat: no-repeat;
	background-size: contain;
  }

  .slide {
	width: 78%;
	margin-left: 10%;
	display: grid;
	justify-items: center;
	align-items: center;
	grid-template-columns: 1fr;
	grid-column-gap: 2em;
	row-gap: 3em;
	padding: 1em;
  }

  .slidetit {
	font-family: 'ComicMode', sans-serif;
	font-weight: 500;
	font-size: 6em;
	margin-bottom: 0.2em;
	line-height: 90%;
  }

  .contmyths {
	position: relative;
	width: 87%;
	height: auto;
	box-sizing: border-box;
	padding: 1vh 2vh;
	row-gap: 1.5em;
	margin: 0 auto;
	max-width: 1300px;
	background-color: #265FCC;
	border-radius: 20px;
	margin-top: 1em;
	border: 4px solid white;
	box-shadow: inset 0 0 30px #4CC9F0;
  }

  .myth {
	width: 100%;
	display: grid;
	justify-items: center;
	align-items: center;
	grid-template-columns: 1fr;
	grid-column-gap: 0;
	padding: 1.5em 2em;
	background-color: #0287DB;
	box-sizing: border-box;
	border-radius: 20px;
	border: 4px solid white;
	box-shadow: inset 0 0 30px #4CC9F0;
	margin: 2vh 0;
	background-image: url('images/squaresgrid.png');
	background-position: center center;
  }

  .mythimg {
	font-family: 'ComicMode', sans-serif;
	font-weight: 500;
	font-size: 1.7vw;
	width: 50%;
  }

  .mythtxt {
	border-left: 0px solid rgba(255, 255, 255, 0.4);
	padding-left: 0;
	text-align: center;
  }

  .mythimg img {
	width: 100%;
  }

  .mythtit {
	font-family: "VT323", serif;
	font-weight: 500;
	color: #FFCC2D;
	font-size: 4em;
	margin-bottom: 0;
	line-height: 90%;
	letter-spacing: -2%;
  }

  .mythsub {
	font-family: "Rubik", serif;
	color: #ffffff;
	font-weight: 500;
	font-size: 3em;
	margin-bottom: 0.2em;
  }

  .mythdesc {
	font-family: "Rubik", serif;
	color: #ffffff;
	font-weight: 400;
	font-size: 2.5em;
	margin-bottom: 0.2em;
  }

  .contelettrikit_cards {
	position: relative;
	width: 90%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: 0.5em;
	box-sizing: border-box;
	padding: 2vh 2vh;
	row-gap: 1.5em;
	margin: 0 auto;
	max-width: 1300px;
	/* UI Properties */
	background: rgba(38, 95, 204, 0) 0% 0% no-repeat padding-box;
	box-shadow: inset 0px 0px 26px #4cc8f000;
	border: 3px solid rgba(255, 255, 255, 0);
	border-radius: 20px;
	opacity: 1;
	margin-top: 2vh;
  }

  .contdescdiplomioverlay {
	position: fixed;
	left: 50%;
	top: 50%;
	width: 90%;
	height: auto;
	background-color: #FFFFFF;
	font-family: "Rubik", serif;
	font-size: 2em;
	font-weight: 500;
	color: #464646;
	padding: 3em;
	border-radius: 20px;
	line-height: 150%;
	transform: translate(-50%, -50%);
	box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
  }

  /* Moving Car */
  .movingcar {
	position: fixed;
	bottom: 18px;
	right: 0;
	width: 50%;
	height: 25%;
	transition: left 0s linear;
	background-image: url('images/movingcar.png');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: contain;
  }

  /* Charging Station */
  .chargingstation {
	position: fixed;
	bottom: 18px;
	right: 0;
	width: 50%;
	height: 25%;
	transition: opacity 0.2s ease-out;
	background-image: url('images/chargingstation.png');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: contain;
  }

  .contbasemenu {
	position: fixed;
	width: auto;
	height: auto;
	left: 50%;
	top: 0%;
	display: block;
	align-items: center;
	justify-content: space-around;
	box-sizing: border-box;
	transform: translate(-50%, 0%);
  }

  .basemenu {
	position: relative;
	left: 50%;
	top: 0;
	bottom: auto;
	width: auto;
	height: auto;
	padding: 0.6em 0.5em;
	border-radius: 0 0 30px 30px;
	box-shadow: 0px 3px 20px #0000007C;
	opacity: 1;
	-ms-transform: translate(-50%, 0%);
	transform: translate(-50%, 0%);
	display: inline-block;
	align-items: center;
	box-sizing: border-box;
	background-color: #F9E6D1;
	border: 0px solid #FFC003;
  }
  .basemenu img {
	height: 120px;
	margin: 0.5em 2em 0.5em 1em;
  }

  .contiktok_inside {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: 0.5em;
	box-sizing: border-box;
	row-gap: 1.5em;
	margin: 0 auto;
	padding: 2em;
  }

  .contiktok_banner img {
	width: 90%;
	margin-top: 0%;
	padding-left: 3em;
  }

  .logomotus {
	position: relative;
	background-color: #223BF0;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 0;
	box-sizing: border-box;
  }

  .logomotus img {
	width: 100%;
  }

  .vocemenu {
	font-size: 3em;
	padding: 0.4em 1.2em;
	color: #fff;
	background: #E9527E 0% 0% no-repeat padding-box;
	border-radius: 15px;
	opacity: 1;
	align-items: center;
	margin: 0.2em;
	cursor: pointer;
	transition: all 0.1s ease-out;
	white-space: nowrap;
	font-weight: 500;
	text-align: center;
  }
  .intromezzi {
	position: relative;
	width: 100%;
	height: auto;
	left: 0%;
	font-family: "Rubik", serif;
	font-size: 3em;
	font-weight: 600;
	color: #111;
	padding: 0.5em 10% 3em 10%;
	border-radius: 0 0 20px 20px;
	overflow: hidden;
	text-align: left;
	box-sizing: border-box;
	column-count: 1;
	column-fill: balance; /* Distribuisce il contenuto equamente tra le colonne */
	break-inside: avoid-column;
	column-gap: 2%;
	line-height: 150%;
	border-bottom: 4px solid #52290B;
	margin-bottom: 2em;
	box-shadow: 0px 6px 0px #0000001F;
  }
}