*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --bgOrange: red;
}

#wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.container{
    width: 1200px;
    margin: auto;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 1rem;
}

.logo-container{
    display: flex;
    align-items: center;
}

.logo{
    width: 80px;
}

.nav-items{
    display: flex;
    gap: 2rem;
    padding: 0 4em;
}

.logotext{
    margin-left: -1.2rem;
    font-size: 28px;
}

.nav-items div{
    font-size: 25px;
    font-weight: 540;
    cursor: pointer;
}

.nav-items div a{
    color: black;
}

a{
    text-decoration: none;
}

.hero-section{
    position: relative;
    display: flex;
    gap: 5rem;
    justify-content: center;
    align-items: center;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;
}

.fadedtext{
    user-select: none;
    position: absolute;
    font-size: 5rem;
    color: rgb(231,231,231);
    bottom: -13.5%;
    left: -20%;
    font-weight: bold;
    transition: all 3s linear;
}


.hero-section-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-section-heading{
    font-size: 35px;
    color: #343d68;
    font-weight: 500; 
}

.role{
    color: #4e45d5;
    font-weight: 800;
}

.hero-section-sub{
    font-size: 45px;
    line-height: 45px;
}

.hero-section-description{
    /* margin-top: 1rem; */
    /* width: 70%; */
    font-weight: 500;
    font-size: 1.4rem;
}

.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: 18px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    border: solid 3px transparent;
    position: relative;
    z-index: 1;
}

.btn-pink::before{
    content: "";
    position: absolute;
    background-color: white;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    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;
}
#btn-bottom{
    display: none;
}

#btn{
    font-size: 25px;
}

.hero-section-right{
    position: relative;
}

.absolute{
    position: absolute;
}

.user-image{
    padding: 2.5rem;
    filter: grayscale(1);
    transition: all 1s;
    animation: scaleimg 5s linear infinite;
}

.user-image img{
    z-index: -1;
}

@keyframes scaleimg{

    0%{
        filter: grayscale(0);
        transform: scale(1);
    }

    50%{
        transform: scale(1.1);
        filter: grayscale(1);
        box-shadow: 3px 3px 10px black;
    }
    100%{
        transform: scale(1);
        filter: grayscale(0);
    }
}

.icon-multipleicons{
    z-index: 1;
    bottom: -2rem;
    right: -2rem;
    animation-name: dotsAnimation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes dotsAnimation {

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0px);
    }
    
}

.icon-cube{
    z-index: 1;
    top: -3rem;
    right: 0;
    animation: cubeRotate 3s infinite;
}

@keyframes cubeRotate {

    0%{
        transform: rotateY(0deg) translateY(0px);
    }
    
    50%{
        transform: rotateY(180deg) translateY(-12px);
    }

    100%{
        transform: rotateY(360deg) translateY(0px);
    }
}

.icon-circle{
    z-index: 1;
    left: 0;
    bottom: 0;
    animation: shakeEffect 5s linear infinite;
}
@keyframes shakeEffect {

    0%{
        left: 0;
        bottom: 0;
    }
    
    50%{
        left: 2%;
        bottom: 1%;
    }

    100%{
        left: 0;
        bottom: 0;
    }
    
}

.icon-zigzag{
    z-index: 1;
    top: 0.5em;
    left: -1.4em;
    animation: zigzag 5s linear infinite;
}
@keyframes zigzag{
    0%{
        transform: translateY(0px);
    }
    
    50%{
        transform: translateY(-40px);
    }

    100%{
        transform: translate(0px);
    }
}

.project-section{
    background-color: rgb(231,231,231);
    margin-top: 4rem;
}

.page-header{
    color: var(--bgOrange);
    font-size: 90px;
    text-align: center;
    padding-top: 30px;
}

.project-container{
    max-width: 1200px;
    margin: auto;
    padding: 3rem 0;

    display: flex;
    gap: 120px;
    flex-direction: column;
}

.project-card{
    width: 90%;
    height: 550px;
    background-image: url(tint\ and\ orange.png);
    background-size: cover;
    /* background-repeat: no-repeat; */

    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;
    /* transform: scaleX(1); */
    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: 150px;
    font-weight: 600;
    color: white;
    z-index: 10;
    opacity: 0;
}

.project-number-right{
    right: -40px;
    top: -45px;
}

.project-number-left{
    left:-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;
}

.btn-grp{
    display: flex;
    gap: 10px;
}

#links{
    margin-left: 3px;
    margin-top: 0px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.4s linear;
}

#links:hover{
    background-color: red;
}

#github{
    margin-left: 3px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.4s linear;
}

