html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

#home{
    width: 100%;
    height: 100vh;
    background: #2C2D33;
    position: relative;
    top: 0%;
    right: 0%;
    overflow: hidden;
}

nav{
    width: 100%;
    position: fixed;
    top: 0;
    transition: .3s;
}

.sticky{
    background: #2C2D33;
    height: 80px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.conteiner{
    width: 80%;
    margin: auto;
    padding: 17px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img{
    cursor: pointer;
    position: absolute;
}

label{
    color: white;
    font-weight: 500;
    font-size: 30px;
    margin-left: 60px;
    
}

.conteiner ul li{
    display: inline-block;
    margin: 0 20px;
}

.conteiner ul li a{
    color: white;
    font-weight: 300;
}

.conteiner .menu ul li::after{
    content: '';
    display: block;
    background: #0078FF;
    width: 0%;
    height: 2px;
    margin-top: auto;
    transition:.3s;
}

.conteiner .menu ul li:hover::after{
    width: 100%;
}

nav #open , #close{
    display: none;
}

header .content{
    width: 80%;
    margin: auto;
    padding: 10% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content img{
    width: 420px;
    animation: up-down 2.5s infinite ease-in-out;
}

@keyframes up-down{
    0% {transform: translateY(-10px); z-index: -1;}
    50% {transform: translateY(20px); z-index: -1}
    100% {transform: translateY(-10px); z-index: -1}
}

.content span{
    font-size: 20px;
    font-weight: 400;
    color: #0078FF;
}

.content h1{
    color: white;
    font-size: 70px;
    font-weight: 500;
    line-height: 65px;
    margin-bottom: 40px;
}

.content p{
    color: #9B9B9B;
    line-height: 35px;
    margin-bottom: 40px;
    font-weight: 300;
    width: 65%;
    text-align: justify;
}

.content .left .btn{
    background: #0078FF;
    padding: 8px 20px;
    color: white;
    font-size: 17px;
    border-radius: 4px;
    transition: .3s;
}

.left .btn:hover{
    background: #0058bd;
    transition: .3s;
}
.content .btn-2{
    background: #37383D;
    padding: 8px 30px;
    color: #0078FF;
    font-size: 17px;
    border-radius: 4px;
    margin-left: 10px;
    transition: .3s;
}

.left .btn-2:hover{
    background: #0078FF;
    color: white;
    transition: .3s;
}

.line{
    width: 35%;
    height: 3px;
    background: #0078FF;
    position: absolute;
    left: 0;
    bottom: 85px;
}

@media(max-width : 600px){

    .line{
        display: none;
    }

    #home{
        width: 100%;
        height: 100vh;
        background: #2C2D33;
        position: relative;
        top: 0%;
        right: 0%;
        overflow: hidden;
    }
    header .content{
        height: 90%;
        margin: auto;
        padding: 20% 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .content span{
        font-size: 15px;
        font-weight: 400;
        color: #0078FF;
    }

    .content h1{
        color: white;
        font-size: 35px;
        font-weight: 500;
        line-height: 35px;
        margin-bottom: 20px;
    }

    .content p{
        color: #9B9B9B;
        line-height: 25px;
        font-size: 11px;
        margin-bottom: 20px;
        width: 100%;
    }

    .content img{
        width: 250px;
        animation: none;
    }

    .content .left{
        margin-top: 15px;
        margin-bottom: 60px;
    }

    .content .left .btn{
        background: #0078FF;
        padding: 8px 20px;
        color: white;
        font-size: 10px;
        border-radius: 3px;
    }
    
    .content .btn-2{
        background: #37383D;
        padding: 9px 30px;
        color: white;
        font-size: 10px;
        border-radius: 3px;
        margin-left: 10px;
    }

    .logo img{
        width: 30px;
        margin-top: 8px;
    }

    .logo label{
        margin-left: 40px;
        font-size: 22px;
        position: absolute;
        top: 25px;
    }

    .conteiner .menu{
        width: 170px;
        height: 100vh;
        background: #0078FF;
        position: fixed;
        top: 0;
        right: -170px;
        transition: all .3s ease;
    }

    .conteiner .menu ul li{
        display: block;
        margin: 20px;
    }

    nav #close{
        color: white;
        z-index: 100;
        background: none;
        outline: none;
        border: none;
        font-size: 30px;
        font-family: 400;
        cursor: pointer;
        display: block;
        margin: 20px;
        visibility: visible;
    }

    nav #open{
        color: white;
        background: none;
        outline: none;
        border: none;
        font-size: 30px;
        font-weight: 400;
        cursor: pointer;
        position: absolute;
        right: 13px;
        margin: 20px;
        display: block;
    }

    nav.sticky ul li a{
        color: white;
    }
}

