@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT&family=Roboto+Condensed:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Comfortaa:wght@500&family=Josefin+Sans&family=Playfair+Display:wght@500&display=swap');

@font-face {
    font-family: 'Gilroy';
    src: url('/resource/Gilroy-Medium.ttf') format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', serif;
    color: #fff;
}

body {
    height: 100%;
    width: 100%;
    background: #111;
}

.container {
    padding: 2vh 5vw;
}

/* loader Css */

.preloader {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 10vw;
}


.preloader h1 {
    overflow: hidden;
    margin-top: 4vh;
    width: fit-content;
    display: block;
    /* background-color: blue; */
    text-align: center;
    font-size: 9vw;
    text-transform: uppercase;
    font-family: 'gilroy', serif;
}

.preloader h1:nth-child(2) {
    margin-left: 20%;
}

.first {
    width: 100%;
    height: 50%;
    /* background-color: red; */
}

.second {
    width: 100%;
    height: 50%;
    /* background-color: royalblue; */
}

/* loader responsive css */


@media (max-width: 600px) {

    .cursor {
        /* transform: scale(0) !important; */
        display: none;
    }

    .preloader h1 {
        font-size: 12vw;
    }
}

.main {
    background-color: #111;
    overflow: hidden;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: #fff;
    mix-blend-mode: difference;
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: 0.2s ease transform;
    user-select: none;
    pointer-events: none;
    opacity: 0;
    transform: scale(0);
    z-index: 9999;
    overflow: hidden;
}

.cursor h5 {
    height: 100%;
    font-size: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.grow {
    transform: scale(7);
}

.sticky {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
}

/* navbar Css */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding: 0 30px;
    background-color: rgba(17, 17, 17, 0.8);
    position: relative;
    top: 0;
    left: 0;
    z-index: 99;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* opacity: 0; */
    visibility: hidden;
}

.navbar.show {
    opacity: 1;
    visibility: visible;
}

/* Floating navbar state - properties handled by GSAP */
/* .navbar.floating {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 60px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
} */

.navbar .logo {
    text-decoration: none;
    color: #fff !important;
    font-size: 2vw;
    font-family: 'gilroy';
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    /* visibility: visible; */
    opacity: 0;
}

.navbar .logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.3));
    transition: width 0.3s ease;
}

.navbar .logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5vmax;
    font-family: sans-serif !important;
}

.nav-links .nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2vmax;
    font-weight: 600;
    padding: 5px 0;
    /* text-transform: uppercase; */
    letter-spacing: 1.5px;
    background: transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    /* display: flex;
    align-items: center;
    justify-content: space-between; */
}

.nav-links .nav-link span {
    font-family: sans-serif !important;
}

.nav-links .nav-link::after {
    content: '';
    height: 2px;
    background: #fff;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform .3s ease-out;
    transform-origin: bottom right;
    transition: transform .5s ease-out;
}

.nav-links .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-links .nav-link:hover {
    color: #fff;
    transform: translateY(100%);
}

.dropdown-button {
    z-index: 20;
    height: 40px;
    width: 40px;
    display: none;
}

.dropdown-button svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
    cursor: pointer;
    transition: .2s;
    overflow: visible;
}

#topLine,
#bottomLine {
    /* transition: transform .2s ease-in-out; */
    transform-box: fill-box;
    /* transform-origin: center; */
}

.dropdown-button svg g {
    width: 100%;
    height: 100%;
}

.dropdown-button svg g line {
    stroke-width: 2px;
    stroke-linecap: round;
    transition: all .2s ease-in-out;
}

