* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body {
    background-color: #080808;
    color: #fff;
}

#header {
    width: 100%;
    height: 100vh;
}

.container {
    width: 100%;
    height: 100%;
}

#logo {
    width: auto;
    height: 8rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

nav ul {
    display: flex;
    gap: 1rem;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.home {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.leftside {
    width: 50%;
    padding: 0 2rem;
}

.headerText {
    font-size: 30px;
    margin-top: 20%;
    margin-left: 10%;
}

.headerText h1 {
    margin-top: 1.6rem;
}

.headerText h1 span {
    color: #ff004f;
}

.rightside {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.rightside img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* -------about starts here-------- */

.about{
    padding: 80px 0;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    height: 80vh;
    padding: 2.6rem;
}
.col1{
    flex-basis: 35%;
}
.col1 img{
    width: 450px;
    height: 100%;
}

.col2{
    flex-basis: 60%;
}
.about-me{
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.about-titles{
    display: flex;
    margin: 20px 0 10px;
    color:#969393;
}
.about-links{
    margin-right: 60px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.about-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.about-links.active-link::after{
    width: 50%;
}
.about-content ul{
    list-style: none;
    padding: .5rem;
}
.about-content ul li{
    margin: 10px 0 10px;
    color: #969393;
}
.about-content ul li span{
    color: #d0134f;
    font-weight: 500;
    font-size: 15px;
}
.about-content{
    display: none;
}
.about-content.active-content{
    display: block;
}

/* -------My Projects starts here-------- */
.projects{
    height: 100vh;
    width: 100%;
}
.projects-heading{
    font-size: 30px;
    font-weight: 600;
    margin : 0 40px;
    display: flex;
    justify-content: center;
    margin-top: -4rem;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 40px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.work img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transition: 0.5s;
}
.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;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    text-decoration: none;
    font-size: 20px;
    color:#ff004f;
    background-color: #fff;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50%;
    line-height: 59px;
}
.work img:hover{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 80px auto;
    border: 1px solid #ff004f;
    width: fit-content;
    padding: 14px 50px;
    text-decoration: none;
    color:#fff;
    border-radius: 8px;
    transition: 0.5s;
}
.btn:hover{
    background-color: #ff004f;
    transform: scale(1.1);
}

/* ------contact------- */

.contact-left{
    flex-basis: 35%;
}
.contact-left h1{
    font-size: 50px;
    font-weight: 600;
}
.contact-left p{
    margin-top: 20px;
}
.contact-left p i{
    color:#ff004f;
    margin-right: 15px;
    font-size: 28px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    color:#ababab;
    font-size:30px;
    text-decoration: none;
    margin-right: 15px;
    display: inline-block;
    transition: 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn1{
    display: inline-block;
}




.contact-right{
    flex-basis: 35%;
    
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    background: #262626;
    outline: none;
    border: 0;
    padding: 15px;
    font-size: 20px;
    margin: 15px 0;
    border-radius: 10px;
    color: white
}
.btn.btn2{
    background-color: #ff004f;
    display: inline-block;
    margin-top: 10px;
}
.copyrights{
    width: 100%;
    background: #262626;
    text-align: center;
    font-weight: 300;
    padding: 25px 0;
}