@font-face {
    font-family: Moranga;
    src: url(./Fonts/moranga.ttf);
}

@font-face {
    font-family: Gilroy;
    src: url(./Fonts/Gilroy-Bold.otf);
}

@font-face {
    font-family: Gilroy;
    src: url(./Fonts/Gilroy-Semibold.otf);
}

@font-face {
    font-family: Gilroy;
    src: url(./Fonts/Gilroy-Medium.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: "Moranga";
}

::-webkit-scrollbar{
    display: none;
}
html,
body {
    height: 100%;
    width: 100%;
}

#main {
    background-color: #111;
    position: relative;
}


/* Navbar code */


#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 22px;
    /* height: 120px; */
    width: 100%;
    position: fixed;
    top: 2vh;
    overflow: hidden;
    z-index: 99;
}

#nav>a {
    font-size: 2.5vw;
    color: #fff;
    line-height: 2.4vw;
    text-decoration: none;
    width: 10vw;
}

.resume-btn {
    right: 2vmax;
    top: 1vmax;
    z-index: 1111;
    padding: .5vmax 1.5vmax;
    border-radius: 5vmax;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 0 1vmax #FC626A;
    background: linear-gradient(to right, #FE7D84, #FC626A);
    box-shadow: 0 0 0.8vmax #49bff6;
    background: linear-gradient(to right, #4b690d, #0c491c);
    transition: 0.5s all;
    cursor: pointer;
}

.resume-btn a {
    font-size: 1.4vmax;
    font-family: gilroy;
    font-weight: 600;
    text-align: center;
    padding-top: -2px;
}

.resume-btn-prt {
    right: 2vmax;
    top: 1vmax;
    z-index: 1111;
    padding: .9vmax 1.5vmax;
    border-radius: 5vmax;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 0 1vmax #FC626A;
    background: linear-gradient(to right, #FE7D84, #FC626A);
    box-shadow: 0 0 0.8vmax #49bff6;
    background: linear-gradient(to right, #42aa60, #448b3c);
    transition: 0.5s all;
    cursor: pointer;
    display: none;
}

.resume-btn-prt a {
    font-size: 1.1vmax;
    /* background-color: red; */
    font-family: gilroy;
    font-weight: 600;
}

#nav h5 {
    font-size: 1.3vw;
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
    margin-right: 1vw;
    letter-spacing: 1px;
    font-family: gilroy;
}

#nav svg {
    height: 5.1vw;
    cursor: pointer;
    border-radius: 50%;
    /* margin-left: 4.1vw; */
}

/* Navbar responsive  */

@media (max-width:600px) {

    #nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 19px;
        /* height: 120px; */
        width: 100%;
        position: fixed;
        top: 2vh;
        overflow: hidden;
        z-index: 99;
    }

    #nav>a {
        font-size: 7vw;
        color: #fff;
        line-height: 7vw;
        text-decoration: none;
        width: 10vw;
    }

    .resume-btn {
        display: none;
    }


    #nav h5 {
        font-size: 1.3vw;
        color: #fff;
        text-transform: uppercase;
        font-weight: 300;
        margin-right: 1vw;
        letter-spacing: 1px;
        font-family: gilroy;
    }

    #nav svg {
        height: 12.1vw;
        cursor: pointer;
        border-radius: 50%;
        margin-left: 7.1vw;
    }

    .resume-btn-prt {
        padding: .9vmax 1.6vmax;
        margin-left: -11vw;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .resume-btn-prt a {
        font-size: 2.2vmax;
        /* background-color: red; */
        font-family: gilroy;
        font-weight: 600;
    }


}




/* ------Page 1 code----- */





#page1 {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
}

#page1 h1 {
    font-size: 3.5vmax;
    margin-bottom: 2.3vmax;
}

#image-div {
    height: 67vmin;
    width: 70vmax;
    /* border-radius: 50%;
    background-color: red; */
    /* overflow: hidden; */
}

