
/* Stili Questionario maturita*/       
	   body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #333;
        }
        .container {
            max-width: 95%;
            width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: white;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            border-radius: 8px;
            margin-top: 30px;
            margin-bottom: 30px;
            border-left: none;
        }
        .header-box {
            width: 100%;
            border: 2px dashed #28a745;
            box-sizing: border-box;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            min-height: 80px;
            border-radius: 8px;
            margin-bottom: 25px;
            background: white;
        }
        .left-image, .right-image {
            max-height: 60px;
            height: auto;
            margin: 10px;
        }
        .problem-title {
            font-size: 1.8em;
            font-weight: bold;
            color: black;
            margin: 25px 0 15px 0;
            text-align: center;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }
        .main-page-title { /* Stile per il titolo principale */
            font-size: 2.2em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
        }
        .main-page-title .blue {
            color: #0000FF; /* Blu */
        }
        .main-page-title .red {
            color: #FF0000; /* Rosso */
        }
		
		.main-page-title .green {
    color: #008000; /* Verde scuro standard */
}
	
        /* Fine stili specifici */
        .separator {
            border: 0;
            height: 2px;
            background: linear-gradient(to right, transparent, #28a745, transparent);
            margin: 15px 0 25px 0;
        }
        .problem-text {
            font-weight: bold;
            margin-left: 8px;
            padding-left: 17px;
            margin-bottom: 25px;
            color: #2c3e50;
            font-size: 1.1em;
            line-height: 1.7;
        }
       /* Bottoni Solution con stile verde */
.solution-button { 
    background-color: #a5d6a7; /* Verde chiaro originale */
    color: black;
    border: 2px solid #81c784; /* Verde più scuro */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 8px 4px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}

.solution-button:hover {
    background-color: #b8e4ba; /* Verde schiarito invece di scurire */
    border-color: #81c784; /* Mantiene il bordo originale */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(165, 214, 167, 0.4); /* Ombra verde coordinata */
}

.solution {
    background-color: white;
    padding: 15px 15px 15px 25px;
    margin: 15px 0;
    border-left: 4px solid #FFA500;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease; /* Transizione fluida */
    cursor: pointer; /* Indica che è cliccabile */
}

.solution:hover {
    background-color: #f9f9f9; /* Leggero scurimento del bianco */
    border-left-color: #ffb733; /* Schiarimento dell'arancione del bordo */
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.15); /* Ombra arancione più pronunciata */
    transform: translateY(-2px); /* Movimento verso l'alto */
}
      /* Sostituisci il tuo CSS del bottone generico con questo */
button {
    background-color: #a5d6a7;
    color: black;
    border: 2px solid #81c784;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 8px 4px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}

/* Hover con colore arancione coordinato con il bordo della soluzione */
button:hover {
    background-color: #FFA500; /* Stesso arancione del bordo sinistro della soluzione */
    border-color: #CC8400; /* Arancione più scuro per il bordo */
    color: white; /* Testo bianco per contrasto con l'arancione */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4); /* Ombra arancione coordinata */
}
		/* Stili specifici per i bottoni nel footer */
.footer button {
    background-color: #0000FF; /* Blu di default per i bottoni del footer */
    color: white;
    border: 2px solid #0000CC;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 8px 4px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}

.footer button:nth-child(1) { /* Indice Esame di Stato */
    background-color: #1a237e;
    border: 2px solid #0d1a4b;
}
.footer button:nth-child(1):hover {
    background-color: #3949ab; /* Schiarimento del blu scuro */
    border-color: #1a237e;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.4);
    transform: translateY(-2px);
}


.footer button:nth-child(2) { /* Problema 1 - Stesso colore dei bottoni soluzione del Problema 1 */
    background-color: #a5d6a7;
    border: 2px solid #81c784;
    color: black;
}
.footer button:nth-child(2):hover {
    background-color: #b8e4ba; /* Schiarimento più leggero del verde #a5d6a7 */
    border-color: #81c784; /* Mantiene il colore del bordo originale */
    box-shadow: 0 4px 12px rgba(165, 214, 167, 0.4);
    transform: translateY(-2px);
}

.footer button:nth-child(3) { /* Problema 2 */
    background-color: #007bff;
    border: 2px solid #0056b3;
    transition: all 0.3s ease;
}
.footer button:nth-child(3):hover {
    background-color: #339aff; /* Schiarimento del blu */
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}
.footer button:nth-child(3):hover {
    background-color: #33a0ff; /* Schiarimento più leggero del blu #007bff */
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}
        .solution-button-container {
            text-align: center;
            margin: 15px 0;
        }
        h3 {
            color: #28a745;
            border-bottom: none;
            padding-bottom: 0;
            margin-top: 30px;
            font-size: 1.4em;
        }
        .graph {
            text-align: center;
            margin: 25px 0;
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            border: 1px solid #e9ecef;
        }
        .graph img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
        }
        .MathJax {
            font-size: 1.1em;
            color: #2c3e50;
        }
        a {
            text-decoration: none;
        }
        .question {
            background-color: #f8f9fa;
            padding: 15px 15px 15px 25px;
            margin: 0 0 20px 0;
            border-radius: 8px;
            border-left: 4px solid #0000FF; /* Colore cambiato in blu */
            position: relative;
        }
        .question .problem-text {
            color: #2c3e50;
        }
        .footer {
            text-align: center;
            margin-top: 5px; /* Era 40px, ora ridotto */
            padding-top: 5px;
        }
        .image-pair {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        .image-pair img {
            max-width: 45%;
            height: auto;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
