@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap");

:root {
    --color-primary: #171717;
    --color-secondary: #FFFFFF;
    --color-sidebar: #111827;
    --color-sidebar-hover: #1f2937;
    --color-background: #ffffff;
}

* {
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.bg-primary {
    background: var(--color-primary);
}

.bg-secondary {
    background: var(--color-secondary);
}

.font-hero {
    font-size: 250px;
    font-family: "Rubik Mono One", monospace;
}

.navbar-enter {
    opacity: 0;
    transform: translateY(-50px);
}

.navbar-show {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.font-rubik {
    font-family: "Rubik Mono One", monospace;
}

/* ==========================
    Scroll Effect
========================== */

/* #navbar {
    background: transparent;
    transition: 0.4s;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(15px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
} */

/* ==========================
    Mobile Link
========================== */

.mobile-link {
    padding: 16px 40px;
    transition: 0.3s;
    font-weight: 500;
    color: var(--color-secondary);
}

.social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    color: var(--color-primary);

    transition: 0.3s;
}

.social-item:hover {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(10deg);
}

.social-item svg {
    width: 22px;
    height: 22px;
}

/* Tooltip */

.social-tooltip {
    position: absolute;

    left: 60px;

    white-space: nowrap;

    background: var(--color-primary);
    color: var(--color-secondary);

    padding: 8px 14px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 500;

    opacity: 0;
    visibility: hidden;

    transform: translateX(-10px);

    transition: 0.3s;
}

.social-tooltip::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    transform: translateY(-50%) rotate(45deg);
}

.social-item:hover .social-tooltip {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}

.typing-cursor{
    display:inline-block;
    animation:blink .8s infinite;
}

@keyframes blink{

    0%,100%{
        opacity:1;
    }

    50%{
        opacity:0;
    }

}

#stack{
    position: relative;
}

/* Base */
.overlap-section{
    position: sticky;
    top: 0;

    width: 100%;

    overflow: visible;

    transform-origin: center top;

    transition: transform .5s ease, box-shadow .5s ease;

    box-shadow: 0 -10px 30px rgba(0,0,0,.08);
}

/* about */
.tech-item {
    padding: 12px 20px;
    border-radius: 9999px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.8);

    font-size: 14px;

    cursor: default;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);

    background: white;

    color: var(--color-primary);
}

/* Work */
/* Project Card */

.project-card {
    overflow: hidden;

    background: white;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 1.5rem;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}


/* Project Image */

.project-image {
    position: relative;

    height: 230px;

    overflow: hidden;

    background: #eee;
}


.project-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}


.project-card:hover .project-image img {
    transform: scale(1.1);
}


/* Project Number */

.project-number {
    position: absolute;

    top: 16px;

    right: 16px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    font-size: 13px;

    font-weight: 600;

    color: var(--color-primary);
}


/* Featured Project Tags */

.project-tag {
    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 13px;

    color: rgba(255, 255, 255, 0.8);

    transition: all 0.3s ease;
}


.project-tag:hover {
    background: white;

    color: var(--color-primary);
}


/* Small Project Tags */

.mini-tag {
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(0, 0, 0, 0.04);

    font-size: 11px;

    color: rgba(0, 0, 0, 0.6);
}

footer{
    background:#0f172a;
    color:#fff;
    z-index:6;
}

/* ========================= */
/* Desktop */
/* ========================= */

@media (min-width:1025px){

    .overlap-section{

        min-height:100vh;

    }

    .overlap-section:not(:first-child){

        margin-top:-80px;

    }

}

/* ========================= */
/* Tablet */
/* ========================= */

@media (max-width:1024px){

    .overlap-section{

        min-height:auto;

        top:30px;

    }

    .overlap-section:not(:first-child){

        margin-top:-50px;

    }

}

/* ========================= */
/* Mobile */
/* ========================= */

@media (max-width:768px){

    .overlap-section{
        position: relative;
        min-height:auto;

        top:20px;

        overflow:visible;
        box-shadow: 0 0 0 0;
    }

    .overlap-section:not(:first-child){

        margin-top:-24px;

    }

}
.contact-input{

    width:100%;

    border:1px solid #e2e8f0;

    padding:16px 18px;

    border-radius:16px;

    outline:none;

    transition:.3s;

}

.contact-input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(59,130,246,.12);

}

.social-footer{

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:16px;

    background: var(--color-primary);

    transition:.3s;

    color: var(--color-secondary);

}

.social-footer:hover{

    background:var(--color-secondary);

    color:var(--color-primary);

    transform:translateY(-5px);

}