/*----- About -----*/

#about{
    width: 100%;
    height: 100vh;
    background: #26272c;
    position: relative;
    overflow: hidden;
}

#about .conteiner{
    width: 79%;
    margin: auto;
    padding: 11% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#about .conteiner img{
    width: 420px;
    animation: up-down 2.5s infinite ease-in-out;
    animation-delay: 1.s;
}

@keyframes up-down{
    0% {transform: translateY(-10px); z-index: -1;}
    50% {transform: translateY(20px); z-index: -1}
    100% {transform: translateY(-10px); z-index: -1}
}

#about .conteiner h1{
    color: white;
    font-size: 40px;
    font-weight: 500;
    line-height: 65px;
    margin-bottom: 25px;
}

#about .conteiner p{
    color: #9B9B9B;
    line-height: 35px;
    margin-bottom: 50px;
    font-weight: 300;
    font-size: 16.5px;
    text-align: justify;
}

#about .conteiner .right{
    width: 45%;
}

.conteiner .btn{
    background: #0078FF;
    padding: 12px 20px;
    color: white;
    font-size: 17px;
    border-radius: 4px;
    transition: .3s;
}

.fas{
    margin-left:8px;
}

.conteiner a::before{
    content: '';
}

.conteiner .btn:hover{
    background: #0058bd;
    transition: .3s;
}

@media(max-width : 600px){

    #about{
        width: 100%;
        height: 700px;
        background: #26272c;
        position: relative;
        overflow: hidden;
    }

    #about .conteiner{
        width: 80%;
        margin: auto;
        padding: 12% 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
    #about .conteiner .right{
        width: 95%;
    }

    #about .conteiner img{
        width: 250px;
        animation: none;
    }

    #about .conteiner .left{
        margin-top: 100px;
    }

    #about .conteiner h1{
        color: white;
        font-size: 30px;
        font-weight: 500;
        line-height: 35px;
        margin-bottom: 20px;
    }
    
    #about .conteiner p{
        color: #9B9B9B;
        line-height: 22px;
        font-size:11px;
        margin-bottom: 20px;
    }

    .conteiner .btn{
        background: #0078FF;
        padding: 8px 20px;
        color: white;
        font-size: 10px;
        border-radius: 4px;
    }
}

/*----- Skill -----*/

#skill{
    width: 100%;
    height: 100vh;
    background: #2C2D33;
    position: relative;
    padding: 7% 0;
}

#skill .heading{
    margin-bottom: 15px;
}

#skill .heading h1{
    font-size: 40px;
    color: white;
    font-weight: 500;
    text-align: center;
}

#skill .heading p{
    color: #9B9B9B;
    font-weight: 300;
    font-size: 20px;
    text-align: center;
}

