.step{
	height: 300px;
	aspect-ratio: 1;
	position: relative;
}

#step1{
	background-color: red;
}

#step2{
	background-color: yellow;
	display: none;
}

#step3{
	background-color: green;
	display: none;
}

#step4{
	background-color: blue;
	display: none;
}

.avanti{
	position: absolute;
	right: 0;
	bottom: 0;
}

.indietro{
	position: absolute;
	left: 0;
	bottom: 0;
}

#invia{
	position: absolute;
	right: 0;
	bottom: 0;
}

h1{
	text-align: center;
	font-size: 3vw;
	/*font-weight: 900;*/
	color: #8AAF48;
}

.myParagraph{
	text-align: center;
	font-size: 1.3vw;
	color: #333333;
}

.mySeparator > i{
	font-size: 0.5rem;
	color: #8AAF48;
}

.mySeparator{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sectionStep > div:first-of-type{
	width: 65%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sectionStep > div:last-of-type{
	width: 35%;
	padding: 0 1rem;
}

.sectionStep{
	display: flex;
}

.myTitleSection{
	text-align: center;
	font-size: 2vw;
    font-weight: 300;
	color: #8AAF48;
}

.myTitleSectionImportant{
	font-weight: 700;
}

.myParagraphImportant{
	font-weight: 700;
}

.myImgContainerSection{
	width: 100%;
	aspect-ratio: 16 / 11;
	border-radius: 25px;
	box-shadow: 0px 35px 25px -20px rgba(0, 0, 0, 0.75);
	background-size: cover;
}

#myImgContainerSection1{
	background-image: url("../immagini/decalogo/step/Decalogo1.jpg");
}

.order2{
	order: 2;
}

#myImgContainerSection2{
	background-image: url("../immagini/decalogo/step/Decalogo2.jpg");
}

#myImgContainerSection3{
	background-image: url("../immagini/decalogo/step/Decalogo3.jpg");
}

#myImgContainerSection4{
	background-image: url("../immagini/decalogo/step/Decalogo4.jpg");
}

#myImgContainerSection5{
	background-image: url("../immagini/decalogo/step/Decalogo5.jpg");
}

#emailDecalogo{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#emailDecalogo > div{
	width: 75%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#titoloDecalogo{
	font-size: 5rem;
    font-weight: 600;
    color: #63762B;
}

#labelEmail{
	margin-top: 3rem;
	font-size: 2rem;
	color: #333333;
}

#email_utente{
	margin-top: 1rem;
	height: 5rem;
    width: 50%;
    background-color: white;
    border: 2px solid #ACBE63;
    border-radius: 999px;
	padding: 0 1rem;
	font-size: 1.5rem;
	color: #333333;
	cursor: default;
}
#email_utente::placeholder{
	font-size: 1.5rem;
	color: #333333;
}

#labelStruttura{
	margin-top: 3rem;
	font-size: 2rem;
	color: #333333;
}

#nome_struttura{
	margin-top: 1rem;
	height: 5rem;
    width: 50%;
    background-color: white;
    border: 2px solid #ACBE63;
    border-radius: 999px;
	padding: 0 1rem;
	font-size: 1.5rem;
	color: #333333;
	cursor: default;
}
#nome_struttura::placeholder{
	font-size: 1.5rem;
	color: #333333;
}

.btnDecalogo{
	font-weight: 600;
	color: white;
	background-color: #ACBE63;
	padding: 1rem 5rem;
	border-radius: 6.75px;
	border: unset;
	font-size: 2rem;
}

