*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration: none;
}

.max-width{
    max-width:1300px;
    padding: 0 80px;
    margin:auto;
}

html{
    scroll-behavior:smooth;
}
/* navbar styling */
.navbar{
    position:fixed;
    width:100%;
    padding: 20px 0;
    /* background-color:indigo; */
    font-family: 'Ubuntu',sans-serif;
    z-index:999;
    transition:all 0.3s ease;
}
.navbar.sticky{
    padding:15px 0;
    background:indigo;
}
.navbar.sticky .logo a span{
    color:#fff;

}
.navbar .max-width{
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color:#fff;
    font-size: 30px;
    font-weight: 600;
    
}
.navbar .logo a span{
    color:indigo;
}
.navbar .menu li{
    list-style:none;
    display:inline-block;
}
.navbar .menu li a{
    color:#fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition:color 0.3s ease;
   
}
.navbar .menu li a:hover{
    color:gold;
}
/* all similar content styling code */

section{
    padding:100px 0;
}
.about,.skills,.contact,footer{
    font-family: 'Poppins',sans-serif;
}
.about .about-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;
    left:50%;
    bottom:0px;
    width:180px;
    height:3px;
    background:#111;
    transform:translateX(-50%);
}
section .title::after{
    position:absolute;
    left:50%;
    bottom:-12px;
    font-size:20px;
    background:#fff;
    color:indigo;
    padding:5px;
    transform:translateX(-50%);
}
/* about section starts */
.about .title::after{
    content:"who i am";
}

.about .about-content .left{
    width:45%;
}
.about .about-content .left img{
    height:300px;
    width:300px;
    object-fit:cover;
    border-radius:180px;
}
.about .about-content .right{
    width:50%;
    font-size:medium;
}
.about .about-content .right .text{
    font-size:25px;
    font-weight:600;
    margin-bottom:10px;
}
.about .about-content .right .text span{
    color:indigo;
}
.about .about-content .right p{
    text-align:justify;
}

/* skills section styling */
.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;
    margin-right:30px;
}
.skills .skills-content .left a{
    display:inline-block;
    background:indigo;
    color:#fff;
    font-size:18px;
    font-weight:500;
    padding:8px 16px;
    margin-top:20px;
    border-radius:6px;
    border:2px solid indigo;
    transition:all 0.3s ease;
}
.skills .skills-content .left a:hover{
    color:indigo;
    background:none;
}
.skills .skills-content .right .bars{
    margin-bottom:30px;
}
.skills .skills-content .right .info{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.skills .skills-content .right span{
    font-weight:500;
    font-size:18px;
    /* margin-bottom: 10px; */
}
.skills .skills-content .right .line{
    height:5px;
    width:100%;
    background:lightgrey;
    position:relative;
    margin-bottom: 10px;
}
.skills .skills-content .right .line::before{
    content:"";
    position:absolute;
    height: 100%;
    left:0;
    top:0;
    background:indigo;
}
.skills-content .right .html::before{
    width: 85%;
}
.skills-content .right .css::before{
    width: 75%;
}
.skills-content .right .javascript::before{
    width: 50%;
}
.skills-content .right .python::before{
    width: 80%;
}
.skills-content .right .cpp::before{
    width: 70%;
}
.skills-content .right .ds::before{
    width: 60%;
}
.skills-content .right .ml::before{
    width: 50%;
}

/* achievements section styling */
.achievements .title::after{
    content:"what i achieve";
}
.achievements p{
    font-size: x-large;
    color:indigo;
    text-align:center;

}
/* projects section styling */
.projects .title::after{
    content:"what i did";
}
.projects p{
    font-size: x-large;
    color:indigo;
    text-align: center;
}
/* menu btn styling */
.menu-btn{
    color:#fff;
    font-size:23px;
    cursor:pointer;
    display:none;

}
/* .scroll-up-btn{
    position:fixed;
    height:45px;
    width:42px;
    background:indigo;
    right:30px;
    bottom:10px;
    text-align:center;
    line-height:45px;
    color:#fff;
    z-index:9999;
    font-size:30px;
    border-radius:8px;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:all 0.3s ease;
}
.scroll-up-btn:show{
    bottom:30px;
    opacity:1;
    pointer-events:auto;

} */
/* home section styling */
.home{
    background-image: url('http://www.pixelstalk.net/wp-content/uploads/2016/05/Beautiful-Purple-Wallpaper.jpg');
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;/* Resize the background image to cover the entire container */
    display:flex;
    height:100vh;
    color:#fff;
    min-height:500px;
    font-family: 'Ubuntu',sans-serif;
}
.home .max-width{
    margin: auto 0 auto 40px;
}
.home .home-content .text-1{
    font-size:32px;
}
.home .home-content .text-2{
    font-size:50px;
    font-weight:500;
    margin-left:-3px;
}
.home .home-content .text-3{
    font-size:46px;
    margin-bottom: 20px;
    
}
.home .home-content .text-3 span{
    color:indigo ;
    font-weight:900;
}
.home .home-content a{
    display:inline-block;
    background:indigo;
    color:#fff;
    font-size:25px;
    padding:12px 36px;
    margin-top:20px;
    margin-bottom:20px;
    border-radius:6px;
    border: 2px solid indigo;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color:indigo;
    background:none;
}
.wrapper .button{
    display:inline-block;
    height: 40px;
    width: 40px;
    /* float:left; */
    overflow:hidden;
    margin:0 5px;
    background-color:indigo;
    border: 2px solid indigo;
    border-radius:50px;
    cursor:pointer;
    transition:all 0.3s ease-out;
    text-align:center;
    
}
.wrapper .button:hover{
    width: 200px;
    color:indigo;
    background:none;
}
.wrapper .button .icon{
    display: inline-block;
    height:40px;
    width:40px;
    text-align:center;
    border-radius: 50px;
    box-sizing:border-box;
    line-height:40px;
    transition:all 0.3s ease-out;
    margin:auto;
}
.wrapper .button .icon i{
    font-size: 25px;
    line-height: 40px;
    text-align:center;
    margin-right:10px;
    margin-left:6px;
    margin-bottom: 18px;
}
.wrapper .button a{
    font-size:20px;
    font-weight: 500;
    padding:0;
    margin:0;
    border:none;
    background-color: none;
}
/* 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;
}
.contact .contact-content .left p{
    text-align:justify;
}
.contact .contact-content .left .icons{
    margin:10px 0;
}
.contact .contact-content .row{
    display:flex;
    height:65px;
    align-items:center;
}
.contact .contact-content .row .info{
    margin-left:30px;
}
.contact .contact-content .row .i{
    font-size:25px;
    color:indigo;
}
.contact .contact-content .info .head{
    font-weight:500;
}
.contact .contact-content .info .sub-title{
    color:indigo ;
}
.contact .right form .field,
.contact .right form .fields .field{
    height:45px;
    width:100%;
    margin-bottom:15px;
}
.contact .right{
    margin-bottom:20%;
}
.contact .right form .textarea{
    height:80px;
    width:100%;
}
.contact .right form .name{
    margin-right:10px;
}
.contact .right form .email{
    margin-right:10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height:100%;
    width:100%;
    border:1px solid lightgrey;
    border-radius:6px;
    outline:none;
    padding:0 15px;
    font-family:'Poppins',sans-serif;
}
.contact .right form .textarea textarea{
    padding-top:10px;
    resize:none;
}
.contact .right form .field input:hover,
.contact .right form .textarea textarea:hover{
    background-color:rgb(231, 228, 228);
    color:indigo;
}
/* status section starts */
#status {
    width: 90%;
    max-width: 500px;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    border-radius: 8px;
  }
  #status.success {
    background-color: rgb(211, 250, 153);
    animation: status 4s ease forwards;
  }
  #status.error {
    background-color: rgb(250, 129, 92);
    color: white;
    animation: status 4s ease forwards;
  }
  @keyframes status {
    0% {
      opacity: 1;
      pointer-events: all;
    }
    90% {
      opacity: 1;
      pointer-events: all;
    }
    100% {
      opacity: 0;
      pointer-events: none;
    }
  }
 /* status section ends  */