.my-skills{
    width: 80%;
    margin: auto;
    padding: 4% 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.my-skills .Skill-Name{
    width: 35%;
    padding: 30px 0;
    position: relative;
}

.my-skills .Skill-Name .head{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.my-skills .Skill-Name .head img{
    width: 30px;
    margin-right: 20px;
    color: #0078FF;
}

.my-skills .Skill-Name .head h3{
    font-size: 23px;
    font-weight: 500;
    color: white;
}

.my-skills .Skill-Name .skills{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
}

.my-skills .Skill-Name .skills h4,p{
    font-size: 17px;
    color: #9B9B9B;
    font-weight: 400;
}

/* -----Front-End Development----- */

.my-skills .Skill-Name .bars{
    width: 100%;
    background-color: #233C5C;
    height: 7px;
}

.my-skills .Skill-Name .bars .html{
    width: 85%;
    height: 7px;
    background-color: #0078FF;
}

.my-skills .Skill-Name .bars .css{
    width: 70%;
    height: 7px;
    background-color: #0078FF;
}

.my-skills .Skill-Name .bars .js{
    width: 50%;
    height: 7px;
    background-color: #0078FF;
}

/* -----Graphic & UI/UX Design----- */

.my-skills .Skill-Name .bars .ps{
    width: 90%;
    height: 7px;
    background-color: #0078FF;
}

.my-skills .Skill-Name .bars .ai{
    width: 80%;
    height: 7px;
    background-color: #0078FF;
}

.my-skills .Skill-Name .bars .xd{
    width: 80%;
    height: 7px;
    background-color: #0078FF;
}

@media(max-width : 600px){

    #skill{
        width: 100%;
        height: 900px;
        background: #2C2D33;
        position: relative;
        padding: 15% 0;
    }

    #skill .heading h1{
        font-size: 30px;
        color: white;
        font-weight: 500;
        text-align: center;
    }

    #skill .heading{
        margin-top: 20px;
    }
    
    #skill .heading p{
        color: #9B9B9B;
        font-weight: 300;
        font-size: 15px;
        text-align: center;
    }

    .my-skills{
        width: 80%;
        margin: auto;
        padding: 3% 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
    }

    .my-skills .Skill-Name{
        width: 90%;
        padding: 30px 0;
        position: relative;
    }

    .my-skills .Skill-Name .head h3{
        font-size: 17px;
        font-weight: 500;
        color: white;
    }

    .my-skills .skills p{
        font-size: 15px;
    }

    .my-skills .skills h4{
        font-size: 13px;
    }
}

/*----- Works -----*/

#works{
    width: 100%;
    height: 185vh;
    background: #2C2D33;
    padding: 5% 0;
}

#works .view{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    background:rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
}

#works .view img{
    width: 750px;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%,-50%)
}

#works .view button{
    position: absolute;
    top: 8.5%;
    right: 10%;
    transform: translate(-50%,-50%);
    color:white;
    font-size: 50px;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
}

#works .contenteiner{
    width: 80%;
    margin: auto;
    text-align: center;
}

#works .heading {
    text-align: center;
    margin: 30px 0;
}
#works .heading h1{
    font-size: 40px;
    color: white;
    font-weight: 500;
}

#works .heading p{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 100px;
    
}

#works .contenteiner .designs .row{
    display: flex;
    align-items: center;
    justify-content:space-between;
    margin-bottom: 50px;
}

#works .contenteiner .designs img{
    width: 370px;
    border-radius: 5px;
    box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: .3s;
}

#works .contenteiner .designs img:hover{
    transform:scale(0.9) rotate(2deg);
}

#works .contenteiner a{
    color: white;
    font-size: 20px;
    font-weight: 300;
    transition: .2s;
}

#works .contenteiner a:hover{
    color: #0078ff;
}

@media(max-width : 600px){
    #works{
        width: 100%;
        height: 2650px;
        background: #2C2D33;
        padding: 5% 0;
    }

    #works .heading h1{
        font-size: 30px;
        color: white;
        font-weight: 500;
        text-align: center;
    }
    
    #works .heading p{
        color: #9B9B9B;
        font-weight: 300;
        font-size: 15px;
        text-align: center;
    }

#works .contenteiner .designs .row{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 0px;
}

#works .contenteiner .designs img{
    width: 280px;
    border-radius: 5px;
    box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: .3s;
    margin-bottom: 50px;
}

#works .view{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    background:rgba(0, 0, 0, 0.85);
    z-index: 1000;
    /* display: none; */
}

#works .view img{
    width: 300px;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%,-50%)
}

#works .view button{
    position: absolute;
    top: 15%;
    right: 3%;
    transform: translate(-50%,-50%);
    color:white;
    font-size: 50px;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
}
    
}

/*----- Service -----*/

#service{
    width: 100%;
    height: 100vh;
    background: #26272c;
    padding: 7% 0;
}

#service .heading{
    text-align: center;
    margin-bottom: 40px;
    margin-top: 15px;
}

#service .heading h1{
    font-size: 40px;
    color: white;
    font-weight: 500;
}

#service .heading p{
    font-size: 20px;
    font-weight: 300;
}