#image-div img {
    object-fit: cover;
    object-position: center;
    height: 123%;
    width: 100%;
}
/* ----Page1 responsive---- */
@media (max-width:600px) {
    #page1 {
        min-height: 73vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: column;
        /* background-color: red; */
        position: relative;
    }

    #page1 h1 {
        font-size: 4.6vmax;
        margin-bottom: 2.5vmax;
    }

    #image-div {
        height: 45vmax;
        width: 75vw;
        /* border-radius: 50%; */
        /* background-color: red; */
        overflow: hidden;
        margin-bottom: 2vmax;
        /* width: 78vw; */
        /* clip-path: ellipse(40% 50% at 50% 50%); */
    }

    #image-div img {
        object-fit: cover;
        object-position: bottom;
        height: 105%;
        width: 100%;
    }

}



/* ------Page2 code------ */



#page2 {
    min-height: 100vh;
    width: 100%;
    padding-top: 10vh;
    position: relative;
}

#name-div {
    width: 100%;
    white-space: nowrap;
    position: relative;
    overflow-x: auto;
    margin-bottom: 13vh;
    overflow-y: hidden;
}

#name-div::-webkit-scrollbar {
    display: none;
}

#name-div h1 {
    font-size: 8vw;
    margin-right: 2vw;
    display: inline-block;
    margin-top: 25px;
}

@keyframes namemoving {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 2vw - 4px));
    }
}

#intro-div {
    text-align: center;
    width: 80%;
    padding-top: 4vh;
    padding-bottom: 10vh;
    /* background-color: red; */
    margin-left: auto;
    margin-right: auto;
}

#intro-div h1 {
    word-spacing: 0.2vw;
    letter-spacing: 0.01vw;
    font-size: 4.4vw;
    line-height: 6.3vw;
}

#intro-div h1 a {
    text-decoration: underline;
}


#intro-div #prof {
    height: 80px;

    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2vmax;
    margin-left: auto;
    margin-right: auto;
}

#intro-div a img {
    height: 6.6vmax;
    /* background-color: blue; */
}
/* ----Page2 responsive----- */
@media (max-width:600px) {

    #page2 {
        min-height: 100vh;
        width: 100%;
        padding-top: 2vh;
        position: relative;
    }

    #name-div {
        width: 100%;
        white-space: nowrap;
        position: relative;
        overflow-x: auto;
        margin-bottom: 1vh;
        /* background-color: red; */
        overflow-y: hidden;
    }

    #name-div::-webkit-scrollbar {
        display: none;
    }

    #name-div h1 {
        font-size: 14.6vw;
        /* background-color:yellow; */
        margin-right: 2vw;
        display: inline-block;
    }


    #intro-div {
        text-align: center;
        width: 90%;
        padding-top: 2vh;
        padding-bottom: 8vh;
        /* background-color: red; */
        margin-left: auto;
        margin-right: auto;
    }

    #intro-div h1 {
        word-spacing: 0.6vw;
        letter-spacing: 0.01vw;
        font-size: 8.2vw;
        font-weight: 100;
        line-height: 11.8vw;
    }

    #intro-div h1 a {
        text-decoration: underline;
    }

    #intro-div #prof {
        height: 70px;
        width: 70%;
        /* background-color: red; */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2vmax;
        margin-left: auto;
        margin-right: auto;
    }

    #intro-div a img {
        /* margin-left: -10px; */
        height: 8.3vmax;
        /* background-color: blue; */
    }

}



/* -----Page3 code------ */



#page3 {
    min-height: 100vh;
    width: 100%;
    background-color: #222;
    padding: 7vh 5.1vw;
    position: relative;
}

#page3>h3 {
    font-size: 4.8vmax;
    font-family: gilroy;
    margin-bottom: 0vmax;
}

#page3>h3 span {
    font-size: 4.8vmax;
    font-family: gilroy;
    color: #38cdfa;
}

#page3>h5 {
    font-size: 2.2vmax;
    font-family: gilroy;
    margin-bottom: 1.4vmax;

}

