:root{
    --primary-color : #1d1d1d;
    --secondary-color : #8F72E3;
    --input-box : #E5E5E5;
    --transparent : rgba(0, 0, 0, 0.322);
    --font : white;
    --shadow : rgb(0, 0, 0);
    --title : 4vw;
    --text : 1.5vw;
    --gap: .5rem
}

[data-theme='light'] {
    --primary-color: #F6F6F6;
    --secondary-color: #8F72E3;
    --transparent : rgba(255, 255, 255, 0.101);
    --input-box : #E5E5E5;
    --font: #1E1E1E;
    --shadow: rgba(14, 14, 14, 0.4);
    --title : 4vw;
    --text : 1.5vw;
    --gap: .5rem
}

html, body{
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    font-family: 'Montserrat';
    gap: min(0rem,1rem);
}

/* Add styles for the mouse contour effect */
.cursor-contour {
    position: fixed;
    width: 10rem;  /* Size of the contour circle */
    height: 10rem;
    border-radius: 50%;
    background-color: rgb(220, 205, 241);  /* Dark contour */
    pointer-events: none;  /* Prevent it from interfering with other elements */
    transition: transform 0.5s ease-out;
    z-index: 9999;
    mix-blend-mode: soft-light;
    filter: blur(2rem);
}

.container::before {
    content: '';
    position: fixed;
    width: 30rem;  /* Size of the contour circle */
    height: 30rem;
    border-radius: 50%;
    background-color: rgb(76, 148, 177);  /* Dark contour */
    pointer-events: none;  /* Prevent it from interfering with other elements */
    z-index: 100;
    mix-blend-mode: soft-light;
    filter: blur(5rem);
    top: 0rem;
    left: 0rem;
}
.container::after {
    content: '';
    position: fixed;
    width: 30rem;  /* Size of the contour circle */
    height: 30rem;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);  /* Dark contour */
    pointer-events: none;  /* Prevent it from interfering with other elements */
    z-index: 1;
    mix-blend-mode: soft-light;
    filter: blur(10rem);
    right: 1rem;
    bottom: 1rem;
}


/* Background Image */

::-webkit-scrollbar{
    width: 1px;
    height: 0px;
    padding: 1em;
}

::-webkit-scrollbar-thumb {
    background-color: var(--sidebar);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* The Big Header */
h1 {
    color: var(--font);
    /* margin: 0 5%; */
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}
/* Breadcrumb */
h2 {
    color: rgb(90, 90, 90);
    font-size: 10px;
    line-height: 1;
}
/* WordMark Only */
h3 {
    background: linear-gradient(to right, #8F72E3 0%, #8F72E3 40%, black 40%, black 100%);
    background-clip: text;
    color: transparent;
    font-size: 1.5vw;
    font-weight: 700;
    /* width: 5vw; */
    /* text-align: center; */
}
/* Tabs and Simple Define (h4 h5) */
h4, h5 {
    color: var(--font);
    width: fit-content;
}
h4 {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}
/* Navbar Items */
h5 {
    font-size: clamp(0.5rem, calc(1vw + .1rem), .625rem);
    font-weight: 400;
    padding: .4rem .5rem;
    transition: 0.5s ease-in-out;
    border-radius: .5rem;
    background: linear-gradient(to right, var(--font) 0%, rgba(255, 255, 255, 0.253) 50%);
    background-clip: text;
    color: transparent;
}
h5:hover {
    font-size: clamp(0.5rem, calc(1vw + .1rem), .65rem);
    border: solid .05rem var(--font);
    font-weight: 600;
    padding: .5rem .6rem;
    border-radius: .5rem;
    background: linear-gradient(to right, var(--font) 0%, var(--font) 100%);
    background-clip: text;
    color: transparent;
    transition: 0.5s ease-in-out;
}
h6{
    padding: clamp(0.5rem, 1.3rem, 1rem);
    border-radius: .5rem;
    /* font-size: clamp(0.5rem,0.75rem, 0.75rem); */
    font-size: 10px;
    font-weight: 400;
    background-color: var(--shadow);
    color: var(--font);
    line-height: 1;
}
h6:hover{
    transition: 0.5s;
    font-size: 12px;
    padding: clamp(0.6rem,1.4rem, .9rem);
    background-color: var(--font);
    color: var(--sidebar);
}

p {
    color: var(--font);
    font-size: .8vw;
    line-height: 1.5;
    font-weight: 400;
}
#tag{
    width: fit-content;
    padding: .7rem;
    border-radius: .5rem;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    background-color: white;
    color: black;
}

button{
    margin-top: 1rem;
    padding: .8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: auto;
    font-size: 1vw;
}

@media (max-width: 1050px) {

    h1 {
        font-size: 32px;

    }
    h2 {
        font-size: 10px;
    }
    /* WordMark Only */
    h3 {
        background: linear-gradient(to right, #8F72E3 0%, #8F72E3 40%, black 40%, black 100%);
        background-clip: text;
        color: transparent;
        font-size: 20px;
        font-weight: 700;
        /* width: 5vw; */
        /* text-align: center; */
    }
    /* Tabs and Simple Define (h4 h5) */
    h4 {
        /* font-size: var(--text); */
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
    }
    /* h6{
        padding: 1.3rem;
        border-radius: .5rem;
        font-size: 12px;
        font-weight: 400;
        font-weight: 400;
        background-color: var(--shadow);
        color: var(--font);
        line-height: 1;
    } */
    p {
        font-size: 16px;
    }
    button{
        font-size: 12px;
    }
  }