@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Francois+One&family=Lilita+One&family=Raleway&family=Roboto:wght@300&family=Rubik:wght@500&family=Sacramento&family=Tilt+Warp&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    width: 100%;
    height:100vh;
    background:  white;
    color: black;
    z-index: 0;
    overflow-x: hidden;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
::-webkit-scrollbar {
    display: none;
}
.loader{
    color: black;
    font-family: 'Tilt Warp';
    font-size: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.loading{
    font-family: 'Tilt Warp';
    font-size: 20px;
    margin-top: 10px;
}
.progressBar{
    margin-top: 10px;
    width: 30%;
    height: 6px;
    border: 1px solid #202428;
    border-radius: 10px;
    background:linear-gradient(to left,white 50%,hotpink 50%)right;
    background-size: 200% 100%;
    animation: slideProgress 2s ease forwards;
}
.loaderText{
    display: inline-block;
    opacity: 0;
    animation: bouncyEntry 1s calc(var(--i)*0.1s) forwards;
}
@keyframes bouncyEntry{
    0%{
        transform: translateY(-50px);
    }
    20%{
        opacity: 1;
        transform: translateY(0);
        transform:scale(1.8,0.5);
    }
    50%{
        opacity: 1;
        transform:scale(0.7,1.25);
    }
    100%{
        opacity: 1;
        transform: scale(1,1);
    }
}
@keyframes slideProgress{
    0%{
        background-position: right;
    }
    100%{
        background-position: left;
    }
}
.loader span{
    font-size: 3rem;
}
.mainContent{
    width: 100%;
    height: 100vh;
    position: relative;
    display: none;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    z-index: 0;
}
.mainContent svg{
    position:fixed;
    width: 200%;
    height: 150vh;
    z-index: -1;
    opacity: 0.3;
}
.mainContent svg stop{
    transition: all 0.4s ease-in;
}
.mainContent #blobSvg1{
   top:-60%;
   left: -90%;
}
.mainContent #blobSvg2{
    top: -40%;
    right: -110%;
}
.mainContent #blobSvg3{
    bottom: -100%;
    left: -50%;
}

