:root {
    /* --primary: #00d9ff;*/
    --primary: #2f7626;
    /* Cyan elettrico */
    --secondary: #ff0080;
    /* Magenta vivace */
    --secondary-light: #ff00809e;
    --background: #0a0a0f;
    /* Quasi nero */
    --surface: #1a1a2e;
    /* Blu scuro */
    --text: #eee6ff;
    /* Bianco violaceo */
    /*--text-secondary: #a78bfa;*/
    --text-secondary: #40b63c;
    /* Viola chiaro */
    --accent: #00ff88;
    /* Verde neon */
    --transition: all 0.3s ease;
    /* Transizioni */
    --shadow-button: 2px 5px 20px var(--secondary);
    /* Ombra button */
    --shadow-button-light: 2px 5px 20px var(--secondary-light);
    --text2: #eee6ff6d;
    --shadow-text: 2px 5px 20px var(--text2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 40px 40px 20px rgba(64, 182, 60, 0.4);
    --shadow-card-hover2: 20px 20px 20px rgba(64, 182, 60, 0.4);
}

.body {
    max-width: 1000px;
    margin: auto;
    line-height: 1.8;
    text-align: justify;
}

.body-content {
    padding: 20px;
}

.index ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
    margin-top: 20px;
}

.index {
    border-left: 5px solid grey;
}

.index, .section {
    background-color: white;
    margin: 40px 0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 10px 10px 15px rgba(64, 182, 60, 0.4);
    transition: var(--transition);
}

.index:hover, .section:hover {
    box-shadow: 15px 15px 15px rgba(60, 216, 55, 0.4);
    transform: translateY(-5px);
    .num, .info-box1 {
        background-color: rgb(60, 216, 55);
    }
}

.index a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.section-header {
    display: flex;
    gap: 40px;
    align-items: center;
}

.num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    transition: var(--transition);
}

.section-header h3 {
    font-size: 24px;
}

.info-box1, .cookie-tecnici {
    background-color: var(--text-secondary);
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.info-box1 h4 {
    font-size: 20px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table tr {
    height: 40px;
}

td, th {
    padding: 0 20px;
}

thead {
    background-color: black;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: rgb(237, 236, 236);
}

.second-list {
    padding-left: 20px;
}

.diritti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.elemento-diritti-grid {
    background-color: var(--accent);
    padding: 20px;
    border-radius: 20px;
}

.titolare {
    background-color: rgb(48, 22, 77);
    padding: 20px;
    color: white;
    border-radius: 20px;
}

.titolare a {
    color: white;
}

.contatti-titolare {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contatti-titolare i {
    color: var(--text-secondary);
}

.contatti-titolare i:hover {
    color: var(--accent);
}

/* ====== MOBILE ======= */
@media (max-width: 480px) {
    .body {
        max-width: 95%;
    }

    .cookie {
        max-width: 100%;
        font-size: 10px;
/*         display: none;
 */    }

    td, th {
        width: 20%;
        padding: 0;
    }

    .diritti-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .num {
        padding: 20px;
    }

    .titolare a {
        font-size: 12px;
    }
}

/* * {
    outline: 1px solid red;
} */