/* svg g:first-child {
    opacity: 1;
    transition: opacity 0s .2s;
}

svg g:first-child g line {
    transition: transform .2s .2s;
    transform: translateY(0px);
}

svg g:last-child {
    opacity: 0;
    transition: opacity 0s .2s;
}

svg g:last-child g line {
    transition: transform .2s;
    transform: rotate(0deg);
    transform-origin: center;
}

.dropdown-button.-menu-open svg {
    stroke: #fff;
}

.dropdown-button.-menu-open svg g:first-child {
    opacity: 0;
}

.dropdown-button.-menu-open svg g:first-child line {
    transition: transform 0.2s;
}

.dropdown-button.-menu-open svg g:first-child line:first-child {
    transform: translateY(7px);
}

.dropdown-button.-menu-open svg g:first-child line:last-child {
    transform: translateY(-7px);
}

.dropdown-button.-menu-open svg g:last-child {
    opacity: 1;
}

.dropdown-button.-menu-open svg g:last-child line {
    transition: transform 0.2s 0.2s;
}

.dropdown-button.-menu-open svg g:last-child line:first-child {
    transform: rotate(45deg);
}

.dropdown-button.-menu-open svg g:last-child line:last-child {
    transform: rotate(-45deg);
} */

.dropdown-content {
    /* display: none; */
    display: block;
    height: 100%;
}