.homePage,.aboutMe,.skills,.projects,.contactMe{
    scroll-snap-align: start;
}
.active{
    color: #202428;
}
.navbar{
    position:fixed;
    right:0;
    top:0;
    padding: 50px;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    font-size: 1.5rem;
    width: 35%;
    z-index: 2;
    border-radius: 0 0 0 90%;
    display: none;
    background: linear-gradient(#64b3f4b6,#c2e59cb6);
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
}
@keyframes bringIn{
    0%{
        transform: translate(500px,-500px);
    }
    100%{
        transform: translate(0px,0px);
    }
}
@keyframes bringOut{
    0%{
        transform: translate(0px,0px);
    }
    100%{
        transform: translate(500px,-500px);
        display:none;
    }
}
 .hamburger{
    display: flex;
    flex-direction: column;
    position: fixed;
    top:20px;
    right:2%;
    border: 2px solid black;
    align-items: center;
    width: 60px;
    height: 60px;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    /* display: none; */
}
 .hamburger span,.close span{
    display: inline-block;
    width: 40px;
    height: 3px;
    margin-bottom: 8px;
    background-color: black;
}
.close span{
    background-color:white;
}
 .hamburger span:nth-child(3){
margin-bottom: 0;
}
 .close{
    display: flex;
    flex-direction: column;
    position: fixed;
    top:20px;
    right:2%;
    align-items: center;
    width: 60px;
    height: 60px;
    justify-content: center;
    border: 2px solid white;
    border-radius: 50%;
    padding-left: 1px;
    padding-top:3px;
    z-index: 3;
    display: none;
    cursor: pointer;
}
 .close span:nth-child(1){
    transform: rotate(45deg);
    position: absolute;
}
 .close span:nth-child(2){
    transform: rotate(135deg);
    position: absolute;
}
.navbar .navlinks{
   width: 100%;
   margin: 40px 0px;
}
.navbar .navlinks ul{
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: right;
}
.navbar .navlinks ul li{
    margin: 10px;
    list-style: none;
    width: 100%;
    text-align: right;
    padding-right: 25%;
}
.navbar .navlinks ul li a{
    text-decoration: none;
    width: 100%;
    color: white;
    text-align: center;
}
.bgColor1{
    background: linear-gradient(#64b3f4b6,#c2e59cb6);
}
.bgColor2{
    background: linear-gradient(#4ca2afbc,#c4e0e5d1);
}
.bgColor3{
    background: linear-gradient(#ef629fb5,#eecda3b9);
}
.bgColor4{
    background: linear-gradient(#ff5f6c,#ffc471);
}
.bgColor5{
    background: linear-gradient(#e96443b8,#904e95bb);
}
/* .mainPage{
    /* display: block;
    height:50%;
    width: 100%;
    margin-top:25%;
    margin-bottom: 25%; */
.homePage{
    padding-left:5%;
    width:100%;
    height: 100vh;
    padding-top:20vh ;
    padding-bottom: 30vh;
    z-index: 1;
    position: relative;

}
.bouncyText{
    /* margin:50px;    */
    font-family: 'Tilt Warp';
    font-size: 0;
    color: #202428;
}
.bouncyText span{
    position:relative;
    font-size: 4.5rem;
    display: inline-block;
    /* opacity: 1; */
}

.bounce{
    opacity: 0;
    animation: flowtext 0.5s forwards calc(0.13s*var(--i));
}
.bounce-blast{
    animation: bouncytext 0.4s 0.05s forwards;
}
.homePage .btn{
    margin:50px; 
    margin-left: 0;  
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    transform: translateX(-300px);
    animation:moveInIcons 1s 3.5s  forwards;
}
.homePage .btn a{
    text-decoration: none;
    border: 2px solid royalblue;
    padding: 15px;
    color: royalblue;
    transition: all 0.5s ease-in-out;
    font-weight:bolder;
    background: linear-gradient(to left, white 50%,  royalblue 50%) right;
    background-size: 200% 100%;
    transition:all 0.3s linear;
}

.homePage .btn a:hover{
    background-position: left;
    /* background-color: white; */
    color: white;
}
.socials{
    margin: 20px 0px;
}
.socials ul{
    display: flex;
}
.socials ul li{
    list-style: none;
    margin-right:20px;
    transform: translateX(-300px);
    animation:moveInIcons 1s 3s forwards;
}
@keyframes moveInIcons{
    0%{
        transform: translateX(-300px);
    }
    100%{
        transform: translateY(0);
    }
}
.socials ul li a{
    text-decoration: none;
    color: #202428;
    font-size: 1.5rem;
}
.heading{
    color: #202428;
}
.aboutMe{
    /* display: flex; */
    width: 100%;
    height: 100vh;
    padding-left: 5%;
    padding-top:  15vh;
    z-index: 1;
    /* align-items: center;
    justify-content: center; */
}
.aboutMeData{
    display: flex;
    width: 100%;
    height: 100vh;
}
.content{
    width: 50%;
    height: 50vh;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    /* padding-top: 25%; */
    /* margin: 10vh 0 25vh; */
}
/* .aboutMe .content{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} */
.aboutMe .content .heading{
    width: 100%;
    text-align: left;
}
.description{
    margin-top: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
}
.aboutMe .image{
    width: 50%;
    display: flex;
    height:50vh;
    position: relative;
}
.aboutMe .image img{
    position: absolute;
    top:0;
    left: 20%;
    height: 100%;
}
.aboutMe .image .screen{
    animation:flyingScreen 1s infinite alternate;
}
.aboutMe .image .frame{
    animation:moveFrame 1s infinite alternate;
}
.aboutMe .content .description{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
}

.skills{
    /* display: flex; */
    width: 100%;
    height: 100vh;
    padding-left: 5%;
    padding-top: 10vh;
    z-index: 1;
}
.skillsData{
    display: flex;
    width: 100%;
    height: max-content;
}
.skillsData .content .description{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
}
.skillsLevels{
    width: 100%;
    margin-top: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
}
.skillsLevels .skillsBar{
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: flex-start;
}
.skillsLevels .skillsBar div:nth-child(1){
    width: 40%;
}
.level{
    width: 50%;
    height: 10px;
    border: 2px solid var(--color);
    border-radius: 20px;
}
.fillLevel{
    width:0%;
    height: 100%;
    animation: skillbarfill 2.5s forwards;
    background-color: var(--color);
}
.elementSphere{
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: bolder;
    width: 50%;
    height: 50vh;
    padding-left: 5%;
    z-index: 1;
    display: flex;
    align-items: center;
}
.projects{
    width: 100%;
    height: 100vh;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10vh;
    z-index: 1;
    position: relative;
}
.projectData{
    width: 100%;
    height: 90%;
    display: flex;
    margin-top: 50px;
    flex-wrap: wrap;
}
.projectItem{
    width: 25%;
    height: 50%;
    display:flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    opacity: 0.5;
}
.projectItem .img{
    width: 100%;
    height: 100%; 
    z-index: 1;
    transition: all 1s;
}
.projectItem .img img{
    width: 100%;
    height: 100%;
}
.projectItem .btn{
    position: absolute;
    top:25%;
    margin: 0;
    width: 50%;
    left:25%;
    height: 50%;
    opacity: 0;
    z-index: 1;
}
.projectItem .btn button{
   /* margin-top: 20%;
   margin-left: 20%; */
   width: 100%;
   height: 100%;
   border-radius: 50%;
   font-family: 'Raleway', sans-serif;
   border: none;
   background-color: cyan;
   font-size: 1rem;
   font-weight: bold;
   cursor: pointer;
}
.projectDisplay{
    position: absolute;
    top: 10vh;
    left: 10%;
    background: white;
    border: 1px solid indianred;
    width: 80%;
    height: 80vh;
    z-index: 3;
    padding: 5vh;
    color: black;
    transition: all 0.5s;
    transform: scale(0,0);
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
}
.projectDisplay .projectClose{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}
.projectDisplay .projectClose .closeBtn span{
    display: inline-block;
    width: 20px;
    height: 3px;
    margin-bottom: 8px;
    background-color: indianred;
}
.projectDisplay .projectClose .closeBtn{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    height:40px;
    justify-content: center;
    border: 2px solid indianred;
    border-radius: 50%;
    padding-left: 1px;
    padding-top:4px;
    z-index: 1;
    cursor: pointer;
}
.projectDisplay .projectClose .closeBtn span:nth-child(1){
    transform: rotate(45deg);
    position: absolute;
}
.projectDisplay .projectClose .closeBtn span:nth-child(2){
    transform: rotate(135deg);
    position: absolute;
}
.projectDisplay #projectHeading{
    width: 100%;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight:bolder;
    margin-bottom: 10px;
    color: indianred;
}
.projectDisplay #projectDescription{
    padding: 10px;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: bolder;
}
mark{
    background-color: cyan;
    padding: 2px;
}
.projectDisplay #projectImages{
    width: 100%;
    padding:0 10%;
}
.projectDisplay #projectImages img{
    width: 47%;
    height: 25vh;
    border: 1px solid black;
}
.projectDisplay #projectLink{
    margin:15px 0; 
    padding: 8px; 
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
}
.projectDisplay #projectLink a{
    text-decoration: none;
    border: 2px solid indianred;
    padding: 8px;
    color: indianred;
    transition: all 0.5s ease-in-out;
    font-weight:bolder;
    background: linear-gradient(to left, white 50%,  indianred 50%) right;
    background-size: 200% 100%;
    transition:all 0.3s linear;
}
.projectDisplay #projectLink a:hover{
   
        background-position: left;
        /* background-color: white; */
        color: white
}
.contactMe{
    width: 100%;
    height: 100vh;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10vh;
    z-index: 1;
}
.contactMe .form{
    width: 50%;
    margin-top: 20px;
}
.contactMe .form .formItem{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.contactMe .form .formItem div{
    width: 0;
    height: 2px;
    background:#d4106C;
}
input,textarea{
    width: 100%;
    padding: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    transition: all 2s;
    font-weight: bolder;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-left: 0;
    border-bottom: 0;
    box-shadow: 0 0 8px 1px rgba(0,0,0,0.2);
    backdrop-filter: blur(50px);
    color: #202428;
    outline: none;
    border: none;
}
textarea{
    resize: none;
}
@keyframes flowBorder{
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}
::placeholder{
    color: #202428;
}
.contactMe button{
    width: 20%;
    padding: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: bolder;
    background:linear-gradient(to left,white 50%,  #d4106C 50%)right;
    background-size: 200% 100%;
    color: #d4106C;
    border: 2px solid #d4106C;
    transition: all 0.3s linear;
}
.contactMe button:hover{
    background-position: left;
    color:  white;
    cursor: pointer;
}
@keyframes skillbarfill{
    0%{
       width: 0%;
    }
    100%{
        width: var(--amt);
    }
}
@keyframes flyingScreen{
    0%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0px);
    }
}
@keyframes moveFrame{
    0%{
        transform: translateX(-10px);
    }
    100%{
        transform: translateX(0px);
    }
}
@keyframes flowtext{
    0%{
        opacity:0;
        transform:scale(1.1,0.8);
    }
    50%{
        transform:scale(0.8,1.1);
    }
    75%{
        opacity:1;
        transform:scale(1.1,1.1);
    }
    100%{
        opacity: 1;
        transform: scale(1,1);
    }
}
@keyframes bouncytext{
    0%{
        transform:scale(1.8,0.5);
    }
    75%{
        transform:scale(0.7,1.25);
        /* -webkit-text-stroke-color: #202428;
        -webkit-text-fill-color: powderblue; */
    }
    100%{
        transform: scale(1,1);
        color: var(--clr);
    }
}
@media only screen and (max-width:1120px){
    .aboutMe .image img{
        height: 80%;
    }
    .elementSphere{
        padding-left: 5%;
    }
    .mainContent svg{
        width: 190%;
    }
    .mainContent #blobSvg1{
        top:-60%;
        left: -100%;
     }
     .mainContent #blobSvg2{
         top: -40%;
         right: -120%;
     }
     .mainContent #blobSvg3{
         bottom: -100%;
         left: -60%;
     }
   
}
@media only screen and (max-width:1000px){
    .aboutMe .image img{
        left: 10%;
    }
    .elementSphere{
        padding-left: 0%;
        width: 40%;
    }
}