.contact .right form .button{
    height:47px;
    width:170px;
}
.contact .right form .button button{
    width:100%;
    height:100%;
    border:2px solid indigo;
    background:indigo;
    color:#fff;
    font-size:20px;
    font-weight:500;
    border-radius:6px;
    cursor:pointer;
    transition:all 0.3s ease;
}
.contact .right form .button button:hover{
    color:indigo;
    background:none;

}
/* footer section styling */
footer{
    margin-top:150px;
    background:#111;
    padding:20px 23px;
    color: #fff;
    text-align-last: center;
}
footer span a{
    color: indigo;
    text-decoration:none;
}
footer span a:hover{
    text-decoration: underline;
}

/* responsive media query start */
@media(max-width: 1300px){
    .home .max-width{
        margin-left:0px;
    }
}
@media(max-width: 1104px){
    .about .about-content .left img{
        height:200px;
        width:200px;
    }
}
@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:black;
        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:45px;
        
    }
    .home .home-content .text-3{
        font-size:38px;
        font-weight:900;
       
    }
    .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%;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width:100%;
        margin-bottom:35px;
    }
    .wrapper .button a{
        font-size:18px;
        font-weight: 500;
        padding:0;
        margin:0;
        border:none;
    }
    .wrapper .button:hover{
        width: 180px;
        color:indigo;
        background:none;
    }

}
@media(max-width: 690px){
    .max-width{
        padding:0 23px;
    }
    .home .home-content .text-1{
        font-size:31px;
    }

    .home .home-content .text-2{
        font-size:45px;
        font-weight:600;
        
    }
    .home .home-content .text-3{
        font-size:32px;
        font-weight:900;
       
    }
    .home .home-content a{
        font-size:20px;
        padding:9px 25px;
    }
    .wrapper .button a{
        font-size:15px;
        font-weight: 500;
        padding:0;
        margin:0;
        border:none;
    }
    .wrapper .button:hover{
        width: 160px;
        color:indigo;
        background:none;
    }

}
@media(max-width: 500px){
    .home .home-content .text-1{
        font-size:31px;
    }

    .home .home-content .text-2{
        font-size:38px;
        font-weight:600;
        
    }
    .home .home-content .text-3{
        font-size:28px;
        font-weight:900;
       
    }
    

}