@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

/* @import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap'); */

:root .darkmode {
    --rt-color-white: #fff;
    --rt-color-dark: #343434;
    --rt-color-text-light: #7e7e7e;
    --rt-color-success: #ccff00;
    --rt-color-info: #343434;
    --rt-color-bg: #F9F8F6;
    --rt-color-boredr: #0a0a0a;
    --rt-color-boredrcolor: #dedede;
    --rt-color-iconcolor: #000000;
    --rt-color-imageshadow: #e0dede;
    --rt-color-btnhover: #464646;
    --rt-color-linkhover: #18a0fb;
    --rt-color-textbg: #e8e8e8;
    --rt-color-textbg: #d7d7d7;
    --rt-color-navblur: #ffffff80;

}

:root {
    --rt-color-bg: #0E100F;
    --rt-color-dark: #FFFFE3;
    --rt-color-white: #FFFFE3;
    --rt-color-boredrcolor: none;
    --rt-color-text-light: #7e7e7e;
    --rt-color-iconcolor: #FFFFE3;
    --rt-color-boredr: #0a0a0a;
    --rt-color-info: #FFFFE3;
    --rt-color-imageshadow: none;
    --rt-color-btnhover: #f3f3f3;
    --rt-color-linkhover: #33a0ff;
    --rt-color-textbg: #454545;
    --rt-color-navblur: #10101080;
    transition: background-color 0.5s, color 0.5s;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

html {
    cursor: url(img/arrow.png), pointer !important;
    scroll-padding-top: 30px;
}

body {
    font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--rt-color-bg);
    /* font-family: "Hanken Grotesk", sans-serif; */
    /* width: 100%;
    height: 100vh; */



}




/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0E100F;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: top 1s ease-in-out, opacity 1s ease-in-out;


}

.hello-container {
    position: relative;
    width: 300px;
    height: 70px;
}

.hello {
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 2.5em;

    color: var(--rt-color-white);
    font-family: system-ui;
    display: none;
    /* Initially hide all words */
}



#content {
    display: none;
    /* opacity: 1; */


}

a {
    cursor: url(img/Pointer.png), pointer !important;
}

button {
    cursor: url(img/Pointer.png), pointer !important;
}

svg {
    cursor: url(img/Pointer.png), pointer !important;
}



.section-continer {
    max-width: 950px;
    margin: auto;
    padding: 5rem 1rem;
}

.section-continer-about {
    max-width: 950px;
    margin: auto;
    padding: 2rem 1rem;
}

.section-projects {
    max-width: 950px;
    margin: auto;
    padding: 5rem 1rem;
}

.navlogo h2 {
    font-size: 23px;
    color: var(--rt-color-dark);
    font-weight: 800;
}

.navlogo h2 span {
    font-size: 16px;
    font-weight: 600;
}

.darkmode-btn {
    margin-left: 11.88rem;
}

/* ------ Container Settings ------ */
.container {
    color: var(--rt-color-dark);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    fill: var(--rt-color-dark);
}

/* ------ Icon Settings ------ */
.container .sun {
    position: absolute;
    animation: keyframes-fill .5s;
    cursor: pointer;
    display: block;
    /* Show sun by default */
}

.container .moon {
    position: absolute;
    animation: keyframes-fill .5s;
    cursor: pointer;
    display: none;
    /* Hide moon by default */
}

/* ------ On Check Event ------ */
.container input:not(:checked)~.sun {
    display: block;
    /* Show sun when unchecked */
}

.container input:checked~.moon {
    display: block;
    /* Show moon when checked */
}

.container input:checked~.sun {
    display: none;
    /* Hide sun when checked */
}

/* ------ Hide the Default Checkbox ------ */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* ------ Animation ------ */
@keyframes keyframes-fill {
    0% {
        transform: rotate(-360deg) scale(0);
        opacity: 0;
    }

    75% {
        transform: rotate(25deg);
    }
}


nav {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.9rem;
    background-color: var(--rt-color-navblur);
    -webkit-backdrop-filter: blur(10px) saturate(100%);
    backdrop-filter: blur(10px) saturate(100%);
    /* box-shadow: 1px 1px 6px var(--rt-color-boredrcolor);  */
    position: fixed;
    z-index: 10;
    text-align: center;

}


.navlogo a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    gap: 0.2rem;

}

.nav-links li {
    list-style: none;
}