.dropdown {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    height: fit-content;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown.open {
    display: block;
}

.dropdown-content {
    /* background-color: rgba(17, 17, 17, 0.8); */
    /* position: absolute; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: fit-content;
    width: 100%;
    /* background-color: red; */
    padding: 20px;
}

.dropdown-content .dropdown-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 15px 20px;
    width: fit-content;
    transition: background-color .3s ease;
    font-family: sans-serif !important;
    font-size: 1.5vmax;
    font-weight: 600;
    padding: 10px 0;
    letter-spacing: 2.5px;
    background: transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* transform: translateY(-20px); */
    transition: color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dropdown-content .dropdown-link::after {
    content: '';
    height: 2px;
    background: #fff;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform .3s ease-out;
    transform-origin: bottom right;
    transition: transform .5s ease-out;
}

.dropdown-content .dropdown-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.dropdown-content .dropdown-link:hover {
    color: #fff;
    /* transform: translateY(100%); */
}


/* navbar responsive css */

@media (max-width: 1024px) {
    .navbar .logo {
        font-size: 3vw;
    }

    .nav-links {
        display: none;
    }

    .dropdown-button {
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .navbar .logo {
        font-size: 4vw;
        font-weight: 700;
        display: block;
        visibility: visible;
        opacity: 0;
        color: #fff;
    }

    .navbar.floating {
        width: 95%;
        height: 55px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links .nav-link {
        font-size: 2vmax;
        font-weight: 600;
        padding: 8px 14px;
        letter-spacing: 1px;
    }
}

/* Small mobile screens - show hamburger only */
@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
        justify-content: space-between;
    }

    .navbar .logo {
        font-size: 6vw;
        flex-shrink: 0;
        display: block;
        visibility: visible;
        opacity: 1;
        color: #fff;
    }

    .navbar.floating {
        width: 96%;
        height: 50px;
        border-radius: 30px;
    }

    .nav-links {
        gap: 3px;
        flex-wrap: nowrap;
    }

    .nav-links .nav-link {
        padding: 8px 10px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide text, show icon */
    .nav-links .nav-link .link-text {
        display: none;
    }

    .nav-links .nav-link i {
        display: block;
        font-size: 1rem;
    }

    .nav-links .nav-link:hover {
        transform: scale(1.1);
    }
}

/* page1 css */

.page1 {
    width: 100%;
    min-height: 100vh;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
}

.page1 h3 {
    font-size: 2vw;
    /* margin-top: 50px; */
    font-family: 'Josefin Sans', serif;
    margin-top: 90px;

}

.space {
    width: 65%;
    /* background-color: red; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* margin-top: 30px; */
}

.page1 .space h1 {
    overflow: hidden;
    margin-top: 4vh;
    width: fit-content;
    /* background-color: blue; */
    text-align: center;
    font-size: 9vw;
    text-transform: uppercase;
    font-family: 'gilroy', serif;
}

.page1 h1:nth-child(2) {
    margin-left: 20%;
}

.scroll {
    margin: 20px 0;
}

.scroll p {
    text-align: center;
    font-size: 4vw;
    padding-bottom: 20px;
    font-family: 'Josefin Sans';
    font-weight: 500;
    transition: transform cubic-bezier(.15, .41, .69, .94);
}

.scroll h3 {
    font-weight: 100;
    margin-top: 20px;
    font-size: 2vw;
    font-family: 'Josefin Sans';
}

/* page1 responsive css */

@media (max-width: 600px) {
    .page1 {
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .page1 h3 {
        font-size: 5vw
    }

    .page1 .space {
        width: 100%;
    }

    .page1 .space h1 {
        font-size: 11vw;
    }

    .page1 h1:nth-child(1) {
        margin-right: 8%;
    }

    .scroll p {
        font-size: 9vw;
    }

    .scroll h3 {
        font-size: 6vw;
    }
}

/* page2 css */

.page2 {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.page2 h3 {
    margin: 50px 0;
    height: 100px;
    font-size: 5vw;
    white-space: nowrap;
    font-family: 'gilroy';
    font-weight: 100;
}

.about {
    /* border-bottom: 0px solid #fff; */
    margin-bottom: 10px;
}

.border-line {
    height: 2px;
    width: 100%;
    background: white;
    /* transform: translateX("0%"); */
    /* transform-origin:left; */
    /* overflow: hidden; */
}

.about h2 {
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 100;
    position: relative;
    width: fit-content;
    font-size: 1.2vw;
}

.about h2:after {
    content: '';
    height: 2px;
    background: #fff;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform .3s ease-out;
    transform-origin: bottom right;
}

.about h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.page2 .content {
    text-align: center;
    margin-top: 20px;
}

.page2 .content h1 {
    font-size: 4vmax;
    /* color: #fff; */
    font-family: 'gilroy', sans-serif;
    font-weight: 400;
    text-align: center;
    display: inline;
    line-height: 1.3;
    background: linear-gradient(to left,
            rgba(173, 173, 173, 0.544) 50%,
            rgb(255, 255, 255) 50%);
    background-size: 200% 100%;
    background-position-x: 0%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.page2 .content h1 b {
    font-weight: 300;
}

/* page2 responsive css */

@media (max-width: 1024px) {
    .about h2 {
        font-size: 1.7vw;
    }
}

@media (max-width: 600px) {
    .page2 h3 {
        margin: 30px 0;
        margin-bottom: 0;
        height: 65px;
        font-size: 9vw;
    }

    /* .page2 .about {
        margin-bottom: 10px;
    } */

    .page2 .about h2 {
        font-size: 4.5vw;
    }
}

/* page3 css */

.page3 {
    width: 100%;
    min-height: 100vh;
    position: relative;
}



.page3 .container .portfolio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 2px solid #fff; */
    text-transform: uppercase;
}

.portfolio h2,
.portfolio a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 100;
    margin-top: 20px;
    font-size: 1.2vw;
    margin-bottom: 10px;
    position: relative;
}

.portfolio a {
    text-decoration: none;
    color: #fff;
    font-family: 'gilroy', sans-serif;
    /* font-weight: 500; */
    cursor: pointer;
}

.portfolio h2:after,
.portfolio a:after {
    content: '';
    height: 2px;
    background: #fff;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform .3s ease-out;
    transform-origin: bottom right;
}

.portfolio a:after {
    transition: transform .5s ease-out;
}

.portfolio h2:hover::after,
.portfolio a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.project {
    margin-top: 100px;
}

.heading {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project h1 {
    font-size: 10vw;
    text-align: center;
    text-indent: 3vw;
    /* font-family: 'Josefin Sans', sans-serif; */
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.projectContainer {
    display: flex;
    align-items: end;
    justify-content: center;
    position: relative;
    width: 100%;
    /* min-height: 400px; */
    flex-wrap: wrap;
    margin-top: 3vw;
}

.left {
    width: 50%;
    height: 100%;
    position: relative;
}

.right {
    width: 50%;
    height: 100%;
}


.projectContainer .gif,
.projectContainer .gif {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.projectContainer .project-link {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: #51CDE7; */
    z-index: 15;
}

.projectContainer .projectDescription {
    padding-left: 2vw;
    /* background-color: blue; */
    margin-bottom: 30px;
}


.projectDescription h2,
.projectDescription h2 {
    font-family: 'comfortaa', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 2vw;
    /* width: 33%; */
}

.projectDescription p,
.projectDescription p {
    /* width: 70%; */
    width: 30%;
    font-family: 'comfortaa';
    /* font-weight: 500; */
    margin-top: 20px;
    font-size: 1vw;

}

.left .projectDescription {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    /* background-color: red; */
    padding-right: 2vw;

}

.left .projectDescription p {
    /* background-color: aqua; */
    width: 40%;
    text-align: end;
}

/* page3 responsive css */

@media (max-width: 1024px) {

    .portfolio h2,
    .portfolio a {
        font-size: 1.7vw;
    }
}

@media (max-width: 600px) {
    .page3 {
        min-height: 70vh;
    }

    .portfolio h2,
    .portfolio a {
        font-size: 4.5vw;
    }

    .project {
        margin-top: 5vw;
    }

    .projectContainer {
        min-height: 100px;
        margin-top: 20px;
    }

    .projectContainer .projectDescription {
        padding-left: 2vw;
        margin-bottom: 10px;
    }

    .projectDescription h2,
    .projectDescription h2 {
        font-weight: 600;
        font-size: 4vw;
        /* width: 33%; */
    }

    .projectDescription p,
    .projectDescription p {
        /* width: 70%; */
        width: 100%;
        margin-top: 10px;
        font-size: 2.5vw;

    }

    .left .projectDescription p {
        width: 100%;
        text-align: end;
    }
}

/* page4 css */

.page4 {
    width: 100%;
    min-height: auto;
    padding: 50px 0;
}

.skill {
    /* border-bottom: 2px solid #fff; */
    margin-bottom: 10px;
}

.skill h2 {
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    position: relative;
    width: fit-content;
    text-transform: uppercase;
    font-size: 1.2vw;
}

.skill h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s ease-out;
    transform-origin: bottom right;
}

.skill h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.imgContainer {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px
}

.skillImg {
    margin: 10px;
}

.skillImg .img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 200px;
    object-fit: contain;
    width: 100px;
    height: 100px;
    text-align: center;
}

.skillImg .img img {
    width: 70px;
    height: 70px;
    transform: scale(1);
    transition: transform .3s ease-in;
}

.skillImg .img:hover img {
    transform: scale(1.1);
}

.skillImg .img-box p {
    text-align: center;
    font-family: 'gilroy', serif;
    margin-top: 7px;
}

/* page4 responsive css */

@media (max-width: 1024px) {
    .skill h2 {
        font-size: 1.7vw;
    }
}

@media (max-width: 600px) {
    .skill h2 {
        font-size: 4.5vw;
    }
}


/* page5 css */

.page5 {
    width: 100%;
    min-height: 60vh;
    padding: 50px 0;
}


.contact {
    /* border-bottom: 2px solid #fff; */
    margin-bottom: 10px;
}

.contact h2 {
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    position: relative;
    width: fit-content;
    text-transform: uppercase;
    font-size: 1.2vw;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s ease-out;
    transform-origin: bottom right;
}

.contact h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.page5 h1 {
    font: 700 9vmax "Gilroy";
    font-weight: 900;
}

.page5 a {
    text-decoration: line-through;
}

.mail a {
    color: #FC626A;
}

.linkedin a {
    color: #51CDE7;
}

.page5 a:hover {
    text-decoration: none;
}

.footer {
    display: block;
    width: 100%;
    height: fit-content;
    padding-bottom: 20px;
}

.footer .footerText {
    font-weight: 100;
    text-align: center;
    font-family: 'gilroy';
}

/* footer {
    width: 100%;
    padding: 20px 0;
} */

/* page5 responsive css */

@media (max-width: 1024px) {
    .contact h2 {
        font-size: 1.7vw;
    }
}

@media (max-width: 600px) {
    .contact h2 {
        font-size: 4.5vw;
    }

    .page5 h1 {
        text-align: center;
    }

    /* footer {
        padding: 30px 0;
        min-height: 60px;
    }

    footer h3 {
        font-size: 3.5vw;
        padding-bottom: 30px;
    } */
}