* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body {
    background: #0c0c0c;
    color: #fff;
    /* position: relative; */
    z-index: 2;
}

/* #header {
    width: 100%;
    height: 100vh;
    /* background-image: url(assests/background3.png); */
/* background-size: cover;
    background-position: center; */
/* padding-left: 400px;
    margin-top: 50px; */
/* position: relative;
        left: 400px;
        top: 80px;
} */
#header{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center ;
    background-image: url(ales-nesetril-Im7lZjxeLhg-unsplash.jpg);
}

/* #header img {
    height: 400px;
    width: 500px;
    padding-bottom: 20px;
    position: absolute;
    left: 700px;
    top: 120px;

} */

h5 {
    height: 100px;
    width: 400px;
    color: #fff;
    font-family: serif;
    font-size: 40px;
    margin-top: 18px;

}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav h5{
    margin-top: 40px;
}
nav h5 span {
    color: #ff004f;

}
.header-text p span{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 35px;
    font-weight:500px ;
}

nav ul li {
    margin-bottom: 100px;
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
      margin-top: -60px;
      font-size: 50px;

}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0px;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: 0.8s;
}

nav ul li a:hover::after {
    width: 100%;

}

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

.header-text h1 {
    font-size: 50px;
    margin-top: 20px;
}
.header-text p{
    font-size: 20px;
   margin-top: 20px;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   font-weight: 300;
}

.header-text h1 span {
    color: #ff004f;
}

/* ----------About me-------------------- */


#about {
    padding: 10px 0px;
    color: ababab;
    /* margin-top: 200px; */
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;

}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    border-radius: 15px;
    width: 100%;
}

.about-col-2 {
    flex-basis: 55%;
    font-size: 20px;
}

.sub-title {
    font-weight: 60px;
    font-size: xx-large;
    color: #fff;
}

.abt {
    margin-top: 20px;
}

.tab-titles {
    display: flex;
    /* justify-content: space-around; */
    margin: 20px 0 40px;
    font-size: 25px;

}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500px;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0px;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0px;
    bottom: -5px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-weight: 400;
    font-size: 22px;
    font-weight: lighter;
    margin-top: 15px;

}

.tab-contents ul li span {
    color: #ae1c4a;
    font-size: 25px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif ;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* -----------------portfolio----------------- */
#portfolio {

    /* border: #ff004f solid 2px;  */
    bottom: -50px;
    position: relative;
}

.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;
}
#portfolio .heading{
   display: flex;
   align-items: center;
   justify-content: center;
   font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.work img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transform: 0.2s;
}

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

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}

.work:hover img {
    transform: scale(1.5);


}

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

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 60px;
    border-radius: 6px;
    color: #ff004f;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;

}

.btn:hover {
    background: #ff004f;
}

/* ----------------contact-------------- */
.contact-left {
    flex-basis: 35%;

}

.contact-right {
    flex-basis: 60%;

}

.contact-left p {
    margin-top: 30px;
    font-size: 20px;
}

.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 35px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #ff004f;
    transform: translateY(-15px);
}

.btn.btn2 {
    display: inline-block;
    background: #f50a58;
}

.contact-right form {
    width: 100%;

}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-left: 15px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0px;
    background: #262626;
    font-weight: 300px;
    margin-bottom: 30px;
}



/* --------CSS for Small screen----- */
nav .fa-solid{
    display: none;
}
@media only screen and (max-width:600px) {
    /* #header { */
        /* background-image: url(./assests/Back1\ \(1\).png); */
        /* background-size: 200px 100px;
        background-position: 30px 0; */
      /* position: absolute;
      top: 0px;
      left: 0px;
      padding-right: 350px; */
    /* } */
    .header-text {
        margin-top: 0%;
        font-size: 16px;
    }
    #header nav h5{
        font-size: 20px;
    }
    .header-text p span{
        font-size: 24px;
    }
   
    .header-text h1{
        font-size: 25px;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #0b0b0b;
        position: fixed;
        top: 0px;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 20px;
        cursor: pointer;
    }
    nav .fa-solid.fa-bars{
        position: absolute;
        top: 45px;
        right: 12%;
       color: #fafafa;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1,.about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    #portfolio .heading{
        font-size: 20px;
    }
    .tab-links{
        font-size: 20px;
        margin-right: 20px;
    }
    .contact-left,.contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 20px ;
    }
    .contact-left p {
        margin-top: 30px;
        font-size: 18px;
    }
    .contact-right{
        margin-right: 24px;
    }
    
    
}
#msg{
    color: #6652b7;
    margin-top: -40px;
    margin-left: 25px;
    display: block;
}
