
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/*navbar section*/
.navbar{
    display: fixed;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    background: white;
    border-radius: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.5s linear; 
    z-index: 1;
    
}



.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.navbar .logo a{
    color: black;
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo a:hover{
    color: red;


}

.navbar .logo a span{
    color: red;
}

.navbar .logo a span:hover{
    color: blue;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
}

.navbar .menu li a{
    display: block;
    color: black;
    font-size: 23px;
    font-weight: 600;
    margin-left: 30px;
    transition: all 0.3s ease; 
    
}


.navbar .menu li a:hover{
    color: orange;

}

.navbar ul .current a{
    color: red;
    font-weight: bold;
}


/*Menu Button*/
.menu-btn{
cursor: pointer;


}

/*home section*/  

.home{
    display: flex;
    background: url("images/laptop.png") repeat center;
    height: 100vh ;
    color: red;
    min-height: 500px;
    max-height: 720px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'montserrat' , sans-serif;


}

.home .max-width{
    margin: auto 0 auto 30px;
}

.home .home-content .text-1{
    font-size: 25px;

}

.home .home-content .text-2{
    font-size: 50px;
    font-weight: 700;
    margin: -3px;
    
}

.home .home-content .text-3{
    font-size: 25px;
    
}

.home .home-content a{
    display: inline-block;
    background: red;
    color: white;
    font-size: 20px;
    padding: 12px 36px;
    margin-top: 30px;
    border-radius: 20px;
    transition: all 0.5s linear; 
    
}

.home .home-content a:hover{
    color: red;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: all 0.5s ease;
    

}


/*about section*/

section{
    padding: 100px 0;
}

.about{
    display: flex;
    background: url("images/banner-5.jpg") repeat center;
    background-size: cover;
    background-attachment: scroll;
    font-family: 'Monserrat' , sans-serif;
}

.about .title{
    text-align: center;
    font-size: 30px;
    padding-bottom: 50px;
}

.about .about-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

}

.about .about-content .left{
    width: 45%;

}

.about .about-content .left img{
    height: 300px;
    width: 300px;
    object-fit: cover;
    border-radius: 18px;
}


.about .about-content .right{
    width: 55%;

}
.about .about-content .right .text{
    margin-bottom: 20px;

}


.about .about-content .right p{
    font-size: 20px;
    text-align: justify;
}

/*services section*/

.services{
    color: black;
    background-color:white;
}

.services .title{
   font-family: 'Montserrat', sans-serif; 
   color: white;
   text-align: center;
   font-size: 30px;
   padding-bottom: 50px;
   padding-top: 30px;

}

.services .services-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

}

.services .services-content .card{
    width: calc(33% - 20px);
    background: white;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    border-radius: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;

}

.services .services-content .card:hover{
    background: rgb(247, 248, 248); 
 }

.services .services-content .card .box{
    transition: all 0.3 ease;
}

.services .services-content .card .box:hover{
    transform: scale(1.05);
}
.services .services-content .card img{
    height: 60px;
    width: 60px;
}



.services .services-content .text{
    font-family: 'Montserrat', sans-serif;
    font-size: 25px; 
    margin: 10px 0;
    font-weight: 600;
}

.services .services-content p{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

/*skills section*/
.skills{
    display: flex;
    background: url("images/banner-3.jpg") repeat center;
    background-size: cover;
    background-attachment: fixed;  
    font-family: 'Montserrat', sans-serif;   
    font-size: 18px;
}

.skills .title{
    text-align: center;
    font-size: 30px;
    padding-bottom: 50px;
}

.skills .skills-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.skills .skills-content .column{
    width: calc(50% - 30px);
}

.skills .skills-content .left .text{
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.skills .skills-content .left p{
   text-align: justify;
   font-size: 18px; 
}

.skills .skills-content .left a{
    display: inline-block;
    background: red;
    color: white;
    font-size: 20px;
    padding: 12px 36px;
    margin-top: 30px;
    border-radius: 20px;
}

.skills .skills-content .left a:hover{
    color: red;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
   
}


.skills .skills-content .right .bar{
    margin-bottom: 15px;
}


.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}

.skills .skills-content .right .info:hover{
    color: red;
}

.skills .skills-content .right span{
    font-weight: 600;
    font-size: 18px;
    padding: 5px;
}

.skills .skills-content .right .line{
    height: 10px;
    width: 100%;
    background: lightgray;
    position: relative;
}

.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    right: 0;
    background: white;  
    box-shadow: 0 4px 8px red;
    transition: all 0.5s ease;
}