.nav-links li a {
    text-decoration: none;
    color: var(--rt-color-dark);
    margin-right: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* .nav-links li a:hover{
    color: var(--rt-color-linkhover);
} */

.containers {
    display: flex;
    align-items: center;
}



/* home section  */
.home {
    position: relative;
    min-height: 450px;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: .5rem;
    padding-top: 110px;
}

.home-text {
    text-align: start;
    margin-top: 30px;
    position: relative;
}

.home-text span {
    font-weight: 400;
}

.home-text span img {
    width: 45px;
    margin-left: 4px;
}

.home-text span:nth-child(2) {
    font-size: 35px;
}

.home-text h2 {
    font-size: 2.3rem;
    /* font-family:  sans-serif; */
    font-weight: 600;
    color: var(--rt-color-dark);
    margin-bottom: 0.8rem;
}

.home-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: rgb(123, 122, 122);

}

.home-text span img {
    margin-bottom: -8px;
}

.home-text p {
    font-size: 1rem;
    font-family: "Fira Sans", sans-serif;
    font-weight: 500;
    color: var(--rt-color-text-light);
    margin-bottom: 1rem;
}

.home-text .icon i {
    font-size: 1.6rem;
    padding-right: 10px;
    cursor: pointer;
    color: var(--rt-color-iconcolor);
}


.container_mouse {
    position: relative;

}

.mouse-btn {
    position: absolute;
    top: 40px;
    width: 28px;
    height: 50px;
    border: 3px solid #7a7a7cea;
    border-radius: 20px;
    display: flex;
}

.mouse-scroll {
    display: block;
    width: 10px;
    height: 10px;
    background: linear-gradient(170deg, hsla(240, 1%, 48%, 0.918), rgb(123, 124, 124));
    border-radius: 50%;
    margin: auto;
    animation: scrolling13 1.3s linear infinite;
}

@keyframes scrolling13 {
    0% {
        opacity: 0;
        transform: translateY(-16px);
    }

    100% {
        opacity: 1;
        transform: translateY(16px);
    }
}



.home-img .containes .shape {
    margin: auto;
}

.shape {
    background-image: url(img/IMG_20240114_211335_491\ \(1\).jpg);
    animation: morph 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    height: 300px;
    /* transition: all 1s ease-in-out; */
    width: 300px;
    z-index: 5;
    background-position: center;
    background-size: cover;
    border: 2px solid var(--rt-color-dark);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;

    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;

    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;

    }
}

/* teach stack  */

.section-continers .heading {
    text-align: center;

}

.section-continers .heading h3 {
    font-size: 1.7rem;
    color: var(--rt-color-dark);
    font-weight: 700;
}

.tech-icons {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* Adjust based on image height */
    margin-top: 30px;

}

.tech-icons .inner {
    display: flex;
    width: 400%;
    gap: 4px;
    animation: scrollLeft 13s linear infinite;
}

/* .tech-icons .inner:hover {
    animation-play-state: paused !important;
} */


.tech-icons img {
    width: 80px;
    margin-right: 15px;
}

/* Continuous scrolling animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Adding gradient effect to the tech-icons section */
.tech-icons::before,
.tech-icons::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    /* Adjust the width of the gradient */
    height: 100%;
    z-index: 1;
}

.tech-icons::before {
    left: 0;
    background: linear-gradient(to right, var(--rt-color-bg), transparent);
}

.tech-icons::after {
    right: 0;
    background: linear-gradient(to left, var(--rt-color-bg), transparent);
}



.section-continers .tech-icons p {
    /* border: 1px solid black; */
    padding: 5px 5px;
    border-radius: 5px;
    background-color: var(--rt-color-iconcolor);
    color: var(--rt-color-bg);
    font-weight: 500;
    font-size: 13px;


}

.section-continers .tech-icons p:hover {
    background-color: var(--rt-color-btnhover);
}

.section-continers {
    max-width: 950px;
    margin: auto;
    margin-top: 5rem;
}


/* about section  */

.about-section {
    position: relative;
    min-height: 450px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
    padding-top: 150px;

}

.about-content {
    margin: 0 25px;

}

.about-section .about-img {
    margin: auto;

}

.about-section .about-img img {
    border-radius: 0.5rem;
    /* pointer-events: none; */
}

.about-content .about-text {
    margin: auto;
    /* margin-left: -20px; */
}

.about-content .about-text span {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--rt-color-info);
}

