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

html{
    scroll-behavior: smooth;
}
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
    scroll-behavior: smooth;
}
:root {
    --bgOrange: #e84949;
}



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

.container{
    width: 1200px;
    margin: 0 auto;

}

.navbar{
    display: flex;
    justify-content:space-between;
    align-items: center;

    padding-top: 1rem;
}

.logo{
    width: 65px;
}

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

.logo-text{
    margin-left:-1.0rem;
    font-size: 28px;
    
}

.nav-items{
    display: flex;
    gap: 2rem;
    padding:0 4rem;
}

.nav-items div{
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

a{
    color:black;
}

a{
    text-decoration: none;
}

.nav-items div:hover{
    transition: 0.8;
    font-weight: bold;
    
}

.hero-section{
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;

    gap: 5rem;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;

}

.faded-text{
    user-select: none;
    font-size: 7rem;
    color: rgb(231,231,231);

    bottom: -16%;
    left:5%;
    font-weight: bold;
    transition: all 3s;
}

.hero-section-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;

}

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

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

}

.hero-section-sub-heading{
    font-size: 45px;
    line-height: 45px;
}

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

.btn-pink{
    background-color: var(--bgOrange);
    width: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 25px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    border: solid3px transparent;
    position:relative;
    z-index: 1;
}
.btn-pink::before{
    content: "";
    position: absolute;
    background-color: #fff;
    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{
    border: solid 3px var(--bgOrange);
    color: black;
}

.hero-section-right{
    position: relative;
}
.absolute{
    position:absolute ;
}

.user-image{
    padding: 2.5rem;
    filter: grayscale();
    transition:all 1s;
    animation: scaleImage 5s linear infinite;

}


.user-image img{
    width: 300px;
    height: 400px;
    z-index: -9;
}

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

    }

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

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

.icon-dots{
    z-index: 9;
    bottom: 0.8rem;
    right: 0;
    animation-name:dotAnimation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes dotAnimation {
    0%{
        transform: translate(0px);

    }
    50%{
        transform: translateY(-15px);

    }
    100%{
        transform: translateY(0px);

    }
}
.icon-dots img{
    width: 70px;
    height: 100px;
}



.icon-cube{
    z-index: 9;
    top: -0.8em;
    right: 1em;
    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes cubeRotate {
    0%{
        transform: rotate(0deg)translateY(0px);

    }
    50%{
        transform: rotateY(180deg) translateY(-12px);

    }
    100%{
        transform: rotateY(360deg) translate(0px);
      

    }

}
.icon-cube img{
    width: 80px;
}

.icon-circle{
    z-index:9;
    left:0;
    bottom:0;
    animation-name: shakeEffect;
    animation-duration:6s ;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

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

}
100%{
    left:0;
    bottom: 0;

}
}

.icon-circle img{
    width: 35px;
}

.icon-zigzag{
    z-index:9;
    top: 1.5em;;
    left: -0.3em;;
    animation:zigzagAnimation 5s ease-in infinite;
    
}

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

.icon-zigzag img{
    width: 40px;
    height: 150px;
}
.icon-plus{
    z-index: 9;
    top: -0.8rem;
    left: 50%;
    animation: shakeEffectPlus 5s ease-in infinite;
}

@keyframes shakeEffectPlus {
    50%{
        top:3%;
        left:40%;
    }
}

.icon-plus img{
    width: 30px;
    height: 35px;
}


.project-section{
    background-color: rgb(231,231,231);
    margin-top: 4rem;

}

.page-header{
    color: var(--bgOrange);
    font-size: 90px;
    text-align:center ;
   }

.project-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;

    display: flex;
    gap: 120px;

}

.project-card{
    width: 90%;
    height:550px;
    background-image: url(image/project1.png);
    background-size: cover;
    position: relative;
    box-shadow: 0px 0px 40px #1f1f1f     ;



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

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

}

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

.project-number{
    position: absolute;
    font-size: 200px;
    font-weight: 600;
    color:white;
    z-index: 10;
    display: none;

}

.project-card:hover .project-number{
    display:block;
}

.project-number-right{
    right: -40px;
    top:-45px;

}

.project-number-left{
    right: -40px;
    top:-45px;

}

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

.project-content-left{
    left:10%;
}

.project-content-right{
    right:10%;
}

.project-skill-container{
    width: 60%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

}

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

.project-subHeading{
    width:70%;
    font-size: 16px;
    font-style: italic;
}

.btn-grp{
    display: flex;
    gap: 0.9em;
    align-items: center;
}

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

.icon:hover{
    color:var(--bgOrange);
}

.project-card:hover .project-content{
    transform: scale(1.1);
}

#project1{
    background-image: url(image/project1.png);
}

#project2{
    margin-left: 120px;
    background-image: url();
}

#project3{
    background-image: url();
}

#project4{
    margin-left: 120px;
    background-image: url();
}

.button{
    width: 11rem;
    background-color: #e84949;
    padding: 1rem 2rem;
    color: #fff;
    border: 0;
    border-radius: .2rem;
}
.fa-solid{
    margin-right: 5px;
}
.button:hover{
    background: #333;
}
.model{
    display: none; 
    position:fixed;
    z-index: 10;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color:rgb(0,0,0,0.5) ;
}
.model-body{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}
.contact-img {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-img {
        flex-direction: row;
    }
}

.contact-img{
    width: 50%;
}
.contact-img img{
    width: 100%;
}
.form{
    width: 50%;
}
.model-content{
    background-color: #f4f4f4;
    margin: 5% auto;
    padding: 1.25rem;
    width: 80%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
}
.closeBtn{
    font-size: 2rem;
    color: #ccc;
    float: right;

}
.closeBtn:hover{
    color: #333;
    text-decoration: none;
    cursor: pointer;
}