.skills .skills-content .right .html::before{
    width: 90%;
}

.skills .skills-content .right .css::before{
    width: 90%;
}

.skills .skills-content .right .js::before{
    width: 80%;
}

.skills .skills-content .right .php::before{
    width: 80%;
}

.skills .skills-content .right .mysql::before{
    width: 90%;
}

/*contact section*/
.contact{
    display: flex;
    background: url("images/banner-4.jpg") repeat center;
    background-size: cover;
    background-attachment: fixed;
    font-family: "Monserrat" , sans-serif;

}

.contact .title{
    text-align: center;
    font-size: 30px;
    padding-bottom: 50px;
}

.contact .contact-content{
   display: flex;
   flex-wrap: wrap; 
   align-items: center;
   justify-content: space-between;
}

.contact .contact-content .column{
    width: calc(50% - 30px);
}

.contact .contact-content .column .text{
    color: red;;
    font-size: 25px;
    font-weight: 600;
    margin: 10 0px;  
}

.contact .contact-content .left p{
    font-style: 18px;
    text-align: justify;

}

.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}

.contact .contact-content .row .info{
    margin-left: 30px;
}

.contact .contact-content .left img{
    height: 20px;
    width: 20px;
}

.contact .contact-content .info .head{
    color: red;
    font-weight: 600;
    padding: 5px 0;
}

.contact .contact-content .info .sub-title{
    font-weight: 600;
    color: #000;
}

.contact .right form .fields{
    display: flex;
}

.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 10px;
}

.contact .right form .textarea{
    height: 80px;
    width: 100%;

}

.contact .right form  .name{
    margin-right: 10px;

}

.contact .right form .email{
    margin-left: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
   border-color: red; 
}

.contact .right form .textarea textarea{
    padding-top: 10px;
    resize: none;
} 

.contact .right form .button{
    height: 50px;
    width: 180px;
}

.contact .right form .button button{
   width: 100%; 
   height: 100%;
   background: red;
   border: 2px solid red;
   outline: none;
   color: white;
   font-size: 18px; 
   border-radius: 6px;
   cursor: pointer;
}

.contact .right form .button button:hover{
    color: red;
    border: 2px solid white;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

/*footer section*/
footer{
    font-family: 'Montserrat' ,sans-serif;
    color: white;
    background: black;
    text-align: center;
    padding: 50px 25px;
}

footer span a{
    color: red;
    text-decoration: none;
}

footer span a:hover{
    color: rgb(248, 153, 10);
}

/*responsive media query*/
@media (max-width: 1920px){
    .home .max-width{
    margin-left: 0;
    }
    .menu-btn{
      display: none;  
      z-index: 999;
    }
}

@media (max-width: 1104px){
    .about .about-content .left img{
    height: 350px;
    width: 350px;  
    }

    .menu-btn{
        display: none ;  
        z-index: 999;
      }

}

@media (max-width: 991px){
   .max-width{
    padding: 0 50px;
   } 
   .menu-btn{
    display: none;  
    z-index: 999;
  }
}

@media (max-width: 947px){
    .menu-btn{
        display: block;  
        z-index: 999;
      }
    .navbar .menu{
        position: fixed;
        height: 80vh;
        width: 70%;
        left: -100%;
        top: 0;
        background: rgb(116, 109, 109);
        opacity: 90%;
        text-align: center;
        padding-top: 80px;
        transition: all 0.4s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }

    .navbar .menu li a{
        display: inline-block;
        margin: 20px;
        font-size: 25px;
    }


    .home .home-content .text-2{
    font-size: 30px;
    }
    .home .home-content a{
    font-size: 10px;
    }
    .max-width{
    max-width: 930px;
    }
    .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 .services-content .card{
        width: calc(50% - 10px);
        margin-bottom: 35px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
       width: 100%; 
       margin-bottom: 35px;
    }

    
}

    
    @media (max-width: 690px){
        .max-width{
            padding: 0 23px;
        }
        .services .services-content .card{
            width: 100%;
        }
    }
    @media (max-width: 500px){
        .contact .right form .fields{
            flex-direction: column;
        
        }
        .contact .right form .name,
        .contact .right form .email{
            margin: 0;
        }

    }




























    

















