.subtitle-light {
    color: var(--grey-100);
    text-align: center;
}

.subtitle-dark {
    color: var(--black-color-dark);
    text-align: center;
}

/* Welcome section */

#welcome, #about, #resume, #contact, #education, #experience, #portfolio {
    /*background-attachment: fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

#about, #resume, #contact, #education, #experience, #portfolio{
    padding: 200px 0;
}

.introduction-wrapper {
    letter-spacing: -8px;
    color: var(--grey-100);
}

.hi1-animation {
    letter-spacing: -4px;
}

#welcome .introduction-wrapper:hover {
    animation: none;
    color: var(--grey-100);
}

#welcome .container-center {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 91vh;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

#welcome .read-more {
    border: 2px solid var(--grey-100);
    border-radius: 26px;
    background: 0 0;
    padding: 10px 18px;
    color: var(--grey-100);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

#welcome .read-more:hover {
    border: 2px solid var(--accent-color);
    color: var(--grey-100);
    background: var(--accent-color);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    -moz-animation-name: enrico_shaking;
    -moz-animation-duration: .9s;
    -moz-transform-origin: 50% 50%;
    -moz-animation-timing-function: linear;
    -webkit-animation-name: enrico_shaking;
    -webkit-animation-duration: .9s;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-timing-function: linear;
    -o-animation-name: enrico_shaking;
    -o-animation-duration: .9s;
    -o-transform-origin: 50% 50%;
    -o-animation-timing-function: linear;
    animation-name: enrico_shaking;
    animation-duration: .9s;
    animation-timing-function: linear;
    transform-origin: 50% 50%;
}

#welcome i {
    position: absolute;
    display: block;
    color: var(--grey-100);
    bottom: 0;
    margin-bottom: 6vh;
    z-index: 1;
    left: 50%;
    margin-left: -20px;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

#welcome i:hover {
    color: var(--accent-color);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

#welcome h1 {
    padding: 0;
    margin: 0 0 30px 0;
    font-size: 350%;
    text-align: center;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

#welcome span {
    position: relative;
    display: inline-block;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

#welcome span:hover {
    color: var(--accent-color);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    -moz-animation-name: enrico_shaking;
    -moz-animation-duration: .9s;
    -moz-transform-origin: 50% 50%;
    -moz-animation-timing-function: linear;
    -webkit-animation-name: enrico_shaking;
    -webkit-animation-duration: .9s;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-timing-function: linear;
    -o-animation-name: enrico_shaking;
    -o-animation-duration: .9s;
    -o-transform-origin: 50% 50%;
    -o-animation-timing-function: linear;
    transform-origin: 50% 50%;
    animation-name: enrico_shaking;
    animation-duration: .9s;
    animation-timing-function: linear;
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: -7px;
    min-height: 80px;
    max-height: 120px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite
}

.parallax > use:nth-child(1) {
    animation-delay: -4s;
    animation-duration: 14s
}

.parallax > use:nth-child(2) {
    animation-delay: -6s;
    animation-duration: 20s
}

.parallax > use:nth-child(3) {
    animation-delay: -8s;
    animation-duration: 26s
}

.parallax > use:nth-child(4) {
    animation-delay: -10s;
    animation-duration: 40s
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0)
    }
    100% {
        transform: translate3d(85px, 0, 0)
    }
}

.container-center p {
    padding: 0;
    margin: 0;
}

.hi1-animation {
    -webkit-animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) .4s both;
    animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) .4s both;
    color: var(--grey-100);
}

.hi2-animation {
    -webkit-animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) .8s both;
    animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) .8s both;
}

.hi3-animation {
    -webkit-animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) 1.2s both, enrico_shaking_with_bgcolor .9s both 3s;
    animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) 1.2s both, enrico_shaking_with_bgcolor .9s both 3s;
}

.hi4-animation {
    -webkit-animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) 1.6s both, bouncing 1s infinite ease-in-out 1.8s;
    animation: welcome-entrance .6s cubic-bezier(.25, .46, .45, .94) 1.6s both, bouncing 1s infinite ease-in-out 1.8s;
}

.anim0, .anim1, .anim10, .anim11, .anim12, .anim13, .anim14, .anim2, .anim3, .anim4, .anim5, .anim6, .anim7, .anim8, .anim9 {
    -moz-animation-name: enrico_shaking_with_color;
    -moz-animation-duration: .9s;
    -moz-transform-origin: 50% 50%;
    -moz-animation-timing-function: linear;
    -webkit-animation-name: enrico_shaking_with_color;
    -webkit-animation-duration: .9s;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-timing-function: linear;
    -o-animation-name: enrico_shaking_with_color;
    -o-animation-duration: .9s;
    -o-transform-origin: 50% 50%;
    -o-animation-timing-function: linear;
    transform-origin: 50% 50%;
    animation-name: enrico_shaking_with_color;
    animation-duration: .9s;
    animation-timing-function: linear;
}

.anim0 {
    -moz-animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.anim1 {
    -moz-animation-delay: 1.75s;
    -webkit-animation-delay: 1.75s;
    -o-animation-delay: 1.75s;
    animation-delay: 1.75s;
}

.anim2 {
    -moz-animation-delay: 2s;
    -webkit-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}

.anim3 {
    -moz-animation-delay: 2.25s;
    -webkit-animation-delay: 2.25s;
    -o-animation-delay: 2.25s;
    animation-delay: 2.25s;
}

.anim4 {
    -moz-animation-delay: 2.5s;
    -webkit-animation-delay: 2.5s;
    -o-animation-delay: 2.5s;
    animation-delay: 2.5s;
}

.anim5 {
    -moz-animation-delay: 2.75s;
    -webkit-animation-delay: 2.75s;
    -o-animation-delay: 2.75s;
    animation-delay: 2.75s;
}

.anim6 {
    -moz-animation-delay: 3s;
    -webkit-animation-delay: 3s;
    -o-animation-delay: 3s;
    animation-delay: 3s;
}

.anim7 {
    -moz-animation-delay: 3.25s;
    -webkit-animation-delay: 3.25s;
    -o-animation-delay: 3.25s;
    animation-delay: 3.25s;
}

.anim8 {
    -moz-animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;
    -o-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

.anim9 {
    -moz-animation-delay: 3.75s;
    -webkit-animation-delay: 3.75s;
    -o-animation-delay: 3.75s;
    animation-delay: 3.75s;
}

.anim10 {
    -moz-animation-delay: 4s;
    -webkit-animation-delay: 4s;
    -o-animation-delay: 4s;
    animation-delay: 4s;
}

.anim11 {
    -moz-animation-delay: 4.25s;
    -webkit-animation-delay: 4.25s;
    -o-animation-delay: 4.25s;
    animation-delay: 4.25s;
}

.anim12 {
    -moz-animation-delay: 4.5s;
    -webkit-animation-delay: 4.5s;
    -o-animation-delay: 4.5s;
    animation-delay: 4.5s;
}

.anim13 {
    -moz-animation-delay: 4.75s;
    -webkit-animation-delay: 4.75s;
    -o-animation-delay: 4.75s;
    animation-delay: 4.75s;
}

.anim14 {
    -moz-animation-delay: 5s;
    -webkit-animation-delay: 5s;
    -o-animation-delay: 5s;
    animation-delay: 5s;
}

@media only screen and (max-width: 600px) {
    #welcome .welcome-bg {
        background-attachment: scroll;
    }

    .hi1-animation {
        letter-spacing: -2px;
    }
}

/* About me section */
#about {
    text-align: center;
    color: var(--black-color-dark);
}

