body {
    background: linear-gradient(135deg, #000000 0%, #000000 40%, gray 100%);
    background-attachment: fixed;   
    min-height: 100vh;              
    font-family: 'Georgia', serif;
    color: #ffffff;                 

}

h1 {
    text-align: start;
    font-size: 2rem;
    background-color: whitesmoke(252, 252, 252);
    color: rgb(255, 255, 255); 
    background-color: transparent;   
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 400;
    padding: 20px
}

h2 {
    text-align: start;
    font-size: 1.5rem;
    color: whitesmoke;
    margin-top: 40px;
    margin-bottom: 10px;
    letter-spacing: 2.5px;
}



h3{
    font-size: 1rem;
    color: lightgray;
    letter-spacing: 2px;
    white-space: nowrap;
    display: inline-block;
    margin: 0;
    animation: scrolltext 30s infinite;
    
}



.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 8px 0;
}

@keyframes scrolltext {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}


.anagrafica-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 16px;
}

.foto-cv {
    width: 30%;
    max-width: 200px;
    border-radius: 8px;
    flex-shrink: 0;
}

.anagrafica-flex ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anagrafica-flex ul li {
    margin-bottom: 10px;
}

.divider {
    margin: 0 10px;
    color: gray;
}

.cv-section.colonne ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.cv-section.colonne ul li {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 0.9rem;
    color: whitesmoke;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

.cv-section.colonne ul li:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}
.sezioni-affiancate {
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.sezioni-affiancate .cv-section.colonne {
    flex: 1;
    min-width: 0;
}