#service .services{
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 3% 0;
}

#service .services .box{
    background: none;
    border: 2px solid #484952;
    padding: 40px 30px;
    border-radius: 5px;
    transition: .3s;
    width: 340px;
    height: 325px;
}

#service .services .box img{
    margin: 15px 0;
}

#service .services .box h3{
    color: white;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 15px;
}

#service .services .box p{
    font-size: 17px;
    font-weight: 300;
    line-height: 30px;
}

#service .services .box:hover{
    border-color: #0078FF;
    transition: .3s;
    transform: scale(1.08);
}

@media(max-width : 600px){

    #service{
        width: 100%;
        height: 1250px;
        background: #26272c;
        padding: 10% 0;
    }
    #service .heading{
        margin-top: 15px;
    }
    
    #service .heading h1{
        font-size: 30px;
        color: white;
        font-weight: 500;
    }

    #service .heading p{
        font-size: 16px;
        font-weight: 300;
    }

    #service .services{
        width: 80%;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
        text-align: center;
        padding: 3% 0;
        flex-direction: column;
    }

    #service .services .box{
        background: none;
        border: 2px solid #484952;
        padding: 30px 20px;
        border-radius: 4px;
        transition: .3s;
        margin: 30px 0;
        width: 290px;
        height: 285px;
    }

    #service .services .box img{
        margin: 10px 0;
    }
    
    #service .services .box h3{
        color: white;
        font-weight: 500;
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    #service .services .box p{
        font-size: 15px;
        font-weight: 300;
        line-height: 30px;
    }
    
    
}


/*----- Contact -----*/

#contact{
    width: 100%;
    height: 100vh;
    background: #2C2D33;
    padding: 5%;
    position: relative;
}

#contact .heading{
    text-align: center;
    padding: 45px 0;
}

#contact .heading h1{
    color: white;
    font-size: 40px;
    font-weight: 500;
}

#contact form .inputs{
    display: flex;
    flex-direction: column;
    width: 25%;
    position: absolute;
    top: 60%;
    left: 49%;
    transform: translate(-50%,-50%);
}

#contact form .inputs input{
    /* padding: 15px 70px 15px 50px; */
    width: 108%;
    height: 50px;
    padding-left: 50px;
    background: #26272c;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #9B9B9B;
    margin: 10px 0;
    position: relative;
    font-size: 15px;
}


#contact form .inputs .field{
    position: relative;
}

#contact form .inputs .field p{
    color: #c20101;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 10px;
}

#contact form .inputs i{
    color: #0078FF;
    position: absolute;
    top: 28px;
    left: 10px;
    z-index: 1;
}

textarea {
    min-width: 108%;
    max-width: 108%;
    min-height: 140px;
    max-height: 200px;
    padding: 15px 55px 15px 50px;
    background: #26272c;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #9B9B9B;
    margin: 10px 0;
    position: relative;
    font-weight: 300;
    font-size: 15px;
}

.submit button{
    background: #26272c;
    color: white;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 108%;
    padding: 15px 10px;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer; 
    transition: .2s;
}

.submit button:hover{
    background: #0078FF;
    transition: .3s;
}

@media(max-width : 600px){

    #contact{
        width: 100%;
        height: 685px;
        background: #2C2D33;
        padding: 15%;
        position: relative;
    }
    #contact .heading{
        text-align: center;
        padding: 40px 0;
    }
    
    #contact .heading h1{
        color: white;
        font-size: 30px;
        font-weight: 500;
    }

    #contact form .inputs{
        display: flex;
        flex-direction: column;
        width: 30%;
        position: absolute;
        top: 58%;
        left: 28%;
        transform: translate(-50%,-50%);
    }
    
    #contact form .inputs input{
        padding: 13px 0 13px 50px;
        background: #26272c;
        outline: none;
        border: none;
        border-radius: 5px;
        color: #9B9B9B;
        margin: 10px 0;
        position: relative;
        font-size: 12px;
        width: 250%;
    }
    
    #contact form .inputs .field{
        position: relative;
    }
    
    #contact form .inputs .field p{
        color: #c20101;
        font-size: 12px;
        font-weight: 300;
        margin-bottom: 10px;
    }
    
    #contact form .inputs i{
        color: #0078FF;
        position: absolute;
        top: 25px;
        left: 10px;
        z-index: 1;
    }

    textarea {
        resize: none;
        padding: 13px 0 13px 50px;
        width: 250%;
        max-width: 250%;
        background: #26272c;
        outline: none;
        border: none;
        border-radius: 5px;
        color: #9B9B9B;
        margin: 10px 0;
        position: relative;
        font-weight: 300;
        font-size: 12px;
    }

    .submit button{
        background: #26272c;
        color: white;
        border: none;
        border-radius: 5px;
        outline: none;
        width: 250%;
        padding: 15px 10px;
        font-size: 12px;
        margin-top: 10px;
        cursor: pointer; 
        transition: .2s;
    }
}