.box h4 {
    font-size: 2vmax;
    border: 2px solid white;
    display: inline-block;
    font-family: gilroy;
    color: #fff;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 7px;
    margin-top: 4vmax;
    margin-bottom: 1.6vmax;
}


.box img {
    height: 5vmax;
    margin-right: 12px;
    background-color: #ece3e3;
    padding: 5px;
    position: relative;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}
.box img:hover {
    box-shadow: -10px -10px 5px 0px rgba(0, 0, 0, 0.75);

}

.des-box img {
    height: 6vmax;
    margin-right: 1.4vmax;
}



/* ----Page3 responsive---- */



@media (max-width:600px) {


    #page3 {
        min-height: 67vh;
        width: 100%;
        background-color: #222;
        padding: 5vh 5.1vw;
        position: relative;
    }

    #page3>h3 {
        font-size: 4.4vmax;
        font-family: gilroy;
        margin-bottom: 0vmax;
    }

    #page3>h3 span {
        font-size: 4.4vmax;
        font-family: gilroy;
        color: #38cdfa;
    }

    #page3>h5 {
        font-size: 2.2vmax;
        font-family: gilroy;
        font-weight: 500;
        margin-bottom: 1.4vmax;

    }

    .box h4 {
        font-size: 2.1vmax;
        border: 2px solid white;
        display: inline-block;
        font-family: gilroy;
        color: #fff;
        font-weight: 500;
        padding: 5px 9px;
        border-radius: 7px;
        margin-top: 4vmax;
        margin-bottom: 2vmax;
    }


    .box img {
        height: 5.8vmax;
        margin-right: 5px;
        background-color: #fff;
        padding: 4px;
        position: relative;
        border-radius: 5px;
    }

    .des-box img {
        height: 6.7vmax;
        margin-right: 5px;
    }


}



/* ----Page4 code----- */



#page4 {
    min-height: 100vh;
    width: 100%;
    background-color: #333;
    position: relative;
    padding: 5vh 4vw;
}

#page4>h2 {
    font-size: 3.7vmax;
    font-weight: 600;
    font-family: gilroy;
}

#page4>h2 span {
    font-size: 3.7vmax;
    font-weight: 600;
    font-family: gilroy;
    color: #FC626A;
}

#page4>h4 {
    font-size: 1.85vmax;
    font-weight: 500;
    margin-bottom: 3vmax;
    font-family: gilroy;
}

#work-sample {
    background-color: #fff;
    /* border: 3px solid #fff; */
    height: 76vh;
    margin-bottom: 4vmax;
    display: flex;
    border-radius: 10px;
    padding: 2vh;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

#work-sample img {
    height: 13vmax;
    box-shadow: 1px 7px 20px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
}

#page4>a {
    display: block;
    text-align: right;
    /* background-color: red; */
    margin-bottom: 3vmax;
    padding: 0 1vw;
}

#page4>a img {
    height: 4.2vmax;
}



/* ----page4 responsive---- */



@media (max-width:600px) {

    #page4 {
        min-height: 100vh;
        width: 100%;
        background-color: #333;
        position: relative;
        padding: 4vh 4.9vw;
    }

    #page4>h2 {
        font-size: 4.4vmax;
        font-weight: 600;
        font-family: gilroy;
        /* background-color: red; */
    }

    #page4>h2 span {
        font-size: 4.4vmax;
        font-weight: 600;
        font-family: gilroy;
        color: #FC626A;
    }

    #page4>h4 {
        font-size: 2.1vmax;
        font-weight: 500;
        margin-bottom: 3vmax;
        font-family: gilroy;
    }

    #work-sample {
        background-color: #555353;
        height: 69vh;
        margin-bottom: 4.8vmax;
        display: flex;
        border-radius: 10px;
        padding: 2vh 1.5vh;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
    }

    #work-sample img {
        height: 23vw;
        margin: 0 2px;
        box-shadow: 1px 7px 15px rgba(0, 0, 0, 0.25);
    }

    #page4>a {
        display: block;
        text-align: right;
        /* background-color: red; */
        margin-bottom: 1vmax;
        padding: 0 1vw;
    }

    #page4>a img {
        height: 6vmax;
    }


}



