@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,900;1,500;1,700&family=Poppins:ital,wght@0,100;0,400;0,800;1,400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
.scroll-up-btn{
    background: rgb(51, 123, 206);
    right: 30px;
    width: 42px;
    height: 45px;
    position: fixed;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
}
.scroll-up-btn.show{

    bottom: 30px;
    opacity: 1;
    pointer-events: auto;

}
/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
    z-index: 999;
}
.navbar.sticky{
    padding: 30px 0;
    background: rgb(51, 123, 206); 
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    text-decoration: none;
    font-weight: 600;
}
.navbar.sticky .logo a span{
    color: #fff;
    transition: all 0.3s ease;    
}
.navbar .logo a span{
    color: rgb(69, 153, 233);
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    text-decoration: none;
    transition: color 0.3 ease-in-out;
}
.navbar .menu li a:hover{
    color: rgb(51, 123, 206);
    background: white;
    border-radius: 6px;
    padding: 10px 14px;
}
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;

}

/* Home section styling */
.home{
    display: flex;
    background: url("./images/isjnayeq23qnf324rfgd-k7.jpeg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    font-family: 'Poppins', sans-serif;    
}
.home .max-width{
    margin: auto 0 auto 40px;

}
.home .home-content .text-1{
    font-size: 18px;
}
.home .home-content .text-2{
    font-size: 50px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 23px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: rgb(69, 153, 233);
    font-weight: 700;
  }
  .home .home-content a{
      display: inline-block;
      background-color: rgb(69, 153, 233);
      color: #fff;
      font-size: 25px;
      margin-top: 20px;
      padding: 12px 36px;
      text-decoration: none;
      border-radius: 6px;
      border: 2px solid rgb(69, 153, 233);
      transition: all 0.3 ease;
  }
  .home .home-content a:hover{
    background: none;
    color: #fff;
}

/* Similar styling here */
section{
    padding: 100px 0;
}
.about, .services, .skills, .contact, footer{
    font-family: 'Barlow Condensed', sans-serif;
}
section .title{
    font-family: 'Poppins', sans-serif;   
    text-align: center;
    position: relative; 
    font-weight: 500;
    font-size: 40px;
    margin-bottom: 60px;
    padding-bottom: 20px;
    text-align: center;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    width: 180px;
    height: 3px;
    left: 50%;
    background:#111;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -17px;
    left: 50%;
    font-size: 20px;
    color: rgb(51, 123, 206);
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);

}

/* About styling */


.about .title::after{
    content: "Who I am";
}
.about .about-content,
.services .services-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    width: 370px;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: rgb(51, 123, 206);
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background-color: rgb(69, 153, 233);
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid rgb(69, 153, 233);
    transition: all 0.3 ease;
}
.about .about-content .right a:hover{
    color: rgb(51, 123, 206);
    background: none;
}

/* services section here */
.services{
    background: #111;
    color: #fff;
}
.services .title::before{
    background: #fff;
}
.services .title::after{
    content: "what i provide";
    background: #111;
}
.services .services-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.services .services-content .card:hover{
    background: rgb(51, 123, 206);    
}
.services .services-content .card:hover i{
    color: #fff;
}
.services .services-content .card .box{
    transition: all 0.3s ease;
}
.services .services-content .card:hover .box{
    transform: scale(1.05);
}
.services .services-content .card i{
    color: rgb(51, 123, 206);
    font-size: 50px;
}
.services .services-content .card .text{
    font-weight: 700;
    font-size: 25px;
    margin: 10px 0 7px 0;
}

/* SKills section styling here */

.skills .title::after{
    content: "what i know";
}
.skills .skills-content .column{
    width: calc(50% - 30px);
}
.skills .skills-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.skills .skills-content .left p{
    text-align: justify;
}
.skills .skills-content .left a{
    display: inline-block;
    background-color: rgb(69, 153, 233);
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid rgb(69, 153, 233);
    transition: all 0.3 ease;
}
.skills .skills-content .left a:hover{
    color: rgb(51, 123, 206);
    background: none;
}
.skills .skills-content .right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    justify-content: space-between;
    align-items: center;
}
.skills .skills-content .right span{
    font-weight: 500;
    font-size: 18px;
}