/*----- Project -----*/

.Project{
    width: 100%;
    height: 70vh;
    background-color: #26272c;
}

.Project .conteiner{
    width: 79%;
    height: 50vh;
    margin: auto;
    display: flex;
    align-self: center;
    justify-content: space-between;
    padding: 5% 5%;
    background-color:#0078FF;
    border-radius: 15px;
}

.Project .conteiner .left{
    margin-bottom: 25px;
}

.Project .conteiner .left h2{
    color: white;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 15px;
}

.Project .conteiner p{
    color: white;
    line-height: 30px;
    margin-bottom: 20px;
}

.Project .conteiner .left a{
    background:none;
    border: 2px solid white;
    border-radius: 4px;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    transition: .2s;
}

.Project .conteiner .left a:hover{
    background-color: white;
    color: #0078FF;
    transition: .2s;
}

.Project .conteiner .left .hire{
    background:none;
    border: 2px solid white;
    border-radius: 4px;
    color: white;
    padding: 10px 25px;
    margin-right: 10px;
}

.Project .conteiner .right{
    margin-top: 10px;
}

.Project .conteiner .right img{
    width: 245px;
}


@media(max-width : 600px){

    .Project{
        width: 100%;
        height: 90vh;
        background-color:#0078FF;
    }
    .Project .conteiner{
        width: 80%;
        margin: auto;
        display: flex;
        align-self: center;
        justify-content: space-between;
        padding: 10% 0;
        flex-direction: column;
    }

    .Project .conteiner .left h2{
        color: white;
        font-size: 25px;
        font-weight: 500;
        margin-bottom: 25px;
    }

    .Project .conteiner p{
        color: white;
        line-height: 25px;
        font-size: 12px;
    }

    .Project .left a{
        background:none;
        border-radius: 2px;
        color: white;
        padding: 8px 20px;
        margin-top: 15px;
        transition: .2s;
        font-size: 10px;
    }
    .Project .conteiner .right img{
        width: 180px;
        margin-top: 60px;
        position: absolute;
        left: 40px;
    }
}

/*----- Footer -----*/

.footer{
    width: 100%;
    height: 100px;
    background-color: #26272c;
    /* padding: 5% 0; */
    position: relative;
}

.social-media{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.fab{
    margin: 0 15px;
    color: white;
    font-size: 18px;
    transition: .3s;
}

.fab:hover{
    color: #0078FF;
}

@media(max-width:600px){
    .fab{
        margin: 0 10px;
        color: white;
        font-size: 15px;
        transition: .3s;
    }
}

/*----- Pre-Loader -----*/

#loader{
    width: 100%;
    height: 100vh;
    background: #2C2D33;
    position: fixed;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 2s;
}


.one{
    background:#2C2D33;
    width: 150px;
    height: 150px;
    animation: spin 2s infinite linear;
    border: 15px solid #26272c;
    border-top: 15px solid #0078FF;
    border-radius: 50%;
    
}

@keyframes spin{

    100%{
        transform: rotate(360deg);
}

}

@media(max-width:600px){
    .one{
        background:#2C2D33;
        width: 100px;
        height: 100px;
        animation: spin 2s infinite linear;
        border: 12px solid #26272c;
        border-top: 12px solid #0078FF;
        border-radius: 50%;
        
    }
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #0078ff #26272c;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 20px;
  }

  *::-webkit-scrollbar-track {
    background: #26272c;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #0078ff;
    border-radius: 10px;
  }