/* ----page6 code---- */




#page6 {
    background-color: #222;
    min-height: 94vh;
    width: 100%;
    position: relative;
    padding: 4.5vh 4.2vw;
}

#page6 h1 {
    /* text-align: center; */
    font-size: 4.6vmax;
    font-family: gilroy;
    margin-top: 1vmax;
    margin-bottom: 3.5vmax;
}

#page6 h1 span {
    color: #F6BA53;
    font-family: gilroy;
}

#artworks a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    height: 72px;
    border-top: 2px solid #fff;
    padding: 0 3px;
}

#artworks a:nth-last-child(1) {
    border-bottom: 2px solid #fff;
    margin-bottom: 5vmax;
}

#artworks a h4 {
    font-size: 1.7vmax;
    position: relative;
    z-index: 99;
    transition: color ease-in 0.4s;
    width: 12%;
}

#artworks a h5 {
    font-size: 1.8vmax;
    font-weight: 600;
    font-family: gilroy;
    width: 30%;
    position: relative;
    transition: color ease-in 0.4s;
    z-index: 99;
}

#artworks a h6 {
    font-size: 1.6vmax;
    width: 30%;
    text-align: right;
    position: relative;
    z-index: 99;
    transition: color ease-in 0.4s;
}

#sliding-div {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 9;
    width: 0%;
    transition: width cubic-bezier(0.19, 1, 0.22, 1) 1.3s;
    background-color: #fff;
}


#artworks a:hover #sliding-div {
    width: 100%;
}

#artworks a:hover h4 {
    color: #222;
}

#artworks a:hover h5 {
    color: #222;
}

#artworks a:hover h6 {
    color: #222;
}




/* ----page6 responsive---- */

@media (max-width:600px) {
    #page6 {
        background-color: #222;
        min-height: 93vh;
        width: 100%;
        position: relative;
        padding: 4.5vh 4.7vw;
    }

    #page6 h1 {
        /* text-align: center; */
        font-size: 4vmax;
        font-family: gilroy;
        margin-top: 0vmax;
        margin-bottom: 5vmax;
    }

    #page6 h1 span {
        color: #F6BA53;
        font-family: gilroy;
    }

    #artworks a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
        height: 70px;
        border-top: 2px solid #fff;
        padding: 0 2px;
    }

    #artworks a:nth-last-child(1) {
        border-bottom: 2px solid #fff;
        margin-bottom: 5vmax;
    }

    #artworks a h4 {
        font-size: 2.3vmax;
        position: relative;
        z-index: 99;
        transition: color ease-in 0.4s;
        width: 18%;
        /* background-color: red; */
    }

    #artworks a h5 {
        font-size: 2vmax;
        font-weight: 600;
        font-family: gilroy;
        width: 33%;
        /* background-color: red; */
        position: relative;
        transition: color ease-in 0.4s;
        z-index: 99;
    }

    #artworks a h6 {
        font-size: 1.9vmax;
        width: 29%;
        text-align: right;
        /* background-color: red; */
        position: relative;
        z-index: 99;
        font-family: gilroy;
        transition: color ease-in 0.4s;
    }

    #sliding-div {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 9;
        width: 0%;
        transition: width cubic-bezier(0.19, 1, 0.22, 1) 1.3s;
        background-color: #fff;
    }


    #artworks a:hover #sliding-div {
        width: 100%;
    }

    #artworks a:hover h4 {
        color: #222;
    }

    #artworks a:hover h5 {
        color: #222;
    }

    #artworks a:hover h6 {
        color: #222;
    }

}



/* -------page5--------------- */

.page5 {
    width: 100%;
    height: 112vh;
    padding: -9vmax 5vmax;
    /* margin-top: 15vh; */
    background-color: #393939;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    
}

