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

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

:root{
    --bgorange: #e84949;
    --bgpink : #C2185B;
}

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

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

.navbar{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.logo1{
    width: 50px;
}

.dragon-s {
    transform: scale(1) rotate(1deg);
    transition: transform 2s ease-in-out;
    display: inline-block;
}

.logo-container:hover .dragon-s{
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 3px #da4646) drop-shadow(0 0 12px #ff4500);
}

.cosmic-heading{
    transition: all 1s ease;
}

.logo-container:hover{
    transform: scale(1.04);
    text-shadow: 0 0 3px #a855f7, 0 0 20px #9333ea;
}

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

.logo-text{
    /* margin-left: -0.1rem; */
    margin-bottom: -0.8rem;
    font-size: 28px;
    color: linear-gradient(90deg, #e81d13, #ec4899);
}

.nav-items{
    display: flex;
    gap: 2.5rem;
    padding: 0 4rem;
    margin-bottom: -0.8rem;
}

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

}

.nav-items div a{
    color: black;
}

.nav-items div a:hover{
    transform: scale(1.03);
    text-shadow: 0 0 1px #a855f7, 0 0 20px #8a5eb3;
}


a{
    text-decoration: none;
}

.nav-items div:hover{
    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: 5em;
    color: rgb(231, 231, 231);

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

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

}

#userimage{
    width: 270px;
}

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

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

.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: 18px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    border: solid 3px transparent;
    position: relative;
    z-index: 1;
}

.btn-pink::before{
    content:"";
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s;
    z-index: -1;
}

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

.btn-pink:hover{
    color: yellow;
    border: solid 1px var(--bgorange) ;
    filter: drop-shadow(0 0 2px #be4242) drop-shadow(0 0 8px #c10101);
    transform: scale(0.9);
    transition: 0.8s;
}  

#btn-bottom{
    display: none;
}

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

.absolute{
    position: absolute;
}

.user-image{
    padding: 2.5rem;
    border-radius: 1px;
    filter: grayscale(1);
    transition: all 1s;
    animation: scaleImage  5s linear infinite;
    z-index: -9;
}

@keyframes scaleImage {
    0%{
        filter: grayscale(0 );
        transform: scale(1);
        filter: drop-shadow(0 0 12px #38bdf8) drop-shadow(0 0 16px #0ea5e9);
    }
    50%{
        transform: scale(1.1);
        filter: grayscale(1);
        box-shadow: 3px 3px 10px #000000;
        filter: drop-shadow(0 0 8px #da4646) drop-shadow(0 0 18px #ff4500);
    }
    100%{
        transform: scale(1);
        filter: grayscale(0);
        filter: drop-shadow(0 0 10px #38bdf8) drop-shadow(0 0 16px #0ea5e9);
    }
}

.icon-dots{
    z-index: 9;
    bottom: -1rem;
    right: 0;

    animation-name: dotAnimation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes dotAnimation {
    0%{
        transform: translateY(0px);
    }   
    50%{
        transform: translateY(15px);
        transform: scale(0.9);
    }
    100%{
        transform: translateY(0px);
    }
}

.icon-cube{
    z-index: 9;
    top: -0.6em;
    right: 0.8em;

    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-iteration-count: 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: 9;
    left:0;
    bottom: 0;
     
    animation-name: shakeEffect;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

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

.icon-zigzag{
    z-index: 9;
    top: 1.5em;
    left: -0.3em;

    animation-name: zigzagAnimation;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

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

.icon-plus{
    z-index: 9;
    top: -0.8em;
    left: 50%;

    animation-name: shakeEffectPlus;
    animation-duration: 5s;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

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

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

.project-section:hover #creations{
    transition: 3s;
    filter: drop-shadow(0 0 1px #da4646) drop-shadow(0 0 2px #ff4500);
}

.page-header{
    color: var(--bgorange);
    font-size: 80px;
    text-align: center;
    padding-top: 30px;
}

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

    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-card{
    width: 90%;
    height: 550px;
    background-image: url(./images/projects/Project1.png);
    background-size: cover;
    position: relative;
    box-shadow: 0px 0px 40px #1f1f1f;
    transition: transform 1s ease-in-out;
}

.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.5s;
    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-card:hover .project-number{
    opacity: 1;
}

.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;
    
}

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

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

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

.project-skill{
    width: 40px;
}

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

}

.project-subheading{
    font-size: 16px;
}

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

.icon{
    cursor: pointer;
    color: white;
    font-size: 35px;
}

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

.project-card:hover{
    /* transition: transform 1s ease-in-out; */
    display: inline-block;
    transform: scale(1.04);
}

#project1{
    background-image: url(./images/projects/Project2.png);
}
#project2{
    margin-left: 120px;
    background-image: url(./images/projects/Project1.png);
}
#project3{
    background-image: url(./images/projects/Project4.png);  
}
#project4{
    margin-left: 120px;
    background-image: url(./images/projects/Project5.png);
}

@media (max-width:1200px){
    .page-header{
        padding-top: 30px;
        color: var(--bgorange);
        text-align: center;
        font-size: 40px;
    }
    .project-container{
        padding: 5px;
        margin: 10px;
        gap: 60px;
    }
    .project-card{
        width: 100%;
        height: 300px;
    }
    .project-card{
        background-size: cover;
        background-position: center;
    }
    .project-content{
        scale: 0.5;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }
    .project-content-left{
        left: 0;
    }
    .project-heading{
        font-size: 40px;
        width: 100%;
    }
    .project-subheading{
        width: 100%;
    }
    #project2{
        margin-left: 0;
    }
    #project4{
        margin-left: 0;
    }
    .project-skils-container{
        width: 100%;
    }
    .project-skill{
        width: 30px;
    }
    .project-card:hover .project-number{
        display: none;
    }
    .project-card:hover .project-content{
        scale: 0.55;
    }
}