.myContainerDecalogo{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.titoloCategoria{
	font-size: 2rem;
	color: white;
	background-color: #ACBE63;
	width: 100%;
	padding: 1rem 0;
	text-align: center;
	border-radius: 999px;
}

.subContainerDecalogo{
	width: 87.5%;
	margin-top: 3rem;
}

/* Nascondi la checkbox nativa */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Crea un elemento sostitutivo per la checkbox */
.custom-checkbox .checkmark {
  display: inline-block;
  position: relative;
  cursor: pointer;
  height: 2rem;
  aspect-ratio: 1;
  background-color: white; /* Colore quando è selezionata */
  border: 2px solid #B4C576;
}

/* Quando la checkbox è selezionata, cambia il colore */
.custom-checkbox input:checked + .checkmark {
  background-color: #B4C576;
  border: 2px solid white;
}

.subContainerDecalogo label{
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.5rem;
	color: #333333;
	margin-top: 1rem;
}

.subContainerDecalogo label:first-of-type{
	margin-top: unset;
}

.accordion-item{
	margin-top: 3rem;
	border: unset;
	cursor: pointer;
}

.accordion-item:first-of-type{
	margin-top: unset;
}

/* Posiziona l'icona a destra */
.titoloCategoria {
  position: relative;
}

.titoloCategoria i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* Rotazione quando l'accordion è aperto */
.titoloCategoria[aria-expanded="true"] i {
  transform: translateY(-50%) rotate(180deg); /* Ruota l'icona quando l'accordion è aperto */
}

label{
	cursor: pointer;
}

.carousel {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	overflow: hidden;
}

.carousel-track-container {
	overflow: hidden;
	position: relative;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.carousel-slide {
	min-width: 50%; /* Show 3 images on desktop */
	flex: 1 0 auto;
	max-width: 50%;
}

.carousel-slide img {
	width: 100%;
	display: block;
	aspect-ratio: 1.3;
	object-fit: cover;
}

.carousel-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	z-index: 10;
}

.prev {
	left: 0;
}

.next {
	right: 0;
}

.nomCogContainer{
	width: 50%;
	display: flex;
	justify-content: space-between;
}

.nomCogContainer > div{
	display: flex;
	flex-direction: column;
	width: 47.5%;
	align-items: center;
}

#label_nome_utente{
	font-size: 2rem;
    color: #333333;
}

#nome_utente {
    margin-top: 1rem;
    height: 5rem;
    width: 100%;
    background-color: white;
    border: 2px solid #ACBE63;
    border-radius: 999px;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: #333333;
    cursor: default;
}

#nome_utente::placeholder{
	font-size: 1.5rem;
	color: #333333;
}

#label_cognome_utente{
	font-size: 2rem;
    color: #333333;
}

#cognome_utente {
    margin-top: 1rem;
    height: 5rem;
    width: 100%;
    background-color: white;
    border: 2px solid #ACBE63;
    border-radius: 999px;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: #333333;
    cursor: default;
}

#cognome_utente::placeholder{
	font-size: 1.5rem;
	color: #333333;
}

.consensoText{
	font-size: 1vw;
	color: #333333;
}

.consensoTextImportant{
	font-weight: 600;
	color: #333333;
}

@media screen and (max-width: 992px) {
	#emailDecalogo > div{
		width: 95%;
	}
	
	#titoloDecalogo{
		text-align: center;
	}
	
	.btnDecalogo{
		font-size: 1.25rem;
	}
	
	.resDisNone{
		display: none;
	}
	
	.carousel-slide {
		min-width: 50%; /* Show 2 images on tablet */
	}
	
	h1{
		font-size: 6vw;
	}
	
	.myParagraph{
		font-size: 2.6vw;
	}
	
	.myTitleSection{
		font-size: 4vw;
	}
	
	.sectionStep{
		flex-direction: column;
	}
	
	.sectionStep > div{
		width: 100% !important;
	}
	
	.sectionStep > div:last-of-type{
		margin-top: 1rem;
	}
	
	.order2{
		order: 0;
	}
	
	.nomCogContainer{
		flex-direction: column;
	}
	
	.nomCogContainer > div{
		width: 100%;
	}
	
	#label_cognome_utente{
		margin-top: 3rem;
	}
	
	.consensoText{
		font-size: 2vw;
	}
}

@media screen and (max-width: 576px) {
	#titoloDecalogo{
		font-size: 3.75rem;
	}
	
	#labelEmail{
		text-align: center;
	}
	
	#email_utente{
		width: 100%;
	}
	
	.titoloCategoria{
		font-size: 1.5rem;
	}
	
	.subContainerDecalogo label{
		font-size: 1.125rem;
	}
	
	.carousel-slide {
		min-width: 100%; /* Show 1 image on smartphone */
	}
	
	h1{
		font-size: 12vw;
	}
	
	.myParagraph{
		font-size: 5.2vw;
	}
	
	.myTitleSection{
		font-size: 8vw;
	}
	
	#nome_struttura{
		width: 100%;
	}
	
	.nomCogContainer{
		width: 100%;
	}
	
	.consensoText{
		font-size: 4vw;
	}
}