.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: rgb(51, 123, 206);
}
.skills .skills-content .right .html::before{
    width: 90%;
}
.skills .skills-content .right .css::before{
    width: 65%;
}
.skills .skills-content .right .js::before{
    width: 80%;
}
.skills .skills-content .right .php::before{
    width: 60%;
}
.skills .skills-content .right .laravel::before{
    width: 80%;
}
.skills .skills-content .right .reactjs::before{
    width: 70%;
}
.skills .skills-content .right .ui-design::before{
    width: 70%;
}
.skills .skills-content .right .mysql::before{
    width: 85%;
}
.skills .skills-content .right .nosql::before{
    width: 90%;
}
.skills .skills-content .right .git::before{
    width: 75%;
}


/* Contact styling here */
.contact{
    background: #222;
}
.contact .title{
    color: #fff;
}
.contact .title::after{
    content: "get in touch";
    background: #222;

}
.contact .contact-content .column{
    width: calc(50% - 30px);

}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}
.contact .contact-content .left p{
    text-align: justify;
    color: #fff;

}
.contact .contact-content .left .icons{
    margin:  10px 0;
}
.contact .contact-content .row{
    display: flex;
    align-items: center;
    height: 65px;
    color: #fff;

}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: rgb(51, 123, 206);
}
.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .contact-content .info .sub-title{
    color: #fff;    
}
.contact .right form .fields{
    display: flex;
    margin-bottom: 10px;
    font-family: 'Barlow Condensed', sans-serif;
}
.contact .right form .fields,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .email{
    margin-left: 10px;
}
.contact .right form .subject{
    margin: 10px 0px;
    height: 45px;
    width: 100%;
}
.contact .right form .field input{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding: 0 15px;
    outline: none;
    font-size: 18px;
}
.contact .right form .field textarea{
    height: 120px;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding: 0 15px;
    outline: none;
    font-size: 18px;
}
.contact .right form .button{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.contact .right form .button button{
    height: 40px;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    background: rgb(51, 123, 206);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}
.contact .right form .button button:hover{    
    background: none;
    color: rgb(51, 123, 206);
}

/* Footer styling */

footer{
    padding-top: 20px 23px;
    background: #111;
    color: #fff;
    text-align: center;
}
footer span a{
    color: rgb(51, 123, 206);
    text-decoration: none;
    margin-right: 10px;
}
footer span a:hover{
    text-decoration: underline;
}





  /* responsive media query */

  @media (max-width:1300px ){
    .home .max-width{
        margin-left: 0px;    
    }
}

@media (max-width:1104px ){
    .about .about-content .left img{
        height: 350px;
        width: 270px;
    }
}

@media (max-width:991px ){
    .max-width{
        padding: 0px 50px;    
    }
}

  @media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;    
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .max-width{
        padding: 0 50px;
    }

    .navbar .menu{
        position: fixed;
        background: #111;
        width: 100%;
        height: 100vh;
        left: -100%;
        top: 0;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;

    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 26px;
    }
    .home .home-content .text-2{
        font-size: 45px;
    }
    .home .home-content .text-3{
        font-size: 18px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .about .about-content .column{
        width: 100%;

    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .max-width{
        max-width: 800px;
    }
    .services .services-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column{
        width: 100%;
        margin-bottom: 30px;
    }
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 30px;
    }
  }

  @media (max-width:690px ){
    .max-width{
        padding: 0px 23px;    
    }
    .home .home-content .text-2{
        font-size:60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
        padding: 8px 20px;
    }
    .services .services-content .card,
    .skills .skills-content .column{
        width: 100%;
    }
}


@media (max-width:500px ){
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
        line-height: 2.3;
    }
}

/* about section media query */