body {
    margin: 0;
    padding: 0;
  
    background-image: url('img/background.jpg');
}

.title-component {
    height: 50vh;
}

.background-title {
    position: absolute;
    right: -100%;

    width: 100%;
    height: 500px;
    background: #3BB2E5;
    
    animation: moveBackground 2s forwards;
    -webkit-animation: moveBackground 2s forwards;
    -moz-animation: moveBackground 2s forwards;
    -o-animation: moveBackground 2s forwards;
    -ms-animation: moveBackground 2s forwards;
}

.foreground-title {
    position: absolute;
    left: -100%;

    width: 100%;
    height: 500px;
    background: #40C4FF;

    animation: moveForeground 2s forwards;
    -webkit-animation: moveForeground 2s forwards;
    -moz-animation: moveForeground 2s forwards;
    -o-animation: moveForeground 2s forwards;
    -ms-animation: moveForeground 2s forwards;

    display: flex;
    align-items: center;
    justify-content: center;
}

.title-content {
    margin-top: 50px;
    font-family: 'Quicksand';

    color: white;
    transform: skewY(5deg);

    display: flex;
    align-items: center;
    flex-direction: column;
}

.title {
    font-size: 100px;
    margin-bottom: -10px;
}

.profile-component {
    height: 50vh;

    display: flex;
    align-items: center;
    flex-direction: column;

    font-family: 'Quicksand';

    animation: fadeIn ease 5s;
    -webkit-animation: fadeIn ease 5s;
    -moz-animation: fadeIn ease 5s;
    -o-animation: fadeIn ease 5s;
    -ms-animation: fadeIn ease 5s;
}

.profile {
    display: flex;
    align-items: center;
    flex-direction: column; 
}

.profile-picture {
    border-radius: 75px;
}

.text {
    margin-left: 10px;
    margin-bottom: 10px;

    display: flex;
    align-items: center;
    flex-direction: column;
}

.name {
    font-size: 36px;
    margin-bottom: -12px;
}

.job {
    font-size: 18px;
}

.social-medias {
    display: flex;
    align-items: center;
}

.github {
    margin-left: 15px;
    transition: all .2s ease-in-out;
}

.github:hover {
    transform: scale(1.2);
}

.cv {
    margin-left: 15px;
    padding: 16px;
    border-radius: 32px;

    background: #40C4FF;
    color: white;
    text-decoration: none;

    transition: all .2s ease-in-out;
}

.cv:hover {
    transform: scale(1.2);
}

.title-section {
    margin-top: 20px;
    background: #40C4FF;

    transform: skewY(-1deg);

    display: flex;
    justify-content: center;
}

.project-title {
    font-family: 'Quicksand';
    color: white;

    transform: skewY(1deg);
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project {
    width: 20%;
    min-width: 350px;
    height: 450px;

    margin: 100px;

    background: white;
    border-radius: 10px;
    box-shadow: 5px 5px 5px lightgrey;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-name {
    color: #40C4FF;
    font-family: 'Quicksand';
}

.project-desc {
    font-family: 'Roboto';
    font-size: 18px;
    text-align: justify;
    text-justify: inter-word;

    margin-left: 15px;
    margin-right: 15px;
}

.desc-title {
    color: #40C4FF;
    font-size: 20px;
}

.download-btn {
    width: 175px;
    height: 40px;
    margin-top: 25px;

    color: white;
    background: #40C4FF;

    font-size: 18px;

    border: none;
    border-radius: 10px;

    transition-duration: .4s;

    cursor: pointer;
    outline: none;
}

.download-btn:hover {
    background: #3BB2E5;
}

@keyframes moveBackground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(8deg);
    }
    100% {
        transform: skewY(8deg) translate(-100%);
    }
}

@-moz-keyframes moveBackground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(8deg);
    }
    100% {
        transform: skewY(8deg) translate(-100%);
    }
}
@-webkit-keyframes moveBackground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(8deg);
    }
    100% {
        transform: skewY(8deg) translate(-100%);
    }
}
@-o-keyframes moveBackground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(8deg);
    }
    100% {
        transform: skewY(8deg) translate(-100%);
    }
}
@-ms-keyframes moveBackground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(8deg);
    }
    100% {
        transform: skewY(8deg) translate(-100%);
    }
}

@keyframes moveForeground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(-5deg);
    }
    100% {
        transform: skewY(-5deg) translate(100%);
    }
}

@-moz-keyframes moveForeground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(-5deg);
    }
    100% {
        transform: skewY(-5deg) translate(100%);
    }
}
@-webkit-keyframes moveForeground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(-5deg);
    }
    100% {
        transform: skewY(-5deg) translate(100%);
    }
}
@-o-keyframes moveForeground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(-5deg);
    }
    100% {
        transform: skewY(-5deg) translate(100%);
    }
}
@-ms-keyframes moveForeground {
    0% {
        transform: none;
    }
    50% {
        transform: skewY(-5deg);
    }
    100% {
        transform: skewY(-5deg) translate(100%);
    }
}

@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

@-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
@-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
@-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
@-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

@media (max-width: 1000px) {
    .background-title, .foreground-title {
        top: -150px;
    }

    .title {
        font-size: 80px;
    }
}