*{
    margin: 0px;
    padding: 0px;
    font-family:'Courier New', Courier, monospace;
    box-sizing: border-box;
}
#greet{
    font-weight: 900;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #000000;
    color: white;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(/images/harsh_black.jpg);
    background-size: 50%;
    background-position: right;
    background-repeat: no-repeat;
}
.container{
    padding: 15px 5%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 140px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 20px 15px 15px ;
}
nav ul li a{
    text-decoration: none;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: relative;
    font-size: 3.3vh;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: skyblue;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 1.3s;
}
nav ul li a:hover::after{
    
    width: 80%;
}
nav ul li a:hover::after{
    width: 100%;
    background: rgb(181, 3, 205);
}

.header-text{
    margin-top: 12%;
    font-size: 30px;
}


.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span{
    color: rgb(213, 10, 10);
}

/* -------------ABOUT */
#about{
    padding: 80px 0 ;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.col1{
    flex-basis: 35%;    /*flex column size*/
}
.col1 img{
    width: 100%;
    border-radius: 15px;
}
.col2{
    flex-basis: 60%;
}
.subtitle{
    /* font-size: 60px; */
    font-weight: 600;
}
.subtitle{
    display: flex;
    margin: 20px 0 40px;
}
.tablinks{
    margin-right: 18px;
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tablinks::after{
    content: '';
    width: 0;
    height: 3px;
    background: red;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tablinks1::after{
    width: 50%;
}
.tabcontents{
    display: none;
}
.tabcontents.activetab{
    display: block;
}
/* --------SERVICES */
.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: rgb(36, 36, 36);
    padding: 15px;
    font-weight: 20px;
    border-radius: 5px;
}
.service-list div i{
    margin-left: 30%;
    font-size: 35px;
    margin-bottom: 40px;
    transition: background 0.5s,transform 0.5s;
}

.service-list div h2{

    font-size: 30px;
    font-weight: 1500;
}
.service-list div a{
    text-decoration: none;
    color: aqua;
    display: inline-block;
    margin-top:20px;
}
.service-list div:hover{
    background: rgb(198, 9, 50);
    transform: translateY(-30px);
    transition-duration: 1s;
}
/* -------------------PORTFOLIO */
#portfolio{
    padding: 15px;
}
.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{
    display: block;
    width: 100%;
    transition: transform 0.5s;

}
.work .layer{
    width: 100%;
    background:linear-gradient(rgba(0,0,0,0.6),#ff004f);
    height: 0;
    position: absolute;
    border-radius: 10px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
    text-align: center;
    transition: height 0.5s;
    
    

}
.work:hover img{
    transform: scale(1.1);
}

.work:hover .layer{
    height: 100%;
}

.layer h3{
    font-weight: 800;
}
.layer a{
    margin-top: 20px;
    color: rgb(230, 21, 56);
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 70px;
    text-align: center;
}
.btn{
    border: 2px solid rgb(234, 21, 127);
    width: fit-content;
    margin: 20px auto;
    display: block;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background 0.5s;
}
.btn:hover{
    background: rgb(234, 21, 127);
    font-weight: 700;
}

/* -----------------contact */
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 35%;
}
.contact-left p{
    margin-top: 10px;
}
.contact-left p i{
    color: rgb(195, 16, 82);
    font-size: 15px;
}
.contact-left i{
    margin-top: 5px;
    margin-left: 5px;
    color: rgb(236, 15, 170);
    transition: transform 0.5s ;
}
.social-icons i:hover{
    transform: scale(1.5);
    color: yellow;
}
.btn.btn2{
    display: inline-block;
    color: white;
    text-decoration: none;
    width: auto;
    background-color: rgb(174, 9, 105);
    margin: 5px;
    padding: 5px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;

}
.contact-right form{
    width: 100%;
}
form input,form textarea{
    /* background-color: #4d4749; */
    background-color: black;
    border: 3px solid rgb(174, 9, 105);
    margin: 3px 1px;
    width: 100%;
    color: rgb(174, 9, 105);
}

/* -------------footer */
footer{
    background: rgb(54, 56, 56);
    height: 50px;
    width: 100%;
    text-align: center;
    
}
footer p{
    padding: 15px;
}
footer p i{
    color: red;
}

/* ---------------------MEDIA QUERY */
nav .material-icons{
    display: none;
}
@media only screen and (max-width:600px){
    #header{
        background-image: url(/images/harsh_black.jpg);
        background-position: center;
    }
    .header-text{
        margin-top: 10%;
        font-size: 32px;
    }
    
    
    .header-text h1{
        font-size: 50px;
        margin-top: 400px;
    }

    nav .material-icons{
        display: block;
        cursor: pointer;
    }
    nav ul{
        border-radius: 5px;
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        height: 100vh;
        width: 200px;
        padding-top: 50px;
        z-index: 2;transition:right 0.5s;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul i{
        position: absolute;
        top: 15px;
        cursor: pointer;
    }
    
    .subtitle{
        font-size: 40px;
       
    }
    .col1,.col2{
        flex-basis: 100%;
    }
    .subtitle p{
        font-size: 20px;
        text-align: center;
    }
    .contact-right{
        margin-top: 25px;
    }
    .contact-left,.contact-right{
        flex-basis: 100%;
    }
    footer p{
        font-size: 10px;
        font-weight: 900;
    }
}
#msg{
    font-size: 10px;
    color: yellow;
}