@media screen and (max-width: 960px){
    .bg-img{
        position: fixed;
    }
    .home{
        margin-top: 20%;
    }
    .home .right{
        justify-content: flex-end;
        padding-right: 20px;
    }
    .home .right .image,
    .home .right img{
        width: 160px;
        height: 160px;
    }
    .home .name{
        font-size: 36px;
    }
    .home div{
        font-size: 24px;
    }
    .home .tag{
        font-size: 24px;
    }
    .home .tag div{
        margin-top: 10px;
    }
    .about-me h2{
        margin-bottom: 40px;
    }
    .contact{
        /* flex-direction: column; */
        flex-wrap: wrap;
    }
    .contact .first{
        width: 30%;
    }
    .contact .second{
        width: 60%;
    }
    .contact .third{
        padding: 0 10px;
    }
    @keyframes animate1 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 188px;}
    }
    @keyframes animate2 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 160px;}
    }
    
}
@media screen and (max-width: 720px){
    .home{
        width: 100%;
        margin-top: 25%;
    }
    .home .left{
        width: 70%;
    }
    .home .right{
        width: 30%;
        padding-right: 50px;
    }
    .home .name{
        font-size: 24px;
    }
    .home div{
        font-size: 18px;
    }
    .home .tag{
        font-size: 18px;
        height: 30px;
    }
    .home .tag div{
        margin-top: 2px;
        height: 30px;
    }
    .home .btn a{
        padding: 6px 7px;
        font-size: 14px;
    }
    .home .btn{
        margin-top: 20%;
    }
    .navbar .links{
        flex-direction: column;
        position: absolute;
        top: 0;
        height: 100vh;
        width: 150px;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.8);
        padding-top: 100px;
    }
    .navbar .links li{
        width: fit-content;
        margin: 20px 0;
    }
    .navbar i{
        margin-right: 30px;
        display: block;
        color: #fff;
        cursor: pointer;
        z-index: 1;
    }
    .menu-bar{
        transition: all 0.5s ease;
        right: 0;
    }
    .hide-menu-bar{
        transition: all 0.3s ease;
        right: -200px;
    }
    @keyframes animate1 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 142px;}
    }
    @keyframes animate2 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 121px;}
    }
    .bg-img{
        height: 110vh;
    }
    .bg-img::before{
        height: 110vh;
    }
}

/* 520 */
@media screen and (max-width: 520px){
    .home{
        margin-top: 30%;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }
    .home .right{
        margin-bottom: 20px;
    }
    .home .right .image,
    .home .right img{
        width: 130px;
        height: 130px;
    }
    .home .btn{
        margin-top: 20%;
    }
    .home .name{
        font-size: 20px;
    }
    .home div{
        font-size: 14px;
    }
    .home .tag{
        height: 30px;
        font-size: 14px;
    }
    .home .tag div{
        height: 20px;
        margin-top: 0px;
    }
    .about{
        flex-direction: column;
    }
    .about .right{
        width: 95%;
        padding: 0 10px;
        text-align: justify;
    }
    .about .right p.name{
        font-size: 22px;
    }
    @keyframes animate1 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 110px;}
    }
    @keyframes animate2 {
        0%,8.329%{width: 0px;}
        90%, 100%{width: 93px;}
    }
    .bg-img{
        height: 110vh;
    }
    .bg-img::before{
        height: 110vh;
    }

}
@media screen and (max-width: 620px) {
    .contact{
        flex-direction: column;
    }
    .contact .first,
    .contact .second,
    .contact .third{
        width: 100%;
        margin-bottom: 20px;
    }
    .contact .third{
        /* margin-top: 20px; */
        padding: 0 10px;
    }
    .contact-me h2{
        margin-bottom: 30px;
    }
}