#github:hover{
    background-color: red;
}

.project-content-left{
    left: 10%;
}

.project-content-right{
    right: 10%;
}

.project-skills-container{
    width: 60%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-skill{
    width: 40px;
}

.project-heading{
    font-size: 40px;
    font-weight: bold;
    line-height: 3rem;
}

.project-subheading{
    width: 90%;
    font-size: 19px;
    font-style: italic;
    font-weight: 500;
}

.project-card:hover .project-number{
    opacity: 1;
    transition: all 0.5s linear;
}

.project-card:hover .project-content{
    transform: scale(1.2);
}

#project2{
    margin-left: 120px;
}

#project2 .project-content{
    margin-left: 350px;
}

#project4{
    margin-left: 120px;
}

#project4 .project-content{
    margin-left: 350px;
}

#project2{
    background-image: url(wallpaper\ of\ portfolio\ project.png);
}

#project3{
    background-image: url(css\ project1.png);
}

#project4{
    background-image: url(Screenshot\ 2023-08-13\ 223436.png);
}

.tech-stack{
    display: flex;
    gap: 50px;

    margin-top: 150px;
    justify-content: space-between;

    position: relative;

}

.left-stack{
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 45%;
}

.heading-stack{
    color: red;
    font-size: 30px;

    font-family: 'Borel', cursive;
    font-family: 'Edu SA Beginner', cursive;
    font-family: 'Pacifico', cursive;
    font-family: 'Roboto Condensed', sans-serif;

    font-weight: lighter;
}

#firstletter::first-letter{
    font-weight: bold;
    font-size: 70px;
}

.heading-para{
    font-size: 18px;

    font-family: 'Borel', cursive;
    font-family: 'Edu SA Beginner', cursive;
    font-family: 'Pacifico', cursive;
    font-family: 'Roboto Condensed', sans-serif;

    line-height: 22px;
}

.right-stack img{
    height: 25rem;
    /* width: ; */
}

.faded-skill{
    user-select: none;
    position: absolute;
    font-size: 10rem;
    color: rgb(231,231,231);
    bottom: -50%;
    right: -22%;
    font-weight: bold;
    transition: all 0.4s linear;

    font-family: 'Borel', cursive;
    font-family: 'Edu SA Beginner', cursive;
    font-family: 'Pacifico', cursive;
    font-family: 'Roboto Condensed', sans-serif;
}

.contactus-form-container{
    width: 100%;
    background-color: rgb(231,231,231);
    margin-top: 10rem;
} 

.contactus-heading{
    font-size: 5em;
    color: var(--bgOrange);
    padding-top: 2rem;
}

.contactus-sub-heading{
    font-size: 3rem;
    color: #343d68aa;
    font-weight: lighter;
}

.contactus-formm-container{
    display: flex;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
}

.form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 70%;
    margin: 2rem 5rem;
}

.formfield-container{
    width: 100%;
}
.formfield{
    width: 100%;
    height: 42px;
    padding: 0 2rem;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #1f1f1f;
    font-weight: 500;
    border: none;
    margin: 17px;
}

.formfield-textarea{
    padding-top: 1rem;
    height: auto;
}

#submit-btn{
    font-size: 1.4rem;
    margin: 1rem 0;
    margin-left: 1.2rem;
    border-radius: 5px;
}

#submit-btn:hover{
    scale: 0.9;
}

footer{
    position: relative;
    margin: -1px;
    background-color: #343d68;
    padding: 5rem;

}

.footer-wrapper{
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    justify-content: space-between;
    align-items: center;
}

.footer-faded-text{
    position: absolute;
    left: 0;
    bottom: 0;
    color: #535c87;
    user-select: none;
    font-size: 4em;
}

.link-wrapper{
    display: flex;
    gap: 1.4rem;

}

.link-wrapper div a{
    color: white;
    text-decoration: none;
    transition: all 0.6s;
    font-size: 1.5rem;
}

.link-wrapper div a:hover{
    color: var(--bgOrange);
}

.icon-wrapper{
    display: flex;
    gap: 1.5rem;
}

.icon-wrapper i{
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.6s;
}

.fa-linkedin:hover{
    color: var(--bgOrange);
}

.fa-github:hover{
    color: var(--bgOrange);
}
.fa-square-x-twitter:hover{
    color: var(--bgOrange);
}
.fa-square-instagram:hover{
    color: var(--bgOrange);
}
.fa-solid:hover{
    color: var(--bgOrange);
}

.nav-items div a{
    transition: all 0.3s;
}

.nav-items div a:hover{
    color: var(--bgOrange);
}