.skills-container{
    position: relative;
    display: flex;
    padding: 5rem;
    margin: 10rem auto;
    gap: 30px;
    transition: 2s ease-in-out;
}
 
.skill-container-left{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.skill-container-right{
    display: flex;
    width: 51%;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.skill-fade-text{
    position: absolute;
    font-size: 9em;
    font-style: bolder;
    color: rgb(231, 231, 231);
    bottom: -33%;
    right: -6.5%;
    user-select: none;
}

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

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

.skills-container:hover .blob-style{
    opacity: 30%;
    transition: 2s ease-in-out;
    filter: drop-shadow(0 0 20px #38bdf8) drop-shadow(0 0 18px #0ea5e9);
}

.skills-container:hover .skill-heading{
    transition: 2s ease-in-out;
    filter: drop-shadow(0 0 1px #da4646) drop-shadow(0 0 1px #ff4500);
}

.skills-logo{
    width: 90px;
    transition: all 0.5s;
}

.skills-logo:hover{
    transform: scale(1.2);
}

.skill-heading{
    font-size: 50px;
    font-weight: bold;
    color: var(--bgorange);
    line-height: 50px;
}

.caps{
    font-size: 90px;
}

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

.skill-subheading p{
    margin: 15px 0;
}

.contactus-form-container{
    width: 100%;
    background-color: rgb(231, 231, 231);
}

.contactus-heading{
    font-size:4rem;
    color: var(--bgorange);
    padding-top: 2rem;
}

.contactus-form-container:hover .contactus-heading{
    transition: 3s;
    filter: drop-shadow(0 0 1px #da4646) drop-shadow(0 0 1px #ff4500);
}

.contactus-subheading{
    font-size: 2rem;
    color: #343d68aa ;
}

.contactus-form-container:hover .contactus-subheading{
    transition: 3s;
    text-shadow: 0 0 1px #cf3998, 0 0 1px #d52a82;
}

.contactus-form-container{
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: 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-top: 30px;
}

.formfield:hover{
    transition: 0.5s;
    filter: drop-shadow(0 0 3px #da4646) drop-shadow(0 0 8px #ff4500);
}

.formfield-textarea{
    height: auto;
    padding-top: 1rem;

}

#submit-btn{
    font-size: 1.2rem;
    margin: 1rem 0;
}

.submit-icon{
    padding: 0 1rem;
    font-size: 1.5rem;
}

footer{
    position: relative;
    margin-top: -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: #537c87;
    user-select: none;
    font-size: 2rem;
}

.link-wrapper{
    display: flex;
    gap: 1.2rem;
}

.link-wrapper div a{
    font-size: large;
    color: white;
    text-decoration: none;
    transition: all 0.6s;
}

.link-wrapper div a:hover{
    scale: 1.02;
    transition: 0.3;
    filter: drop-shadow(0 0 1px #da4646) drop-shadow(0 0 2px #ff4500);
    color: var(--bgorange);
}

.icon-wrapper{
    display: flex;
    gap: 1rem;
}

.icon-wrapper i:hover{
    transition: 0.3s;
    scale: 1.1;
    filter: drop-shadow(0 0 1px #da4646) drop-shadow(0 0 8px #ff4500);
}

.footer-dragon-logo{
    left: 4.5rem;
    bottom: 3.6rem;
    position: absolute;
    width: 100px;
    user-select: none;
}

footer:hover .footer-dragon-logo{
    transition: 2s ease;
    scale: 1.1;
    filter: drop-shadow(0 0 2px #da4646) drop-shadow(0 0 28px #ff4500);
}

footer:hover .footer-faded-text{
    transition: 2s ease-in-out;
    text-shadow: 0 0 1px #343d68, 0 0 12px #343d68;
}

.btn-pink:hover .fa-paper-plane{
    transform: rotateZ(50deg) ;
    transition-duration: 0.8s;
}