.about-content .about-text h3 {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--rt-color-info);
    margin-bottom: 0.7rem;
}

.about-content .about-text h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--rt-color-dark);
    margin-bottom: 0.6rem;
    line-height: 24px;
}

.about-content .about-text p {
    font-size: 0.9rem;
    color: var(--rt-color-text-light);

}

/* .download-btn {
    margin: 0 25px;
}

.about-content .about-text p a:nth-child(1) {
    font-size: 1rem;
    color: var(--rt-color-bg);
    text-decoration: none;
    
   

}

.button {

    width: 160px;
    margin-top: 10px;
    padding: 3px 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 0.3rem;
    font-weight: 600;
    background-color: var(--rt-color-dark);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s ease-in-out;

}

.button .text {
    position: absolute;
    left: 1.8rem;
    transition: 0.4s ease-in-out;
    
    
}



.svg {
    transform: translateY(-20px) rotate(30deg);
    opacity: 0;
    width: 1.6rem;
    transition: 0.4s ease-in-out;
}

.button:hover {
    background-color: rgb(50, 50, 50);
}

.button:hover .svg {
    display: inline-block;
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
}

.button:hover .text {
    opacity: 0;
}

.button:active {
    scale: 0.97;
}



 */

/* From Uiverse.io by Codecite */



/* project secation  */
.project-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 4rem;
    text-align: start;
    margin-top: 1rem;
}


/* hover effects  */
.project-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    /* Added for consistency with video */
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    border-radius: 0.5rem;
    /* Added for consistency with video */
}

.project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 3px var(--rt-color-imageshadow);
}

.project-img:hover .cover-image {
    opacity: 0;
}

.project-img:hover .project-video {
    opacity: 1;
}


.project-tech {
    display: flex;
    justify-content: start;
    gap: 0.5rem;

}

.project-img img {
    width: 100%;
    border-radius: 0.4rem;
    box-shadow: 2px 2px 3px var(--rt-color-imageshadow);
}

.project-link {
    display: flex;
    justify-content: start;
    gap: 2rem;
}

.project-text img {
    width: 22%;
    margin-bottom: 0.8rem;

}

.project-text.booklogo img {
    width: 50px;
}

.project-text h1 {
    font-size: 1.8rem;
    color: var(--rt-color-dark);
}

.project-text h3 {
    font-size: 1.2rem;
    margin: 10px 0px;
    color: var(--rt-color-dark);
}

.project-text p {
    font-size: 0.8rem;
    color: var(--rt-color-text-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-tech p {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: "Nato Sans", sans-serif;
    color: var(--rt-color-dark);
    padding: 4px 5px;
    border-radius: 5px;
    background-color: var(--rt-color-textbg);
}

.project-link a {
    text-decoration: none;
    color: var(--rt-color-dark);


}


.project-link h3 {
    font-size: 1rem;
    color: var(--rt-color-dark);
    font-weight: 400;

}

.project-link h3:hover {
    color: var(--rt-color-linkhover);
}

.project-link h3 i {
    /* font-size: 1rem; */
    color: var(--rt-color-iconcolor);

}


.project-heading h3 {
    font-size: 1.7rem;
    font-weight: 400;
    margin-left: 15px;
    color: var(--rt-color-info);
    margin-bottom: 0.8rem;
    padding-top: 100px;


}

.project-heading h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--rt-color-dark);
    margin-left: 15px;

}

.project-heading h3 span {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--rt-color-dark);



}

.project-heading h2 span {
    font-size: 30px;
}

.btn {
    display: block;
    margin: 10px auto;
    background-color: var(--rt-color-dark);
    padding: 8px 25px;
    width: fit-content;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--rt-color-bg);
    border: none;
    outline: none;
    cursor: pointer;

}

#more {
    display: none;

}

.btn:hover {
    background-color: var(--rt-color-btnhover);
}



/* contect section  */
#contact {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contect-content {
    margin-left: 15px;
    min-height: 310px;
    padding-top: 80px;
    margin-left: 15px;

}

.contect-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--rt-color-info);
    margin-bottom: 0.8rem;

}

.contect-content h1 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--rt-color-dark);
    margin-bottom: 1rem;


}

.contects {
    gap: 3rem;
}

.contects p span {
    font-size: 2.3rem;
    color: var(--rt-color-iconcolor);
}

.contects p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-family: "Fira Sans", sans-serif;
    color: var(--rt-color-text-light);
    font-weight: 500;

}

