:root {
    /* Dark Theme*/
    --color-bg: #1C1C1C;
    --color-text: #ffffffdb;
    --color-text-muted: #ffffff66;
    --color-border: rgba(255, 255, 255, 0.15);
    --color-border-light: #ffffff2d;
    --color-hover-bg: rgba(255, 255, 255, 0.1);
    --color-card-hover-bg: #292929;
    --color-arrow: #ffffff66;
    --color-footer-text: #ffffff2d;
    --color-link-hover: #ffffff7d;
    --color-dot-border: #ffffff;
    --color-dot-bg: #ffff;
    --color-selection-bg: #2E2E2E;

    /* Light Theme*/
    --light-color-bg: #FFFFFF;
    --light-color-text: #000000d9;
    --light-color-text-muted: #00000066;
    --light-color-border: rgba(0, 0, 0, 0.15);
    --light-color-border-light: #0000002d;
    --light-color-hover-bg: rgba(0, 0, 0, 0.05);
    --light-color-card-hover-bg: #e0e0e0;
    --light-color-arrow: #00000066;
    --light-color-footer-text: #0000002d;
    --light-color-link-hover: #0000007d;
    --light-color-dot-border: #000000;
    --light-color-dot-bg: #000000;
    --light-color-selection-bg: #c0c0c0;
}


/* Fonts and Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    overflow-x: hidden;
    cursor: none;
}

*::selection {
    background-color: var(--color-selection-bg, #2E2E2E);
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: "Inter";
}


#loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    top: 0;
    position: relative;
    width: 100vw;
}

#loader h1 {
    width: 100%;
    font-size: 10vh;
    position: relative;
    display: flex;
    overflow: hidden;
}

#loader .text {
    height: 10vh;
    overflow: hidden;
}

#loader h1 span {
    letter-spacing: -4px;
    display: inline-block;
}

#main {
    opacity: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: orange;
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#profile-card {
    margin-top: 20vh;
    width: 30vw;
    height: max-content;
}

.icon {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: space-between;
}

.theme-toggle {
    display: flex;
    gap: 0.2rem;
}

.theme-toggle .dot:nth-child(2) {
    background-color: var(--color-dot-bg);
}

.icon .image-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.icon .image-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.info {
    display: flex;
    flex-direction: column;
}

.info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info p:nth-child(2) {
    margin-bottom: 3rem;
}

.info p:nth-child(3) {
    margin-bottom: 2rem;
}

.icon .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-dot-border);
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3rem;
}

.projects>p {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.project-card {
    margin-top: 1rem;
    width: 100%;
    height: 90px;
    border-radius: 10px;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.project-card:hover {
    background-color: var(--color-card-hover-bg);
}

.project-card .image {
    width: 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    border-radius: 6px;
}

.project-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .project-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.project-card .project-info h1 {
    font-size: 1rem;
    font-weight: 500;
}

.project-card .project-info p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

/* Links */
.links {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: sans-serif;
}

.links>p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.link-card:hover {
    background: var(--color-hover-bg);
}

.link-card a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
}

.arrow {
    color: var(--color-arrow);
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Footer */
.footer {
    margin-top: 8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    font-size: 0.8rem;
    color: var(--color-footer-text);
}

.footer div {
    gap: 15px;
    display: flex;
    align-items: center;
}

#india-time {
    color: var(--color-text-muted);
}

#Instagram:hover {
    color: var(--color-link-hover);
}

@media (max-width: 1050px) {
    #profile-card {
        width: 90%;
    }

    #cursor {
        display: none;
    }

    #loader h1 {
        font-size: 15vw;
    }
}
