@import url(*https://fonts.googleapis.com/css2?family=poppins:wght@400;500;600;700&family=ubuntu:wght@400;500;700&display=swap*);
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
} 
.max-width{
    max-width: 1300px;
    padding: 80px;
}


/* home section styling */
.navbar{
    display: fixed;
    width: 100%;
    padding: 30px 0;
    font-family: 'ubuntu', sans-serif;
}
.navbar .logo a{
    color: black;
    font-size: 55px;
    font-weight: 900;
}
.navbar .logo a span{
    color: blue;
}
.homebar{
    display: flex;
    background: url(lastjonny.jpg) no-repeat;
    height: 200vh;
    color: black;
    min-height: 300px;
    font-family: 'ubuntu', sans-serif;
}


.homebar .home .max-width{
    margin: auto 0 auto 50px;
    padding-left: 50px;
    position: relative;
    left: 50px;
    top: 50px;
}
.homebar .home .home-content .text-1{
    font-size: 27px;
    color: black;
    font-family: sans-serif;
}
.homebar .home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -6px;
}
.homebar .home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.homebar .home .home-content .text-3 span{
     color: blue;
     font-weight: 500;
}
.homebar .home .home-content a{
    display: inline-block;
    background: white;
    color: black;
    font-size: 25px;
    padding: 12px 36px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid white;
    transition: all 0.3 ease;
}
.homebar .home .home-content a:hover{
    color: blue;
    background: none;
}

/* all similar content styling code */
.about, .services, .skills, .contact, .footer{
    font-family: 'poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section{
    padding: 100px 0;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding: 20px;
    font-family: 'ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -12px;
    left: 50%;
    font-size: 20px;
    color: blue;
    padding: 5px;
    background: white;
    transform: translateX(-50%);
}

/* about section styling */
.about .title::after{
    content: "who i am";
}


.about .about-content .left{
    width: 30%;
}
.about .about-content .left img{
    height: 350px;
    width:  350px; 
    object-fit: cover;
    border-radius: 6px;  
}
.about .about-content .right{
    width: 55%;
    right: 60px;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: cornflowerblue;
}

/* Services section styling */
.services, .contact{
    color: white;
    background: black;
}
.services .title{
    color: cornflowerblue;
}
.services .title::before{
    background: white;
}
.Services .title::after{
    content: "what i provides";
    background: cornflowerblue;
}
.services .serv-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 .serv-content .card:hover{
    background: blue;
}
.services .serv-content .card .box{
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
    color: cornflowerblue;
}






/* skills section styling */
.skills .title::after{
    content: "what i know";
}
.skills .skills-content .column{
    width: calc(50% - 50px);
}
.skills .skills-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.skills .skills-content .column-right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .column-right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .column-right span{
    font-weight: 800;
    font-size: 20px;
}
.skills .skills-content .column-right .line{
    height: 5px;
    width: 100%;
    background: lightgray;
    position: relative;
}
.skills .skills-content .column-right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: cornflowerblue;
}
.skills-content .column-right .html::before{
    width: 90%;
}
.skills-content .column-right .css::before{
    width: 56%;
}
.skills-content .column-right .js::before{
    width: 70%;
}
.skills-content .column-right .php::before{
    width: 50%;
}
.skills-content .column-right .mysql::before{
    width: 70%;
}

/* contact section styling */
.contact .title::after{
    background: black;
    content: "get in touch";
}
.contact .title::before{
    background: white;
}
.contact .contact-content .column{
    width: calc(50% - 30px)
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px ;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 100px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row .info i{
    font-size: 25px;
    color: cornflowerblue;
}
.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .contact-content .info .sub-title{
    color: cornflowerblue;
}
.contact .contact-content .info .button{
    width: 80%;
    height: 50%;
    border: 2px solid white;
    background: cornflowerblue;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact .contact-content .info .button:hover{
    background: white;
    color: blue;
    box-shadow: 0 0 10px black;
}
.contact .right .fields{
    display: flex;
}
.contact .right form .textarea{
    height: 80px;
}
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .email{
    margin-left: 10px;
}
.contact .right form .fields .input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 6px;
    outline: none;
    padding: 0  15px;
    font-size: 17px;
    font-family: 'poppins', sans-serif;
}
.contact .right form .textarea textarea{
    padding-top: 10px;
    resize: none;
}
.contact .right form .botton{
    height: 47px;
    width: 170px;
}
.contact .right form .botton button{
    width: 100%;
    height: 100%;
    border: 2px solid cornflowerblue;
    background: cornflowerblue;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact .right form .botton button:hover{
    color: cornflowerblue;
    background: none;
}

/* footer section styling */
footer{
    background: white;
    padding: 20px 2px;
}
footer span a{
    color: cornflowerblue;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}


/*  responsive media query start */
@media (max-width: 1300px){
    .navbar .max-width{
        height: 150px;
        width:  150px; 
        object-fit: cover;
        border-radius: px; 
    }
   
    .homebar .home .max-width{
        margin-left: 50px;
        height: 50px
    }

}  
@media (max-width: 1104px){
    .about .about-content .left img{
        height: 300px;
        width:  300px; 
        
    }
}
@media (max-width: 991px){
    .max-width{
        padding: 0 50px  
    }
}    
@media (max-width: 947px){
    
    
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: white;
        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: 25px;
    }
    .homebar .home .home-content .text-2{
        font-size: 70px;
    }
    .homebar .home .home-content .text-3{
        font-size: 35px;
    }
    .homebar .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 800px;
    }
    .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%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}
@media (max-width: 690px){
    .homebar .home .max-width{
        padding: 0 23px;
    }

    .homebar .home .home-content .text-2{
        font-size: 60px;
    }
    .homebar .home .home-content .text-3{
        font-size: 32px;
    }
    .homebar .home .home-content a{
        font-size: 20px;
    }
    .services .serv-content .card{
        width: 100%;
    }
}    
@media (max-width: 500px){
    .homebar .home .max-width{
        padding: 0 17px;
    }


    .homebar .home .home-content .text-2{
        font-size: 50px;
    }
    .homebar .home .home-content .text-3{
        font-size: 27px;
    }
}    
@media (max-width: 300px){
    .homebar .home .max-width{
      padding: 0 8px
    }
    .homebar .home .home-content .text-2{
        font-size: 35px;
    }
    .homebar .home .home-content .text-3{
        font-size: 17px;
    }

}
 
