@font-face {
    font-family: 'Quintessential';
    src: url(/Quintessential-Regular.ttf);
}

h1 {
    font-family: "Quintessential", Times, serif;
    font-size: 36px;
}


/* index */

.index {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 40px;
    text-align: justify;
    hyphens: auto;
    font-size: 16px;
}

.index ul {
    list-style: "\266B  ";
    font-size: 120%;
    text-align: left;
}

.index ul li {
    margin: 5pt auto;
}

.signature {
    text-align: left;
}

.links {
    padding: 0 20px;
    color: var(--text-light);
}

.links div {
    margin-bottom: 10px;
}

/* main content */

body {
    max-width: 1200px;
    margin: 0 auto !important;
    float: none !important;
}

/* Define styles for the layout */
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header {
    padding: 0 20px;
    hyphens: auto;
}

.leftCol {
    flex: 0 0 580px;
    /* Set the width of the video column */
    position: sticky;
    top: 60px;
    /* Adjust the top position as needed */
    left: 20px;
}

.text {
    flex: 1 1 45%;
    /* Set the width of the text column */
    margin: 10px 20px;
    /* Add some spacing between video and text */
}

#mobile-tail {
    display: none;
    width: 100%;
}

.separator {
    text-align: center;
}

.tilde-svg {
    width: 30%;
    max-width: 400px;
    /* Adjust the maximum width of the tilde */
    filter: blur(0px);
    /* Adjust the blur radius as needed */
}

/* Media query for mobile devices */
@media (max-width: 800px) {
    .container {
        flex-direction: column;
        /* Stack items vertically for mobile */
    }

    .leftCol {
        flex: 0 0 auto;
        position: static;
        width: 100%;
        overflow: hidden;
    }

    .text {
        width: 90%;
        overflow-x: hidden;
    }

    h1 {
        font-size: 24px;
    }


    #mobile-tail {
        margin-top: 0px;
        display: unset;
    }

}

/* Remove initial bullet point from <ul> */
.post ul {
    list-style: none;
    padding: 0;
}

/* Style the first letter of each paragraph */
.text p {
    font-family: sans;
    font-size: 16px;
    /* Adjust font size as needed */
    line-height: 1.5;
    /* Adjust line height as needed */
    margin-bottom: 1em;
    /* Adjust margin bottom as needed */
    text-align: justify;
    hyphens: auto;
}

.text ul li p::first-letter {
    font-size: 26px;
    line-height: 1;
    font-style: italic;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

/* Light mode styles */
:root {
    --background-color: #ffffff;
    --text-color: #333333;
    --text-light: #999999;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #333333;
        --text-color: #ffffff;
        --text-light: #ff0000;
    }
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
}

/* Adjust link color based on color scheme */
a {
    color: var(--link-color);
}

/* Style visited links */
a:visited {
    color: var(--link-color);
    /* Use the same color as regular links */
}

/* Style hovered links */
a:hover {
    text-decoration: underline;
    /* Add underline on hover */
}

/* Style active links */
a:active {
    color: var(--link-color);
    /* Use the same color as regular links */
}