.profile {
    background-color: transparent;
    width: 350px;
    height: 350px;
    perspective: 1000px;
    display: inline-block;
    margin-bottom: 20px;
}

.profile img {
    border-radius: 50%;
    border: 3px solid #fdfdfd;
    width: 350px;
    height: 350px;
}

.profile-photo {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.profile:hover .profile-photo {
    transform: rotateY(180deg);
}

.profile-photo-back, .profile-photo-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.profile-photo-back {
    transform: rotateY(180deg);
}

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

#about span {
    color: var(--accent-color);
}

.about-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.hobby {
    position: relative;
}

.hobby i {
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.hobby .i {
    text-align: center;
    z-index: 1;
    width: 30%;
    border-radius: 6px 0 0 6px;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.no-js .hobby .i:before {
    content: '.';
}

.hobby .p {
    text-align: center;
    position: absolute;
    right: 0;
    z-index: 0;
    width: 70%;
    background: rgba(0, 0, 0, .7);
    border-radius: 0 6px 6px 0;
}

.hobby:hover .i {
    width: 100%;
    border-radius: 6px;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.hobby:hover i {
    transform: rotateY(180deg);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}

.travel-i {
    background: -webkit-linear-gradient(-45deg, #060, #0c0);
    background: linear-gradient(-45deg, #060, #0c0);
}

.travel-p {
    color: #090;
}

.workout-i {
    background: -webkit-linear-gradient(-45deg, #b30000, #ff4d4d);
    background: linear-gradient(-45deg, #b30000, #ff4d4d);
}

.workout-p {
    color: red;
}

.music-i {
    background: -webkit-linear-gradient(-45deg, #8f00b3, #db4dff);
    background: linear-gradient(-45deg, #8f00b3, #db4dff);
}

.music-p {
    color: #c0f;
}

.read-i {
    background: -webkit-linear-gradient(-45deg, #990, #ff0);
    background: linear-gradient(-45deg, #990, #ff0);
}

.read-p {
    color: #cc0;
}

.learn-i {
    background: -webkit-linear-gradient(-45deg, #006bb3, #4db8ff);
    background: linear-gradient(-45deg, #006bb3, #4db8ff);
}

.learn-p {
    color: #09f;
}

@media only screen and (max-width: 767px) {
    #about img {
        max-width: 250px;
    }

    .profile {
        width: 250px;
        height: 250px;
    }

    .profile img {
        width: 250px;
        height: 250px;
    }
}

@media only screen and (min-width: 2500px) {
    .profile {
        width: 500px;
        height: 500px;
    }

    .profile img {
        width: 500px;
        height: 500px;
    }
}

/* Skills */

.span-tooltip-check {
    font-weight: normal;
    padding-left: 10px;
}

.skill-p {
    font-weight: 700;
    color: var(--grey-100);
}

.skills-row .col {
    background: var(--black-color);
    background: rgba(0, 0, 0, .3);
    margin-bottom: 15px;
    padding: 0;
}

.skills-column-left {
    padding-right: 30px;
    border-right: 1px solid var(--black-color);
    border-right: 1px solid rgba(0, 0, 0, .3);
}

.skills-column-right {
    padding-left: 30px;
    border-left: 1px solid var(--black-color);
    border-left: 1px solid rgba(0, 0, 0, .3);
}

.skillbar {
    position: relative;
    display: block;
    width: 100%;
    height: calc(.65em + .55vw);
}

.skillbar-bar {
    height: 100%;
    width: 0;
    background: repeating-linear-gradient(-45deg, var(--accent-color), var(--accent-color-hover));
    font-size: 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.margin-left-round {
    -moz-border-radius: 50px 0 0 50px;
    -webkit-border-radius: 50px 0 0 50px;
    border-radius: 50px 0 0 50px;
}

.margin-right-round {
    -moz-border-radius: 0 50px 50px 0;
    -webkit-border-radius: 0 50px 50px 0;
    border-radius: 0 50px 50px 0;
}

.no-background-color {
    background: transparent;
}

.skill-bar-percent {
    text-align: center;
    font-size: calc(.55em + .55vw);
    line-height: 100%;
    color: var(--grey-100);
}

@media only screen and (max-width: 767px) {
    .skills-column-right {
        padding: 0;
        border: 0;
    }

    .skills-column-left {
        padding: 0;
        border: 0;
    }

    .skills-row {
        padding: 7vw;
    }
}

/* Work */
.work-container {
    background-color: var(--black-color-dark);
    color: var(--grey-100);
    box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    -webkit-box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    -moz-box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    border-radius: 16px 16px 16px 16px;
    -webkit-border-radius: 16px 16px 16px 16px;
    -moz-border-radius: 16px 16px 16px 16px;
}

.work-image {
    background-size: cover;
    background-position: center;
    border-radius: 16px 0px 0px 16px;
    -webkit-border-radius: 16px 0px 0px 16px;
    -moz-border-radius: 16px 0px 0px 16px;}

.work-company {
    font-weight: bold;
    padding: 10px;
    color: var(--white-color);
}

.work-details {
    padding: 30px;
}

.work-title {
    font-weight: bold;
}

.bg-fulltime {
    background-color: rgba(226, 18, 32, 0.5);
    color: var(--grey-100);
}

.bg-parttime {
    background-color: rgba(15, 103, 15, 0.5);
    color: var(--grey-100);
}

.bg-internship {
    background-color: rgba(1, 89, 213, 0.5);
    color: var(--grey-100);
}

.work-period {
    color: var(--grey-300);
    font-size: 75%;
}

.collapsible {
    background-color: transparent;
    color: var(--grey-100);
    cursor: pointer;
    padding: 18px 18px 0 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
}

.collapsible:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    margin-left: 10px;
}

.active:after {
    content: "\2212";
}

.content-collapsable {
    background-color: transparent;
    border: none;
}

@media only screen and (max-width: 1200px) {
    .work-container {
        margin: 0 10px;
    }

    .work-company {
        padding: 70px 0;
    }

    .work-image {
        border-radius: 16px 16px 0px 0px;
        -webkit-border-radius: 16px 16px 0px 0px;
        -moz-border-radius: 16px 16px 0px 0px;
    }
}

@media only screen and (max-width: 767px) {
    .work-details .row {
        flex-direction: column-reverse;
    }

    .bg-fulltime, .bg-parttime, .bg-internship {
        margin-bottom: 10px;
    }
}

/* EDUCATION */
.education-container {
    background-color: var(--gray-color);
    color: var(--black-color-dark);
    box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    -webkit-box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    -moz-box-shadow: 0px 0px 20px 3px rgba(31,38,51,0.71);
    border-radius: 16px 16px 16px 16px;
    -webkit-border-radius: 16px 16px 16px 16px;
    -moz-border-radius: 16px 16px 16px 16px;
}

.education-image {
    background-size: cover;
    background-position: center;
    border-radius: 16px 0px 0px 16px;
    -webkit-border-radius: 16px 0px 0px 16px;
    -moz-border-radius: 16px 0px 0px 16px;}

.education-school {
    font-weight: bold;
    padding: 10px;
    color: var(--white-color);
}

.education-details {
    padding: 30px;
}

.education-title {
    font-weight: bold;
}

.education-period {
    color: #273546;
    font-size: 75%;
}

#education .collapsible {
    color: var(--black-color-dark);
}

#education .collapsible:after {
    color: var(--black-color-dark);
}

.collapsible:after {
    color: var(--grey-100);
}

@media only screen and (max-width: 1200px) {
    .education-container {
        margin: 0 10px;
    }

    .education-school {
        padding: 70px 0;
    }

    .education-image {
        border-radius: 16px 16px 0px 0px;
        -webkit-border-radius: 16px 16px 0px 0px;
        -moz-border-radius: 16px 16px 0px 0px;
    }
}

@media only screen and (max-width: 767px) {
    .education-details .row {
        flex-direction: column-reverse;
    }
}

/* Projects */
.filter-projects-control {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-projects-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.filter-project-btn, .clear-all-projects-filters {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 8px rgba(67, 110, 141, 0.37);
    border-radius: 6px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--white-color);
    padding: 15px 26px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin: 0 8px;
    border: 1px solid rgba(255,255,255,0);
}
.filter-project-btn:hover, .clear-all-projects-filters:hover {
    box-shadow: none;
    color: var(--accent-color-hover);
}
.filter-project-btn.active-filter, .active-all {
    box-shadow: none;
    color: var(--accent-color-hover);
}
.filter-projects-content {
    margin-top: 30px;
}
.grid-project {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

@media only screen and (max-width: 767px) {
    .filter-projects-list {
        display: block;
    }

    .filter-projects-list button {
        width: 100%;
        margin: 4px 0;
    }

    .project-subtitle {
        margin-top: 100px;
    }
}