.contects p a {
    text-decoration: none;
    color: var(--rt-color-text-light);
}

.contects p a:hover {
    color: var(--rt-color-linkhover);

}

/* copyright section  */
.copyright {
    text-align: center;
    padding: 20px 5px;
    background-color: var(--rt-color-boredr);
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.copyright-text {
    width: 800px;
}

.copyright p {
    font-size: 1rem;
    color: var(--rt-color-white);
    border-right: 1px solid rgb(191, 191, 191);
    font-weight: 200;

}

.copyright p a:hover {
    color: var(--rt-color-linkhover);
}

.copyright p a {
    color: var(--rt-color-white);
    font-weight: 400;
}

.social-icon i {
    font-size: 1.5rem;
    padding: 0 6px;
    color: var(--rt-color-white);
}

/* scroll top  */
.scroll-top {
    position: fixed;
    bottom: 6.5rem;
    right: -100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 2.3rem;

}

.scrolltop a {
    text-decoration: none;
}

.scrolltop a i {
    color: var(--rt-color-dark);
}

.scrolltop a i:hover {
    color: var(--rt-color-btnhover);
}


.scroll-top.active {
    right: 1.5rem;
    transition: 0.3s;

}

@media screen and (max-width:767px) {

    nav {
        padding: 0 1rem;
    }

    .hello {
        font-size: 2.3em;
    }

    .shape {
        width: 280px;
        height: 280px;

    }

    .container_mouse {
        visibility: hidden;
    }

    .home {
        height: 700px;

    }

    .home-text h2 {
        font-size: 26px;
        margin-left: 28px;
    }

    .home-text span img {
        width: 40px;
    }

    .about-section {
        padding-top: 40px;
    }

    .home-text p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .home-text .icon i {
        font-size: 1.7rem;
    }

    .home-text {
        text-align: center;
    }

    .home-text span:nth-child(2) {
        font-size: 30px;
    }

    /* .section-continers .tech-icons img{
        width: 33px;
    } */
    .section-continers .tech-icons {
        gap: 8px;
    }

    .section-continers {
        margin-top: 0;
    }

    .about-content .about-text h2 {
        font-size: 1.1rem;
    }

    .about-content .about-text {

        margin-left: -20px;
    }

    .about-content .about-text p a:nth-child(1) {
        font-size: 0.9rem;
    }

    .section-continers .heading h3 {
        font-size: 1.3rem;
    }

    .tech-icons img {
        width: 53px;
    }

    .button {
        width: 148px;
    }

    .project-heading h2 {
        font-size: 1.1rem;

    }

    .copyright {
        padding: 17px 5px;
    }

    .copyright p {
        font-size: 1rem;
        padding-right: 7px;
        margin-top: 1px;

    }

    .copyright-text {
        width: 250px;
    }

    .nav-links li a {
        /* visibility: hidden; */
        display: none;
    }

    .navlogo h2 {
        font-size: 20px;
    }

    .home,
    .about {
        grid-template-columns: 1fr;
    }

    .home-text,
    .about-img {
        order: 2;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-content,
    .about-text {
        order: 2;
    }

    .section-projects {
        margin: auto;
        padding: 3rem 1rem;

    }

    .project-section {
        grid-template-columns: 1fr;

    }

    .project-heading h3 {
        padding-top: 10px;
    }

    .project-content,
    .project-text {
        order: 2;
    }

    .project-img img {
        width: 100%;
    }

    .project-text img {
        width: 25%;
        margin-bottom: 0.8rem;

    }

    .contect-content {
        margin-top: 20px;
    }

}

@media screen and (min-width:768px) and (max-width:990px) {
    .home {
        padding-left: 80px;

    }

    .home-text h2 {
        font-size: 1.9rem;
    }

    .copyright-text {
        width: 470px;
    }

    .home-text h2 {
        font-size: 1.6rem;
    }

    .home-text p {
        font-size: 0.800rem;
        line-height: 1.25rem;
    }

    .copyright p {
        font-size: 1rem;
        padding-right: 7px;
    }
}

.up-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.up-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

button,
a,
.project-img,
.nav-links li a {
    touch-action: manipulation;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Adjust based on your design */
    overflow: hidden;
}

.project-img {
    position: relative;
    width: 100%;
    height: auto;
}

.project-img img.cover-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-img a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.project-img:hover a {
    opacity: 1;
}

.project-img video.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}


