*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

body{
    background: #1f242d;
    color: #fff;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(31, 36, 45, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.flags{
    position: absolute;
    left: 10px;
    padding: 5px;
    animation: slideTop .7s ease forwards ;
    background: transparent;
    border: none;
    transition: transform .2s ease-in-out;
}

.flags img:hover{
    transform: scale(1.5);
}

.flags:nth-child(1){
    left: 40px;
    animation: slideBottom .7s ease forwards ;
}

.logo{
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards ;
}

.navbar a{
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards ;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active{
    color: #cc30ff;
    font-size: 20px;
}

/* Inicio page */
.home{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content{
    max-width: 600px;
}

.home-content h3{
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom .7s ease forwards ;
    animation-delay: .2s;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 30px;
    opacity: 0;
    animation: slideTop .7s ease forwards ;
    animation-delay: .2s;
}

.home-content h3 span{
    color: #cc30ff;
}

.home-content h1{
    font-size: 56px;
    font-weight: 700;
    margin: -3px;
    opacity: 0;
    animation: slideLeft .7s ease forwards ;
    animation-delay: .5s;
}

.home-content p{
    font-size: 16px;
    opacity: 0;
    animation: slideRight .7s ease forwards ;
    animation-delay: .5s;
}

.home-img img{
    filter: drop-shadow(0 0 8px #cc30ff); 
    max-width: 550px;
    margin-right: -20px;
    opacity: 0;
    animation: zoomOut .7s ease forwards ;
    animation-delay: .7s;
}

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #cc30ff;
    border-radius: 50%;
    color: #cc30ff;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .3s;
    opacity: 0;
    animation: slideTop .7s ease forwards ;
    animation-delay: calc(.2s * var(--i));
}

.social-media a:hover{
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: #1f242d;
    background:#cc30ff;
    box-shadow: 0 0 10px #cc30ff;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #cc30ff;
    color: #1f242d;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards ;
    animation-delay: .2s;
}

.btn:hover{
    box-shadow: 0 0 10px #cc30ff;
}

/* About section */

.about{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.about-content{
    max-width: 800px;
}

.about-content h2{
    font-size: 32px;
    font-weight: 700;
    color: #cc30ff;
    opacity: 0;
    animation: slideBottom .7s ease forwards ;
    animation-delay: .2s;
}

.about-content li{
    margin: 20px;
    font-size: 20px;
    list-style: square;
    opacity: 0;
    animation: slideLeft .7s ease forwards ;
    animation-delay: calc(.2s * var(--i));
}

.about-content p{
    font-size: 20px;
    text-indent: 5px;
    opacity: 0;
    animation: slideLeft .7s ease forwards ;
    animation-delay: calc(.2s * var(--i));
}

.about-img img{
    box-shadow: 0 0 10px #cc30ff;
    max-width: 350px;
    margin-right: 60px;
    opacity: 0;
    animation: zoomOut .7s ease forwards ;
    animation-delay: .7s;
}

#tooltip {
    position: fixed;
    background: #1f242d;
    color: #cc30ff;
    padding: 10px;
    border-radius: 50px;
    font-size: 15px;
    white-space: nowrap;
    display: none;
    pointer-events: none;
}

/* Contato Section */
.contato{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.contato-content{
    max-width: 700px;
}

.contato-content li{
    margin: 20px;
    font-size: 20px;
    list-style: square;
    color: #fff;
    opacity: 0;
    animation: zoomIn .7s ease forwards ;
    animation-delay: calc(.2s * var(--i));
}

.contato-content h3{
    font-size: 30px;
    opacity: 0;
    animation: zoomOut .7s ease forwards ;
    animation-delay: .3s;
}

.contato-content a{
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.contato-content a:hover{
    color: #cc30ff;
    font-size: 25px;
}

/* Habilidades page */
.habilidades{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.habilidades-content{
    max-width: 600px;
}

.habilidades-content h3{
    font-size: 32px;
    color: #cc30ff;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft .7s ease forwards ;
    animation-delay: .5s;
}

.habilidades-content p{
    font-size: 16px;
    opacity: 0;
    animation: slideRight .7s ease forwards ;
    animation-delay: .5s;
}

.habilidades-content p span{
    color: #cc30ff;
    font-weight: 600;
    transition: .3s;
}

.habilidades-content p span:hover{
    font-size: 25px;
    cursor: default;
    text-shadow: 0 0 10px #cc30ff;
}

.habilidades-content .content-tip{
    color: #a205d6;
    font-weight: 600;
}

.desc p{
    max-width: 450px;
    margin-right: -20px;
    font-size: 20px;
    opacity: 0;
    animation: zoomIn .7s ease forwards ;
    animation-delay: .7s;
}

.desc h2{
    margin-bottom: 5px;
    color: #cc30ff;
    opacity: 0;
    animation: zoomIn .7s ease forwards ;
    animation-delay: .7s;
}

.list{
    margin: 15px;
}

.list ul{
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
}

.list li {
    width: 50%;
    font-weight: 600;
    list-style: circle;
    padding: 15px 10px;
    opacity: 0;
    animation: slideBottom .7s ease forwards;
    animation-delay: calc(.2s * var(--i));
    transition: .3s;
}

.list li:hover {
    font-size: 20px;
    color: #cc30ff;
    cursor: default;
    text-shadow: 0 0 10px #cc30ff;
}

/* Responsividade */
@media (max-width: 768px) {
    .header{
        padding: 30px 5%;
    }

    .navbar a{
        font-size: 15px;
        margin-left: 20px;
    }

    .navbar a:hover,
    .navbar a.active{
        font-size: 15px;
    }

    .flags{
        top: 0px;
    }

    .home{
        padding: 70px 5% 0;
    }

    .home-content h1{
        font-size: 20px;
    }

    .home-content h3{
        font-size: 20px;
    }

    .home-content .btn{
        font-size: 10px;
        padding: 5px 5px;
    }

    .home-img img{
        max-width: 250px;
    }

    .multiple-text{
        font-size: 15px;
    }

    .multiple-text::before{
        content: "\A";
        white-space: pre;
    }

    .social-media a{
        width: 20px;
        height: 20px;
        margin: 0px 5px 15px 0px;
    }

    .about-img img{
        max-width: 150px;
    }

    .about h2{
        font-size: 15px;
    }

    .about li{
        font-size: 10px;
    }

    .about p{
        font-size: 10px;
    }

    .contato-content h3{
        font-size: 20px;
    }

    .contato-content li{
        font-size: 15px;
    }

    .habilidades-content h3{
        font-size: 20px;
    }

    .habilidades-content p{
        font-size: 12px;
    }

    .list li{
        font-size: 15px;
    }

    .desc h2{
        font-size: 15px;
    }

    .desc p{
        font-size: 10px;
    }
}


/* KEYBASE ANIMATION */
@keyframes slideRight{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop{
    0%{
        transform: translateY(100px);
        opacity: 0;
    }

    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideBottom{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }

    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes zoomIn{
    0%{
        transform: scale(0);
        opacity: 0;
    }

    100%{
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut{
    0%{
        transform: scale(2);
        opacity: 0;
    }

    100%{
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cascading {
    0%{
        transform: translateY(100);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}