@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;
  }
}