@media only screen and (max-width:950px){
    .contactMe .form{
        padding-left: 10%;
        padding-right: 10%;
    } 
    .aboutMe{
        padding-top: 5vh;
    }
    .aboutMeData{
        flex-direction: column;
    }
    .aboutMeData .content{
        width: 90%;
        height: max-content;
    }
    .aboutMeData .image img{
        left: 50%;
        width: 100%;
    }
    .skills{
        padding-top: 5vh;
    }
    .skillsData{
        flex-direction: column;
        font-size: 1rem;
    }
    .skillsData .content{
        width: 90%;
        height: max-content;
    }
    .skillsData .elementSphere{
        width: 90%;
        height: 40vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    .skillsLevels{
        margin-top: 10px;
    }
    .skillsLevels .skillsBar{
        margin-bottom: 5px;
    }
    .projects{
        padding-top: 5vh;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .projectData{
        padding-left: 15%;
        height: max-content;
    }
    .projectItem{
        width: 40%;
        height: 40%;
    }
    .contactMe{
        padding-top: 10vh;
    }
    .contactMe .form{
        margin-top: 30px;
        width: 100%;
        /* padding-left: 25%; */
        /* padding-right: 25%; */
        text-align: center;
    }
    .contactMe button{
        font-size: 1rem;
    }
    .navbar{
        width: 50%;
    }
    .mainContent svg{
        width: 180%;
    }
    .bgColor1{
        background: linear-gradient(#64b3f4,#c2e59c);
    }
    .bgColor2{
        background: linear-gradient(#4ca1af,#c4e0e5);
    }
    .bgColor3{
        background: linear-gradient(#ef629f,#eecda3);
    }
    .bgColor4{
        background: linear-gradient(#ff5f6d,#ffc371);
    }
    .bgColor5{
        background: linear-gradient(#e96443,#904e95);
    }
}
@media only screen and (max-width:700px){
    *{
        font-size: 0.98rem;
    }
    
    .socials ul li a i{
        font-size: 1.5rem;
    }
    .skills,.aboutMe,.projects{
        padding-top: 10vh;
    }
    .hamburger{
        
        width: 40px;
        height: 40px;
        padding: 10px;
    }
     
     .close{
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    .hamburger span,.close span{
        width: 20px;
        margin-bottom: 5px;
    }
    .skills,.aboutMe,.projects{
        padding-top: 10vh;
    }
    .skillsData .content{
        /* height: 100%; */
        padding-top: 1%;
    }
    .skillsLevels{
        margin-top: 20px;
    }
    .skillsLevels .skillsBar{
        margin-bottom: 10px;
    }
    .bouncyText span{
        font-size: 3.5rem;
    }
    .projectDisplay{
        padding: 2vh;
        height: 100vh;
        top:0;
        left: 0;
        width: 100%;
        /* z-index: 4; */
    }
    .projectDisplay #projectImages{
        padding: 0 5%;
    }
    .projectDisplay #projectImages img{
        width: 100%;
    }
    .projectDisplay #projectLink{
        margin-bottom:0 ;
    }
    .mainContent svg{
        width: 175%;
    }
}
@media only screen and (max-width:550px){
    *{
        font-size: 0.97rem;
    }
    .bouncyText span{
        font-size: 3rem;
    }
    .skills{
        padding-top: 8vh;
    }
    .navbar{
        width: 60%;
    }
    .projectData{
        padding-left: 20%;
        padding-right: 20%;
    }
    .projectItem{
        width: 100%;
        height: 15vh;
    }
    .projectDisplay{
        text-align: left;
        padding: 2vh;
    }
    .contactMe button{
        width: 40%;
    }
    .mainContent #blobSvg3{
        bottom: -80%;
        left: -60%;
    }
    .aboutMe .image img{
        height: 75%;
        margin-top: 20px;
    }
}
@media only screen and (max-width:460px){
    .loader span{
        font-size: 2rem;
    }
    .homePage{
        height: 100vh;
    }
    .homePage .bouncyText span{
        font-size: 2.6rem;
    }
    .bouncyText span{
        font-size: 2rem;
    }
    .contactMe .form{
        padding-left: 5%;
        padding-right: 5%;
    }
    .navbar{
        width: 70%;
        padding-right: 15px;
    }
    .skills .skillsData .content{
        padding-top: 0;
    }
    .aboutMe .image img{
        height: 60%;
    }

    /* .skills .elementSphere{
        display: none;
    } */
}
@media only screen and (max-width:400px){
    .skills .elementSphere{
        display: none;
    }
    .skillsBar{
        flex-direction: column;
        align-items: left;
    }
    .skillsBar div{
        width: 100%;
        margin-bottom: 5px;
    }
    .skillsLevels .skillsBar div:nth-child(1){
        width: 100%;
    }
    .homePage .bouncyText span{
        font-size: 2rem;
    }
    .projectDisplay #projectImages img{
        height: 18vh;
    }
    mark{
        padding: 0;
    }
    #projectDescription{
        margin-bottom: 5px;
        padding: 5px;
    }
    .aboutMe .image img{
        height: 55%;
    }
}
@media only screen and (max-width:300px){
    *{
        font-size: 0.9rem;
    }
}