:root {
    --background-color1: #0a0a23;
    --background-color2: #1a0d2e;
    --background-color3: #2d1b47;
    --background-color4: #27153f;
    --background-gradient: linear-gradient(135deg, var(--background-color1) 0%, #1a0d2e 50%, #2d1b47 100%);
    --background-gradient: repeating-linear-gradient(175deg, var(--background-color1) 5%, #00153b 25%, #0a0a23 30%, var(--background-color1) 55%, #00153b 80%, #0a0a23 90%);
    --title-text-color: #00ff88;
    --accent-text-color1: #00d4ff;
    --accent-text-color1-dark: #008044;
    --accent-text-color2: #ff6b9d;
    --accent-text-color3: #295fc2;
    --navbar-hover-color: #00d5ff;
    --card-gradient: linear-gradient(135deg, #1a0d2e 0%, #2d1b47 100%);
    --shadow-color: rgba(0, 212, 255, 0.3);
    --shadow-hover: rgba(0, 255, 136, 0.4);
    --text-color-primary: #e0e6ed;
    --text-color-secondary: #b8c5d1;
}

* {}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    font-family: 'Libre Franklin', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-gradient);
    /* min-height    : 100vh; */
    line-height: 1.6;
    /* gap:75px; */


}

body h1 {
    color: var(--title-text-color);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

body h2 {
    color: var(--accent-text-color1);
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

body h3 {
    color: var(--accent-text-color2);
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

body p {
    color: var(--text-color-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* body code {
    background: rgba(0, 212, 255, 0.1);
    color: var(--title-text-color);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9em;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

body pre {
    background: var(--background-color1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
} */

body ul,
body ol {
    color: var(--text-color-secondary);
    padding-left: 1.5rem;
}

body li {
    /* margin-bottom: 0.5rem; */
}



.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
    padding: 3px;
    background: transparent;
flex-wrap: wrap;
    flex-grow: 1;
}

.header a {
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    padding: 12px;
    text-decoration: none;
}


.logo{
    display:flex;
    /* justify-content: center; */
    align-items: center;
    
}


.logo a img {
    height: 10em;
}


.header-left {
    display: flex;
    flex-wrap:wrap;
    flex-grow:1;
    /* justify-content: center; */
    /* align-items: center; */
    gap: 10px;

}

.header-left a {

    color: var(--navbar-hover-color);
    border-radius: 10px;
    font-size: 27px;
    font-weight: bold;

}

.header-left a:hover {
    color: var(--title-text-color);
    text-shadow: 1px 1px 35px var(--title-text-color);
}

.header-left a.active {
    color: var(--title-text-color);
    text-shadow: 1px 1px 35px var(--title-text-color);
}

.header .header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header .header-right img {
    height: 5em;
}

.pagecontent {
    display:flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(75px);
    backdrop-filter: blur(75px);
    background: var(--card-gradient);
    background: transparent;
    color: var(--text-color-primary);
    padding: 1rem;
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--shadow-color);

    overflow: hidden;
    max-width: 75%;
    


}

.pagecontent img {
    object-fit: contain;
    border-radius: 12px;
    
    
    
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: flex-start;
    /* gap           : 5px; */
    width: 100%;
    padding-bottom: 50px;
}

.about-container li {
    color: var(--accent-text-color2);
    font-weight: 500;
    font-size: 1.4rem;
}

.toc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.skewed-title {
    transform:
        skew(-3deg, -3deg) translateY(-3rem);


}

.tocpost {

    -webkit-backdrop-filter: blur(42px);
    backdrop-filter: blur(42px);
    background: transparent;
    color: var(--text-color-primary);
    text-decoration: none;
    padding: 1.5rem;
    text-align: left;
    border-radius: 20px;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    width: 75%;

}

.tocpost:hover {
    /* transform: translateY(-1px) scale(1.00); */
    /* background: linear-gradient(135deg, #2d1b47 0%, #1a0d2e 100%); */
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.3),
        0 0 0 2px var(--accent-text-color1),
        0 0 40px var(--shadow-hover);
    color: var(--accent-text-color1);
}

.glass-card {
    -webkit-backdrop-filter: blur(42px);
    backdrop-filter: blur(42px);
    background: transparent;
    color: var(--text-color-primary);
    text-decoration: none;
    padding: 1.5rem;
    text-align: left;
    border-radius: 20px;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    width: 75%;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-decoration: none;

}

.social-links a {}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color1);
}

::-webkit-scrollbar-thumb {
    background: var(--title-text-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-text-color1);
}



@media (max-width: 576px) {
    .pagecontent {
        max-width: 90%;
    }

    .tocpost {
        width: 90%;
    }
    body h1 {
        font-size: 2rem;
    }
    body h2 {
        font-size: 1.5rem;
    }
        .header {
        justify-content: center;
    }
        .header-left {
        justify-content: center;
    }
    
}
@media (max-width: 815px) {
    
    .header-right img {
        display:none;
    }

}
/* Selection styling */
::selection {
    background: var(--accent-text-color1);
    color: var(--background-color1);
}
.btn.tocpost {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.btn.tocpost img {
    border-radius: 12px;
}
.btn.tocpost h2 {
    margin-top: 12px;
}

