* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Gilroy';
    color: white;
    @import url('https://fonts.cdnfonts.com/css/gilroy-bold');
}

@font-face {
    font-family: "ArobaModern";
    src: url(font/ArobaModernDemo-Regular.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "DH";
    src: url(font/Dreaming\ Holiday.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MB";
    src: url(font/Mother\ Beloved.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "PT";
    src: url(font/Perfect\ Together.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "DK";
    src: url(font/Thunder-BlackLC.ttf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Premium";
    src: url(font/Mazius\ Display\ Extraitalic.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}

nav {
    position: fixed;
    display: flex;
    align-items: center;
    width: 100vw;
    padding: 2vw 4vw;
    gap: 20px;
    justify-content: center;
    z-index: 100;
    background-color: #111;

}

.navLinks {
    margin: 0px 70px;
    display: flex;
    justify-content: space-between;
    gap: 2vw;

}

nav h4 {
    font-weight: 500;
}

.navLinks h4 span {
    font-size: 1rem;
    font-weight: 500;
}

.navLinks h4:hover {
    transition: all .3s cubic-bezier(0.21, 0.95, 0.29, 1);
    color: rgb(133, 133, 133);
    cursor: pointer;
}

nav button {

    display: flex;
    background-color: #1d2129;
    border-radius: 40px;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 7px 20px;
    cursor: pointer;
    gap: 10px;
    font-weight: 400;
    font-size: 1.1rem;
}

.icon-Container {
    width: 40px;
    height: 40px;
    background-color: #f59aff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #1d2129;
}

.text {
    width: calc(170px - 45px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    letter-spacing: 1.2px;
}

.icon-Container svg {
    transition-duration: 1.5s;
}

.icon-Container svg:hover {
    transition-duration: 1.5s;
    animation: arrow 1s linear infinite;
}

@keyframes arrow {
    0% {
        opacity: 0;
        margin-left: 0px;
    }

    100% {
        opacity: 1;
        margin-left: 10px;
    }
}

.nav-bottom {
    height: 0px;
    width: 95%;
    position: absolute;
    bottom: 0px;
    border-bottom: rgb(68, 68, 68) .51px solid;
    transition: all 1s cubic-bezier(0.21, 0.95, 0.29, 1);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 24rem;
    background-color: #111;
    z-index: -199;
}

.nav-bottom .csDiv:last-child {
    margin-right: 30px;
}

.csDiv h5 span {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0;
    transition: all .2s cubic-bezier(0.21, 0.95, 0.29, 1);
    margin-bottom: 2px;
}

.csDiv h5 span:hover {
    transition: all .1s linear;
    color: rgb(133, 133, 133);
    cursor: pointer;
    opacity: 1;
}

.csDiv h5 {
    margin-bottom: 0.2rem;
    overflow: hidden;


}

nav:hover .nav-bottom {
    height: 100%;
    bottom: -100%;
    margin: 2rem;
}

nav:hover .csDiv h5 span {
    opacity: 1;
    transition: all .2s cubic-bezier(0.21, 0.95, 0.29, 1);
    transition-delay: .2s;
    transform: translateY(0);
}

.main {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page1 {
    background-color: #111;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.line-child {
    display: inline-block;
    font-size: 8vw;
    line-height: 8vw;
    letter-spacing: -0.2rem;
    font-family: "Space Grotesk";
    font-weight: 500;
    color: #27bbff;

}

.devtag {
    margin-top: 10px;
    display: flex;
    gap: .5px;
    font-size: 1.3rem;
}

.hero,
.page1,
body {
    position: relative;
}

.page1 p svg {

    width: "2em";
    height: "2em";
    border-radius: 50%;
    background-color: rgb(255, 140, 0);
}

#bio {
    text-align: center;
    margin-top: 2.4vh;
    font-weight: 300;
    font-size: 1.3rem;
    color: antiquewhite;
}

.skills {
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills h4 {
    margin-top: 2.2vh;
    font-weight: 400;
    font-size: 1vw;
    padding: 5px 10px;
    border-radius: 40px;
    border: white 1px solid;
    margin-left: 10px;
}

/* Infinite Div */

.moving-div {
    position: absolute;
    bottom: 5%;
    width: 40%;
    white-space: nowrap;
    padding: 1rem;
    overflow: hidden;
    z-index: 2;

}

.moving_img {
    display: inline-block;
    animation-name: movingImages;
    animation-timing-function: linear;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.moving_img img {
    height: 50px;
    width: auto;
    margin: .8rem;
}

@keyframes movingImages {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.fade-left {
    height: 100%;
    width: 20%;
    position: absolute;
    z-index: 10;
    left: 0px;
    top: 0;
    background: linear-gradient(to right, #111, transparent);
}

.fade-right {
    height: 100%;
    width: 20%;
    position: absolute;
    z-index: 10;
    right: 0px;
    top: 0;
    background: linear-gradient(to right, transparent, #111);
}

/* Page 2 */

.page2 {
    border-top: rgb(32, 32, 32) .31px solid;
    height: 100vh;
    width: 100%;
    background-color: #111;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 5vh 11vh;
}

.left_Part {
    height: 100%;
    width: 40%;
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
    flex-direction: column;
    padding: 5vh 2vh;
}

.right_Part {
    height: 100%;
    width: 50%;
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
    flex-direction: column;
}

.left_Part {
    font-size: 1.3rem;
    gap: 5px;
}

.left_Part p span {
    color: #afafaf;
    font-style: italic;
}

/* Right Part */
.projects-divs {
    border-bottom: 1px solid rgb(41, 41, 41);
    padding: 6vh 3vh 7vh 3vh;
    height: 30.33%;
    transition: all .2s ease-in;
    position: relative;
    margin-top: 20px;

}

.projects-divs .arrow {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0px 50px 0 0;
    overflow: hidden;
    transform: translate(0, 0);
    opacity: .3;
}

.projects-divs:hover {
    border-bottom: 2px solid rgb(207, 207, 207);
}

@keyframes arrow {
    0% {
        transform: translate(0px, -0px);
    }

    50% {
        transform: translate(2.5px, -2.5px);
    }

    100% {
        transform: translate(5px, -5px);
    }
}

.projects-divs:hover .arrow {
    animation: arrow .2s ease-in forwards;
    opacity: 1;
}

.projects-divs img {
    height: 25vh;
    width: 25vh;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    opacity: 0;
    scale: 0;
}

.projects-divs h3 {
    font-weight: 400;
    font-size: 1.3rem;
}

.page3 {
    height: 100vh;
    width: 100vw;
    background-color: #fcfcfc;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18vh 11vh;
    color: #050505;
}

.Avobe {
    width: 100%;
    height: 60%;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    pointer-events: none;

}

.Avobe h1 span {
    color: #34192F;
    font-size: 8.8rem;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: 1px;
    line-height: .9;
    font-family: "DK";
    z-index: 1;
    pointer-events: none;


}

.decoratives {
    align-self: baseline;
    z-index: 1;

}

.decoratives img {
    width: 50px;
    height: 50px;
    z-index: 1;

}

.Avobe p {
    margin-top: 20px;
    color: #050505;
    font-size: 1.2rem;
    z-index: 1;
    pointer-events: none;


}

.rightPart {
    margin-top: 60px;
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;


}

.rightPart p {
    color: #2c2c2c;
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 8px;
    z-index: 1;
    pointer-events: none;


}

.infop {
    font-family: "Gilroy";
    color: #2c2c2c;
    margin-bottom: 10px;
    letter-spacing: 5px;
    z-index: 1;
    pointer-events: none;


}

.theUnfiltered {
    text-align: center;
    width: 50%;
    z-index: 1;
    pointer-events: none;
}

.theUnfiltered h2 {
    margin-bottom: 4px;
    color: #333333;
    font-family: "Gilroy";
    letter-spacing: 5px;
    text-align: center;
    padding: 1px;
    border-radius: 20px;
}

/* Page 4 */

.page4 {
    min-height: 100vh;
    width: 100%;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 80px;
}

.section {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.part1-left {
    height: 100%;
    width: 40%;
    margin: 0px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 100px;
    align-self: baseline;
    padding-top: 20px;
    border-top: 1px solid #b4b4b4;
    transition: all .1s ease-in;

}

.part1-left:hover {
    border-top: 2px solid #3b3b3b;
}

.part1-left p {
    width: 90%;
    color: #2c2c2c;
    font-size: 1.3rem;
    font-weight: 400;
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.heading h2 {
    font-weight: 500;
    color: #524e4e;
    transition: all .1s ease-in;
}

.part1-left:hover .heading h2 {
    font-weight: 500;
    color: #2c2c2c;
}

.heading span svg {
    display: inline-block;
    justify-content: center;
    align-items: center;
    height: 24px;
    display: flex;
    /* ✅ flex needed */
    transform: rotate(0deg);
    transition: all .2s ease-in;
    transform: scale(0.9);
    stroke: #777777;
    margin-left: 90px;
}

.part1-left:hover .heading span svg {
    transform: rotate(-45deg);
    stroke: #2c2c2c;
    width: 26px;
    height: 26px;
}

.heading span svg {
    display: inline-block;
    justify-content: center;
    align-items: center;
}

.part1-right {
    justify-content: center;
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: none;

}

.part1-right img {
    height: 90%;
    width: 90%;
    transition: all 0.2s ease;
    object-fit: cover;
    cursor: none;

}

.part1-right video {
    height: 100%;
    width: 90%;
    transition: all 0.2s ease;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity ease-in .2s;
    cursor: none;

}

.cursor {
    height: 120px;
    width: 120px;
    background-color: rgb(74, 33, 255);
    display: flex;
    border-radius: 50%;
    align-items: flex-end;
    position: fixed;
    pointer-events: none;
    opacity: 0;
    transform: translate(-90%, -20%) scale(0.8);
    z-index: 9999;
}

.cursor p {
    margin-bottom: 24px;
    margin-left: 20px;
    font-size: 0.9rem;
    color: white;
    font-weight: 400;
}

.cursorSvg {
    position: absolute;
    right: 24px;
    top: 20px;
    animation: arrowMove 1.1s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes arrowMove {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    100% {
        transform: rotate(-45deg) translate(6px);
    }
}

@media (width <=980px) {

    /* Page 1 */
    .devtag {
        margin-top: 10px;
        display: flex;
        gap: .5px;
        font-size: 1.1rem;
    }

    #bio {
        margin-top: 2vh;
        font-size: 1.1rem;
        width: 90%;
    }

    .skills h4 {
        font-size: .8rem;
    }

    .moving-div {
        position: absolute;
        bottom: 10%;
        width: 70%;
        white-space: nowrap;
        padding: 1rem;
        overflow: hidden;
        z-index: 2;

    }

    .moving_img img {
        height: 40px;
    }

    /* Page 3 */
    .page3 {
        height: 100%;
        padding: 12vh 6vh;
    }

    .Avobe h1 span {
        font-size: 5.8rem;
    }

    .decoratives {
        align-self: baseline;
        z-index: 1;
    }

    .decoratives img {
        width: 45px;
        height: 45px;
        z-index: 1;
    }

    .theUnfiltered h2 {
        font-size: 1.3rem;
        text-align: left;

    }

    .theUnfiltered p {
        font-size: 1.1rem;
        text-align: left;
    }

    /* Page 4 */

    .page4 {
        padding: 25px 10px;
    }

    .section {
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
        gap: 25px;
    }

    .part1-left {
        flex-direction: row;
        width: 100%;
        margin: 10px 20px;
    }

    .part1-left p {
        font-size: 1.22rem;
    }

    .part1-right {
        justify-content: center;
        align-items: center;
        display: flex;
        height: 100%;
        width: 100%;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        cursor: none;

    }

    .part1-right img {
        height: 95%;
        width: 95%;
    }

    .part1-right video {
        width: 100%;
    }

    /* page 2 */
    .left_Part {
        font-size: 1.2rem;
    }

    /* Right Part */
    .projects-divs {

        padding: 6vh 3vh 3rem 3vh;

    }

    .projects-divs .arrow {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0px 50px 0 0;
        overflow: hidden;
        transform: translate(0, 0);
        opacity: .3;
    }

    .projects-divs:hover {
        border-bottom: 2px solid rgb(207, 207, 207);
    }

    .projects-divs img {
        height: 20vh;
        width: 20vh;
    }

    .projects-divs h3 {
        font-weight: 400;
        font-size: 1.1rem;
    }
}


@media (width <=360px) {

    /* Page 1 */
    .line-child {
        font-size: 3rem;
        line-height: 8vw;
    }

    .devtag {
        margin-top: 10px;
        display: flex;
        gap: .5px;
        font-size: 1.1rem;
    }

    #bio {
        margin-top: 2vh;
        font-size: 1.1rem;
        width: 90%;
    }

    .skills h4 {
        font-size: .8rem;
    }

    .moving-div {
        position: absolute;
        bottom: 10%;
        width: 70%;
        white-space: nowrap;
        padding: 1rem;
        overflow: hidden;
        z-index: 2;

    }

    .moving_img img {
        height: 40px;
    }

    /* Page 3 */
    .page3 {
        height: 100%;
        padding: 1rem 2rem;
    }

    .Avobe h1 span {
        font-size: 3rem;
    }

    .decoratives {
        align-self: baseline;
        z-index: 1;
    }

    .decoratives img {
        width: 25px;
        height: 25px;
        z-index: 1;
    }

    .theUnfiltered h2 {
        font-size: 1rem;
        text-align: left;

    }

    .theUnfiltered p {
        font-size: .8rem;
        text-align: left;
    }

    /* Page 4 */

    .page4 {
        padding: 25px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        height: 100%;
        width: 80%;
        flex-direction: column;
        justify-content: space-around;
        gap: 12px;
    }

    .part1-left {
        flex-direction: column;
        width: 100%;
        margin: 10px 20px;
        text-align: left;
    }

    .part1-left p {
        text-align: left;
        font-size: 1em;
    }


    /* Page 2 */

    .page2 {
        padding: 1rem;
    }

    .left_Part {
        height: 100%;
        width: 40%;
        display: flex;
        align-self: flex-start;
        justify-content: space-between;
        flex-direction: column;
        padding: 1rem 1rem;
    }

    .right_Part {
        height: 100%;
        width: 50%;
        display: flex;
        align-self: flex-start;
        justify-content: space-between;
        flex-direction: column;
    }

    .left_Part {
        font-size: 1rem;
        gap: 5px;
    }

    .left_Part p span {
        color: #afafaf;
        font-style: italic;

    }

    /* Right Part */
    .projects-divs {
        border-bottom: 1px solid rgb(41, 41, 41);
        padding: 6vh 3vh 7vh 3vh;
        height: 30.33%;
        transition: all .2s ease-in;
        position: relative;
        margin-top: 10px;

    }

    .projects-divs .arrow {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0px 50px 0 0;
        overflow: hidden;
        transform: translate(0, 0);
        opacity: .3;
    }

    .projects-divs:hover {
        border-bottom: 2px solid rgb(207, 207, 207);
    }

    @keyframes arrow {
        0% {
            transform: translate(0px, -0px);
        }

        50% {
            transform: translate(2.5px, -2.5px);
        }

        100% {
            transform: translate(5px, -5px);
        }
    }

    .projects-divs:hover .arrow {
        animation: arrow .2s ease-in forwards;
        opacity: 1;
    }

    .projects-divs img {
        height: 25vh;
        width: 25vh;
        object-fit: cover;
        object-position: center;
        border-radius: 50%;
        opacity: 0;
        scale: 0;
    }

    .projects-divs h3 {
        font-weight: 400;
        font-size: .8rem;
    }
}

.onlyforMobile {
    display: none;
}

/* For nav bar */
@media (max-width: 746px) {
    nav {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        justify-content: space-between;
        display: flex;
    }

    .navLinks {
        display: none;
    }

    nav button {
        display: none;
    }

    .nav-bottom {
        display: none;
    }

    nav:hover .nav-bottom {
        height: 0;
        bottom: 0;
        margin: 0;
    }

    .onlyforMobile {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 18px;
    }
}

.mobileMenu{
    display: none;
    top:0;
    position: absolute;
    background-color: #111;
    z-index: 10000; 
    height: 100%;
    width: 100%;
}
.mobileNav{
    display: flex;
    align-items: center;
    width: 100vw;
    padding: 2vw 4vw;
    justify-content:space-between;
    background-color: #111;
}
.menu-Items{
    margin-top: 30%;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction:column;
    align-items: center;
    z-index: 1000;
    font-size: 1.4rem;
}

.tag{
    width: 100%;
}

.tag p{
    padding: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 20px;
}
.tag p:hover{
    background-color: #222;
}

.btn button{
    display: flex;
    background-color: #1d2129;
    border-radius: 40px;
    align-items: center;
    border: none;
    padding: 7px 20px;
    cursor: pointer;
    gap: 10px;
    font-weight: 400;
    font-size: 1.3rem;
    width: 90%;
    justify-content: center;
}
.btn{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobileMenu.active {
    display: block;
}