@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body{
    background: lightpink;
}
html{
    scroll-behavior: smooth;
}
.main{
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
}

.navbar{
    width: 100%;
    display: flex;
    margin: auto;
    padding: 15px 0;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo{
    width: 100px;
    cursor: pointer;
    margin-top: 0%;
    margin-left: 1%;
}

ul{
    margin-top: -2%;
}

ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 30px;

}

ul li a{
    font-size: 20px;
    text-decoration: none;
    font-weight: 100;
    margin-top: -2%;
    color: black;
}

ul li a:hover{
    color: deeppink;
}

.info{
    margin-left: 5%;
    margin-top: 18%;

}

.info h4{
    font-size: 18px;
}

.info h1{
    font-size: 50px;
    letter-spacing: 1px;

}
.info span{
    color: deeppink;
}

.info a{
    text-decoration: none;
    color: beige;
    background: deeppink;
    margin: 26px 0;
    padding: 10px 18px;
    border-radius: 10px;
    display: inline-block;
    transition: .4s ease;
}

.info a:hover{
    background-color: mediumorchid;
}

.image{
    width: 30%;
    height: 60%;
    position: absolute;
    right: 100px;
    bottom: 0;
}

.image img{
    position: absolute;
    height: 140%;
    left: 50%;
    transform: translate(-55%);
    bottom: 0;
    transition: left 2s ease;
}

.image:hover .girl{
    left: 55%;
}

/*-----------------about---------------*/

#about{
    padding: 80px 0;
    color: black;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

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

.about-col-1 img{
    height:100%;
    border-radius: 10px;
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 50px;
    font-weight: 600;
    color: black;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

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

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

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

.tab-contents ul li{
    list-style: none;
    margin: 4px 1px;
    width: 100%;
    color: deeppink;
    font-size: 18px;
}

.tab-contents ul li span{
    color: black;
    font-size: 17px;
}

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

/*------------------skills--------------*/

#skills{
    padding: 30px 0;
    margin-left: 30px;
}

.skills-list{
    display: grid;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 50px;
    margin-top: 50px;
}

.skills-list div{
      background: palevioletred;
      padding: 40px;
      font-size: 14px;
      font-weight: 300;
      border-radius: 10px;
      transition: background 0.5s,transform 0.5s;
}

.skills-list div i{
    font-size: 40px;
    margin-bottom: 30px;
    background: transparent;
}

.skills-list div h2{
     font-size: 30px;
     font-weight: 500;
     margin-bottom: 15px;
     background: transparent;
}

.skills-list div a{
    text-decoration: none;
    color: black;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    background: transparent;
}
.skills-list p{
    background: transparent;
}
.skills-list div:hover{
    background: deeppink;
    transform: translateY(-10px);
}

/*----------projects-----------*/
#project{
    padding: 50px 0;
    margin-left: 30px;
}
.project-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 60px;
    margin-top: 50px;
}
.project{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.project img{
    width: 80%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 90%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), deeppink);
    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: 16px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
   margin-top: 20px;
   color: black; 
   text-decoration: none;
   font-size: 16px;
   line-height: 40px;
   background: deeppink;
   width: 60px;
   height: 50px;
   text-align: center;
   border-radius: 50px;
}
.project:hover img{
    transform: scale(1.1);
}
.project:hover .layer{
    height: 100%;
}

.btn{
    display: block;
    margin: 30px auto;
    width: fit-content;
    border: 2px solid black;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    transition: background 0.5s;
}

.btn:hover{
    background: deeppink;
}

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

.contact-left{
    flex-basis: 35%;
    margin-left: 30px;
}

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

.contact-left p{
    margin-top: 30px;
    gap: 10px;
    align-items: center;
    display: flex;
}
.contact-left p{
    color: black;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: black;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: deeppink;
    transform: translateY(-5px);
}

.contact-right form{
      width: 100%;
}
form input, form textarea{
    width: 70%;
    border: 0;
    outline: none;
    background: floralwhite;
    padding: 8px;
    margin: 15px 0;
    color: black;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 10px 30px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
    background: deeppink;
    border-radius: 4px;
    margin-left: 10px;
    display: block;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px;
    font-weight: 300;
    margin-top: 20px;
    background: transparent;
}

