/*  import google fonts */
@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;
}

/* scroll bar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(250, 211, 250);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background:rgb(104, 43, 104);

}

::-webkit-scrollbar-thumb:hover {
    background:palevioletred;
}

/* all similar content styling codes */
section{
    padding: 100px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .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 .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background:rgb(104, 43, 104);
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color:palevioletred ;
    padding: 0 5px;
    background:palevioletred ;
    transform: translateX(-50%);
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background:rgb(104, 43, 104);
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color:palevioletred ;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: pink;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color:palevioletred ;
        font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover{
    color: rgb(104, 43, 104) ;
    border-bottom: 3px solid rgb(104, 43, 104) ;
    border-radius: 4px;
  
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: rgb(104, 43, 104) ;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}


/* home section styling */
.home{
    display: flex;
    background: url("images/banner.jpg") no-repeat center;
    height: auto;
    color: #fff;
    min-height: 300px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
    background: rgb(61, 23, 61);
    
}
.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
.home .home-content{
margin-left: 15%;
}
.home .home-content .text-1{
    font-size: 35px;
    padding-bottom: 2%;
}
.home .home-content .text-2{
    font-size: 45px;
    margin-left: -3px;
    padding-bottom: 2%;
}
.home .home-content .text-3{
   
    margin: 5px 0;
    font-size: 50px;
    font-weight: 500;
    

}
.home .home-content .text-3 span{
    color: rgb(61, 23, 61);;
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background:rgb(61, 23, 61);;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid rgb(61, 23, 61);;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: rgb(61, 23, 61);;
    background: none;
   
}
.home-content{
   margin:10%;
}

/* about section styling */
.about .title::after{
    content: "who i am";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
    color: rgb(61, 23, 61);
}
.about .about-content .right .text{
    font-size: 19.48px;
    font-weight: 550;
    margin-bottom: 10px;
    font-style:italic;
}
.about .about-content .right .text span{
    color:rgb(61, 23, 61);;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background:rgb(61, 23, 61); ;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid rgb(61, 23, 61);
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color:palevioletred  ;
    background: none;
}

/* projects section styling */
.services, .teams{
    color:#fff;
    background:rgb(61, 23, 61);
}
.services .title::before,
.teams .title::before{
    background: #fff;
}
.services .title::after,
.teams .title::after{
    background: rgb(61, 23, 61);
    content: "what I've built";
}
.services .serv-content .card{
    width: calc(33% - 20px);
    background-color: white;
    color:rgb(61, 23, 61);
    text-align: center;
    border-radius: 6px;
    padding: 70px 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-top: 40px;
}
.services .serv-content .card:hover{
    background:rgb(227, 225, 227) ;
}
.services .serv-content .card .box{
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card i{
    font-size: 50px;
    color:rgb(61, 23, 61);;
    transition: color 0.3s ease;
}
.services .serv-content .card:hover i{
    color: #fff;
}
.services .serv-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
 .view a{
    font-size: 20px;
    font-weight: 500;
    color: rgb(61, 23, 61); 
}
.view a:hover{
    color: rgb(61, 23, 61);
    border-bottom: 3px solid  rgb(61, 23, 61);;
}
img{
    height: 200px;
    width: 300px;
}


/* contact section styling */
.contact .title::after{
    content: "get in touch";
}
.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-main-div{
    width: 100%;
    height: auto;
    margin: auto;
    padding: 15px 0px;
  

}

.footer-social-icons{
    width: 100%;
    height: auto;
    margin:auto
}
.footer-social-icons ul{
    margin: 0px;
    padding: 0px;
    text-align: center;
}
.footer-social-icons ul li{
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px 10px;
    border-radius: 100%;
    background-color: rgb(61, 23, 61); ;
}
.footer-social-icons ul li a{
    color: whitesmoke;
    font-size: 25px;
}
.footer-social-icons ul a i{
    line-height: 50px;
}

.copyright{
    padding: 40px;
    text-align:center ;
    background-color: rgb(61, 23, 61); 
    color:#fff;
   
    

}


/* footer section styling */
.title{
    color:#fff;
    text-align: center;
}
#title2{
    color:palevioletred;
    text-align: center;
    
}

footer span a{
    color:rgb(104, 43, 104) ;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;


}


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

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

    }

}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        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;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .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 .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .services .serv-content .card .text{
        text-align: center;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

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

@media (max-width: 500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: 19px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}


