:root{
    --primary-color: #203572; /* #287a95;*/
    --footer-color: rgb(34, 34, 34);
    --page-shadow:#484848;
    --line-color: #393939;
    --line-separator: #9f9f9f;
    --accent-color: #FFEC45;
    
    --primary-text-color: #4d4d4d;
    --secondary-text-color: white;
    
    --primary-bg: white;
    --body-primary-grad: #7f7f7f;
    --body-secondary-grad: #aeaeae;
    
    --line-blue: #4b93a6;
    --grey: #a7a7a7;
}

.accent{
    color: var(--accent-color);
}

.blue{
    color:rgb(0, 0, 255)
}

.green{
    color: green;
}

body{
    background: linear-gradient(to right, var(--body-primary-grad), var(--body-secondary-grad));
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-text-color);
}

a:hover{
    color: var(--accent-color);
}

#pagina{
    background-color: var(--primary-bg);
    box-shadow: 10px 10px 15px var(--page-shadow);
}

figure{
    overflow: hidden;
}

svg{
    position: relative;
    width: 80%;
}

#foto-profilo{
    position: relative;
    top: 20px;
    transition: all 0.7s;
    transition-timing-function: ease-in-out;
    transform: scale(1.1);
}

#foto-profilo:hover{
    transform: scale(1.2);
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Bebas Neue', cursive;
}

h1{
    font-size: 64px;
}

ul{
    list-style:square;
}

.text-justify{
    text-align: justify;
}

.primary-color{
    color: var(--primary-color);
}

.light-color{
    color: var(--grey);
}

.height-140{
    height: 140px;
}

.line-color{
    color: var(--line-color);
}

.primary-bg{
    background-color: var(--primary-color);
}

.line-color-bg{
    background-color: var(--line-color);
}

.grey-bg{
    background-color: var(--grey);
}

.custom-border-left{
    border-left: 1px solid var(--grey);
    border-width: 3px;
}

.custom-border-top{
    border-top: 1px solid var(--line-blue);
}

.box1-border-top{
    border-top: 1px solid var(--primary-color);
}
.box2-border-top{
    border-top: 1px solid var(--line-color);
}
.box3-border-top{
    border-top: 1px solid var(--grey);
}

.custom-border-bottom{
    border-bottom: 1px solid var(--line-blue);
}

.indicator{
    position: absolute;
    left: -5px;
    top: 11px;
    font-size: 14px;
    z-index: 1;
}

.primary-bg *{
    color: var(--secondary-text-color);
}

.titolo-pagina{
    color: var(--primary-color);
    border-bottom: solid 4px var(--line-color);
}

.posizione-lavorativa{
    position: relative;
    top: 4px;
    text-transform: uppercase;
    font-size: 18px;
}

.bottom-line{
    position: absolute;
    bottom: -11px;
}

.year{
    background-color: var(--primary-color);
    color: var(--secondary-text-color);
    padding: 5px 15px 5px 15px;
    display: block;
    width: 100px;
    font-weight: bold;
    cursor: pointer;
}

.year + i{
    position: absolute;
    font-size: 56px;
    left: 110px;
    top:-11px;
    color: var(--primary-color);
}

#box-lingua-1{
    position: absolute;
    bottom: 0px;
    left: 15px;
    width: 85%;
    height: 100%;
}

#box-lingua-1 div{
    height: 100px;
}

#box-lingua-2{
    position: absolute;
    bottom: 0px;
    left: 15px;
    width: 70%;
    height: 70%;
}

#box-lingua-2 div{
    height: 58px;
}

#box-lingua-3{
    position: absolute;
    bottom: 0px;
    left: 15px;
    width: 55%;
    height: 50%;
}

#box-lingua-3 div{
    height: 30px;
}

.opacity-medium{
    opacity: 0.7;
}

li > ul {
    list-style-type: circle;
}

.col-lg-2 > a {
    text-decoration: none;
}

.footer{
    background-color: var(--footer-color);
    color: var(--secondary-text-color);
}

@media screen and (max-width: 992px){
    .custom-border-left{
        border: 0px;
    }
    
    .year{
        width: auto;
        padding: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 768px){
    
    .year{
        font-size: 20px;
        transition: all 0.7s;
    }
    
    .year:hover{
        font-size: 30px;
    }
}


/* circle graph */
.circle-chart__circle {
    animation: circle-chart-fill 2s reverse; /* 1 */ 
    transform: rotate(-90deg); /* 2, 3 */
    transform-origin: center; /* 4 */
}

.circle-chart__circle--negative {
    transform: rotate(-90deg) scale(1,-1); /* 1, 2, 3 */
}

.circle-chart__info {
    animation: circle-chart-appear 2s forwards;
    opacity: 0;
}

@keyframes circle-chart-fill {
    to { stroke-dasharray: 0 100; }
}

@keyframes circle-chart-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* fine circle graph */

#particle-bg{ 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
} 