@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");

*{
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
    font-family: "Be Vietnam Pro", sans-serif;
}

.wrapper{
    height:100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.container{
/* height: 100%; */
width: 75rem;
margin:0 auto;
}

.nav-bar{
    display: flex;
    padding-top: 1rem;
   justify-content: space-between;
   align-items: center;
   /* margin-left: 15%;
   margin-right: 15%; */
}

.parag{
    display: flex;
    align-items: center;
    justify-content: baseline;
}

.Plogo{
    width: 20px;
    margin-left: 0;
}

.leftover{
    margin-left: -0.2rem;
    font-size: 28px;
}

.right-nav{
    display: flex;
    justify-content:baseline;
    align-items: center;
    gap: 2rem;
    padding:0 4rem;
}

.right-nav-parts{
    font-weight: 20px;
    font-weight: 500;
    color: black;
    text-decoration:none;
}

.right-nav-parts:hover{
    font-weight: bold;
    transition: 0.8s;
}

.hero-section{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap:5rem;
    margin:4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;
}

.hero-section-left{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* position: relative; */
}

.hi{
    font-size: 35px;
    color: #343d68;
    font-weight: 500;
}

.slider-prev{
    font-size: 45px;
    line-height: 45px;
}

.role{
    color: #4e45d5;
    font-weight: 800;
}

.intro{
    margin-top: 1rem;
    width: 70%;
    font-weight: 500;
}


  .btn-pink {
    background-color: #e84949;
    width: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    position: relative;
    z-index: 1;
  }
  .btn-pink::before {
    content: "";
    position: absolute;
    background-color: white;
    top: 0;
    left : 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s;
   
  }

  .btn-pink:hover::before {
    transform: scaleX(1);
    
  }
  .btn-pink:hover {
    color: black;

  }

.hero-section-right{
    display: flex;
    position: relative;
}

.absolute{
    position: absolute;
    z-index: 10;
}

.user-image{
    padding: 2.5rem;
    transition: all 1s;
    animation-name: photo;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-duration: 5s;
    
}

.user-image img{
    z-index: -10;
}

@keyframes photo {
    0%{
        transform: scale(1);
        filter:grayscale(0);
    }

    50%{
        transform: scale(1.1);
        filter: grayscale(1);
        box-shadow: 3px 3px 10px black;
    }

    100%{
        transform: scale(1);
        filter:grayscale(0);
    }
}

.cube{
    top: -0.8em;
    right: 1em;
    animation-name: cubic;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    
}

@keyframes cubic {
    0%{
        transform: rotateY(0deg) translateY(0px);
    }
 
    50%{
        transform: translateY(-12px) rotateY(180deg);
    }
    100%{
        transform: rotateY(360deg) translateY(0px);
    }
}

.dots{
    bottom: 0;
    right: 0;
    animation-name: dut;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

}

@keyframes dut {
    50%{
        transform: translateY(-12px);
    }
}

.plus{
    top: -0.8rem;
    left: 50%;
    animation: sum 5s ease-in  infinite ;
}

@keyframes sum {
    50%{
        top: 3%;
        left: 48%;
    }
}

.circle{
    left: 0;
    bottom: 0;
    animation-name: sphere;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes sphere{
    50%{
        left:5%;
        bottom:10%;
    }
}



.zigzag{
    top: 1.5em;
    left: -0.3em;
    animation-name: zz;
    animation-duration: 5s;
    animation-timing-function:ease-in;
    animation-iteration-count: infinite;
}

@keyframes zz{
    50%{
        left:5%;
        top:2%;
    }
}

.name{
    position: absolute;
    font-size: 7rem;
    color: rgb(231,231,231);
    bottom: -16%;
    font-weight: bold;
    transition: all 3s;
    left : 10%;
    user-select: none;
}


.project-container{
    background-color: rgba(231,231,231);
    margin-top: 4rem;
}

.projects{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin:0 auto;
    padding: 3rem 0;
    gap: 120px;
}

.main-heading{
    text-align: center;
    color: #e84949;
    font-size: 90px;
    padding-top: 30px;
}

.project-card{
    position: relative;
    width: 90%;
    height: 550px;
    box-shadow: 0px 0px 40px #1f1f1f;
    background-image: url(images/projects/Screenshot\ \(155\).png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index:0;
}

.project-card::after{
    content: "";
    position: absolute;
    background-color:#1f1f1f9a;
    top: 0;
    left : 0;
    right: 0;
    bottom: 0;
    z-index: -1;
   
}

.project-card::before{
    content: "";
    position: absolute;
    background-image: linear-gradient(45deg,#343d68,#343d68be,#343d697c);
    top: 0;
    left : 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    transition: all 0.4s;
    transform-origin: left;
    transform: scaleX(0);
}

.project-card:hover::before {
    transform: scaleX(1);
}


.project-content{
    position: absolute;
    display: flex;
    flex-direction: column;
    padding:2em;
    bottom: 20%;
    gap: 1em;
    transition:all 0.4s;
    z-index: 10;
}

.project-card:hover .project-content{
    transform: scale(1.1);
}
.project-skill-cont{
  
    width: 60%;
    gap:10px;
    display: flex;
    flex-wrap: wrap;
}

.project-skill{
  
    width: 40px;
}

.project-heading{
    font-size: 50px;
    font-weight: bold;
    color: white;
    line-height: 3rem;
}

.pro-sub-h{
    width: 70%;
    color: white;
    font-size: 16px;
    font-style: italic;
}

.pro-btn{
    display: flex;
    gap:0.9rem;
}

.icon{
    color: white;
    font-size: 35px;
    transition: all 0.4s;
}

.icon:hover{
    color:  #e84949;
}

.card-no{
    font-size: 200px;
    font-weight: 600;
    color: white;
    opacity: 0;
    position: absolute;
    z-index: 10;
}

.project-card:hover .card-no{
    opacity: 1;
}

.right-side-no{
position: absolute;
left: -40px;
top: -45px;

}

.left-side-no{
    right: -40px;
    top: -45px;
}

.left-card{
    margin-left: 120px;
}

.lc{
    left: 10%;
}
.rc{
    right: 10%;
}

#card-1{
    background-image: url(images/projects/Screenshot\ \(142\).png);
}

#card-3{
    background-image: url(images/projects/Screenshot\ \(156\).png);
}

.skill-container{
    display: flex;
    position: relative;
    padding: 5rem;
    margin: 10rem auto;
    gap: 30px;
}

.right-side-skills{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 2rem;
}

.skills-logo{
    width: 90px;
    /* position: absolute; */
    transition: all 0.4s;
    z-index: 8;
}

.blob-style{
    position: absolute;
    top:50%;
    left:50%;
    z-index: -1;
    transform: translate(-50%,-50%);
    animation: blob 5s linear infinite;
}

@keyframes blob {
    50%{
        top: 54%;
        left: 56%;
    }
}

.faded-skill{
    position: absolute;
    font-size: 15em;
    color: rgb(231,231,231);
    bottom: -34.5%;
    right: -23%;
    user-select: none;
    font-weight: bolder;
}

.left-side-skill-text{
    display: flex;
    flex-direction: column;

}
.me{
    color: #e84949;
    font-size: 50px;
    font-weight: bold;
    line-height: 50px;
}

.skill-sub{
    margin-top: 1rem;
    width: 85%;
    text-align: justify;
}

.M{
    font-size: 90px;
}

.contact-me-container{
    width: 100%;
    background-color: rgba(231,231,231);
}

.ct{
    font-size: 5rem;
    color: #e84949;
    padding-top: 2rem;
}
.contact-sub-heading{
    font-size: 3rem;
    color: #343d68aa;
}
.form{
    margin: 25px;
}
.form-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 70%;
    margin: 2rem 5rem;
}
.Name{
    height: 42px;
    width: 100%;
    font-size: 18px;
    padding: 0 2rem;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #1f1f1f;
}


textarea{
    height: auto;
    font-size: 18px;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #1f1f1f;
    width: 100%;
}
i{
   padding: 0 0.5rem;
}

#submit-btn{
    border: none;
    font-size: 1.4rem;
    margin: 1rem 6.2rem;
}

.footer{
    position: relative;
    width: 100%;
    background-color: #343d68;
    margin-top: -1px;
    padding: 5rem;
}

.footer-wrapper{
 display: flex;
 justify-content: space-between;
 gap: 1rem;
 padding: 1.2rem;
 align-items: center;
}

.footer-tags{
    color: white;
    text-decoration: none;

}
.footer-left{
    display: flex;
    gap: 1.2rem;
}


#submit-btn:hover{
    transform: scale(0.9);
}

.faded-last{
    position: absolute;
    left: 0;
    bottom: 0;
    color: #535c87;
    font-size: 5em;
}

@media(max-width:1100px){
    .container{
        width: 900px;
        margin:0 auto;
        }
 
    .projects{
    justify-content: center;
    width: 100%;
   }

  .project-card{
    width: 100%;
    margin: 0;
  }
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    color: white;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #e84949;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #e84949;
    font-size: 24px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    color: #e84949;
    width: 25px;
}

.contact-item span,
.contact-item a {
    flex: 1;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.contact-item a:hover {
    color: #e84949;
}

.copy-btn {
    background: #e84949;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #d63384;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 95%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}