*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: montserrat;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url('./images/back3.png');
    background-size: cover;
    background-position: center;
 
  
}




.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo{
    width: 140px;;
    
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    cursor: pointer;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;

}
nav ul li a:hover::after{
    width: 100%;
    transition: all 0.4s ease-in-out ;
}
.header-text{
    margin-top: 20%;
    font-size: 1.3rem;
}
.header-text h1{
    font-size: 3.6rem;
    margin-top: 20px;
}
.header-text p {
    text-align: start;
    width: 60%;
}
.header-text h1 span{
    color: #ff004f;
}

/*ABOUT*/
#about{
    
    padding: 80px 0;
    color: #ababab;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-left{
    flex-basis: 35%;
}
.about-left img{
    width: 100%;
    border-radius: 15px;
}

.about-right{
    flex-basis: 60%;
}
.about-para{
    margin-top: 5px ;
    line-height: 1.6rem;
}
.subTitle{
    font-size: 3.6rem;
    font-weight: 600;
    color: white;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
}
.tab-links.active-link::after{
    width: 50%;
    transition: 0.6s ease-in-out;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
   
  

}
/* SKILLS */
.tab-contents ul li span{
    color: #b54769;
    font-size: 0.8rem;
    font-weight: bold;
    
}

/* For all skills education and exp   */

.tab-contents{
    display: none;
    
}

.tab-contents.active-tab{
    display: block;
    
  
}

/*SERVICES CSS*/
.center{
    display: flex;
    justify-content: center;
}
#services{
    padding: 30px 0;
}
.service-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.service-list div{
    background: #262626;
    padding: 40px;
    font-size: 0.99rem;
    font-weight: 300;
    border-radius: 10px ;
    transition: background 0.5s, transform 0.5s;
}

.service-list div i{
    font-size: 50px;
    margin-bottom: 30px;

}
.service-list div h2{
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.service-list div a {
    color: #fff;
    text-decoration:  none;
    font-size: 0.99rem;
    margin-top: 1.2rem;
    font-weight: 500;
    display: inline-block;
}
.service-list div p b{
    color: #ff004f;
}

.service-list div:hover{
    background: #ff004f;;
    color: white ;
    transform: translateY(-10px);
    transition: 0.5s ease-in-out;
}
.service-list div:hover p b {
    color: white;
}

.service-list div:hover a{
    color: #262626;
    font-weight: 700;
}

/*PORTFOLIO*/

#portfolio{
    padding: 50px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;

}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img{
    width: 100%;
    display: block;
    transition: transform 0.5s ease-in-out;
}

.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(7, 5, 5, 0.7), #770227c9);
    position: absolute;
    border-radius: 10px;
    left: 0;
    bottom:0 ;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: start;
    font-size: 0.9rem;
    transition: height 0.5s ease-in-out;

}
.layer h3{
    font-weight: 500;
    font-size: 1.4rem;
}

.layer a{
    color: #ff004f;
    background: #fff;
    font-size: 1.2rem;
    border-radius: 50px;
    text-align: center;
    padding: 16px;
    margin-top: 1.4rem;
    width: 60px;
    height: 60px;
}
.work:hover img{
    transform: scale(1.4);
    
}

.work:hover .layer{
    height: 100%;
    border-radius: 10px;

}
/* Add Git link in Button if you want to */
/* .btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s ease-in-out;
    transition: transform ease-in-out;
}

.btn:hover{
    background-color: #ff004f;
    transform: scale(1.1);
}
*/

/*----Contact-------*/
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left a{
    align-items: center;
    text-decoration: none;
    color: white;
 
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 1.7rem;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    font-size: 1.7rem;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
}
.social-icons a:hover{
    color: #ff004f;
    transform: scale(1.4);
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s ease-in-out;
    transition: transform ease-in-out;
}

.btn.btn-left:hover{
    background: #ffb5cdde;
    transform: scale(1.-1);
    font-weight: bold;
}
.btn.btn-left{
    display: inline-block;
    background: #ff004f;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 1rem;
    margin: 1rem 0;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 6px;


}
form .btn-left{
    padding: 1rem 3rem;
    font-size: 1.1rem;
    margin-top: 20px;
    cursor: pointer;

}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright span{
    margin-top: 20px;
    font-size: 10px;
}
nav .fas{
    display: none;
}

/* CSS  Media Query for responsive plan */

@media only screen and (max-width: 600px){
    #header{
        background-image: url('./images/photo3.png');
        background-position: center;
        background-size: cover;

    }
    .header-text{
        margin-top: 100%;
        font-size: 0.8rem;
    }
    .header-text p.mainHead{
        font-size: 1.1rem;
    }
    .header-text p{
        font-size: 0.8rem;
        text-align: start;
        width: 85%;
        margin-top: 5px;
    }
    .header-text h1{
        font-size: 1.5rem;
    }
    nav .fas{
        display: block;
        font-size: 1.8rem;
    }
   
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -500px;
        width: 250px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s ease-in-out;
    }
    nav ul li{
        display: block;
        margin: 1.4rem
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .subTitle{
        font-size: 2.5rem;
    }
    .about-left, .about-right{
        flex-basis: 100%;
    }
    .about-left{
        margin-bottom: 30px;
    }
    .about-right{
        font-size: 0.8rem;
        
    }
    .tab-links{
        font-size: 1rem;
        margin-right: 20px;
    }
    .service-list{
        font-size: 1.3rem;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 0.8rem;
    }
    .copyright span{
        font-size: 0.5;
    }
}