.page5>h1 {
    font: 640 9vmax "Gilroy";
    font-weight: 900;
    margin-left: 12px;
}
.page5>h1 a {
    /* font: 640 9vmax "Gilroy"; */
    font-family: gilroy;

}

.mail {
    color: #FC626A;
}


.instagram {
    color: transparent;
    background:linear-gradient(to right,rgb(221, 13, 214), rgba(215, 68, 52, 0.489), rgb(243, 255, 68)); 
             -webkit-background-clip: text; 
             -webkit-text-fill-color: transparent;
    font-family: gilroy;
    text-shadow: 0 0 60px rgba(255, 0, 0, 0.526); 
    animation: anime 1s infinite alternate;

}
@keyframes anime {
    100%{
        text-shadow: 0 0 60px rgba(12, 12, 191, 0.526);
    }
}
.linkedin {
    color: #51CDE7;
}

.twitter {
    color: #3d5fe7;
}

.leetcode {
    display: flex;
    background-color: rgb(108, 108, 102);
    width: 701px;
    height: 62px;
    border-radius: 32px;
    padding: 28px 56px;
    margin: 0px 10px;
    justify-content: center;
    align-items: center;
    align-items: center;
    gap: 19px;
    cursor: pointer;
}

.leetcode  h2 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-family: gilroy;
    margin-bottom: 5px;

}

 #prof .leetcode  img {
    width: 40px;
    height: 40px;
}
#prof{
    gap: -2px;
}

@media (min-width:400px) {
    .leetcode {
        width: 150px;
        padding: 12px 20px;
        height: 37px;
        margin-left: 40px;
        margin-bottom: 5px;
    gap: 10px;

    }
    .leetcode h2{
        font-size: 20px;
    margin-bottom: 3px;

    }
    #prof .leetcode img {
        width: 30px;
        height: 30px;
    }
}
@media (min-width:600px) {
    .leetcode {
        width: 250px;
        padding: 15px 30px;
        height: 37px;
        margin-left: 40px;
        margin-bottom: 5px;
    gap: 10px;

    }
    .leetcode h2{
        font-size: 20px;
    margin-bottom: 3px;

    }
    #prof .leetcode img {
        width: 30px;
        height: 30px;
    }
}
@media (min-width:950px) {
    .leetcode {
        width: 350px;
        padding: 27px 40px;
        height: 47px;
        margin-left: 45px;
        margin-bottom: 5px;
    gap: 10px;

    }
    .leetcode h2{
        font-size: 28px;
    margin-bottom: 3px;

    }
    #prof .leetcode img {
        width: 27px;
        height: 27px;
    }
}
@media (max-width:399px) {
    .leetcode {
        width: 130px;
        padding: 12px 18px;
        height: 30px;
        margin-left: 30px;
        margin-bottom: 5px;
    gap: 10px;

    }
    .leetcode h2{
        font-size: 16px;
    margin-bottom: 0px;

    }
    #prof .leetcode img {
        width:25px;
        height: 25px;
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: -2vmax 0;
    font-family: gilroy;
    font-weight: 600;
    font-size: 1.5vmax;
    /* font: normal 1.2vmax "Mont"; */
}

footer span {
    font-family: gilroy;
}

.author {
    /* font-size: 4vmax; */
    font-family: monument;
}

.author a {
    /* font-size: 4vmax; */
    color: #FC626A;
}

footer>img {
    width: 1.8vmax;
    margin: 0 .5vmax;
}

/* ----------------- for all----------------- */
a {
    color: inherit !important;
    text-decoration: none;
    transition: .5s all;
}

.page5 a:hover {
    text-decoration: line-through;
}

@media (max-width:600px) {
    .page5{
        height: 100vh;
    }
    .page5>h1 {
        font-size: 8.1vmax;
        padding-top: 20px;
    }

    footer {
        font-size: 2vmax;
        margin-top: 10vmax;
    }

    .author {
        font-size: 5vmax;
    }

    footer>img {
        width: 3vmax;
    }
}