/* jackkoster.com - styles.css  */
:root {
    --bg-color: #0f0f0f;
    --text-color: #d4d4d4;
    --link-color: #6d9ace;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
    padding: 0 0 2em 0;
    transition: background 0.3s, color 0.3s; 
}

.light-mode {
    --bg-color: #f8f8f8;
    --text-color: #161616;
    --link-color: #2E8B57;
}
    h1 {
        font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
        font-size: 2.8rem;
        color: #2E8B57;
        letter-spacing: 2px;
        margin-bottom: 0;
        font-weight: bold;
    }
    h2 {
        font-family: 'Menlo', 'Monaco', monospace;
        font-size: 1.1rem;
        color: var(--text-color);
        font-weight: lighter;
    }
    h3 {
        font-family: 'Consolas', 'Menlo', 'Monaco', monospace;
        font-size: 1.4rem;
        color: #2E8B57;
    }
    h4 {
        font-family: 'Consolas', 'Menlo', 'Monaco', monospace;
        font-size: 1.15rem;
        color: var(--text-color);
        font-weight: lighter;
        line-height: 1.5;
    }    
    p {
        font-family: 'Consolas', 'Menlo', 'Monaco', monospace;
        font-size: 1rem;
        line-height: 1.5;
        color: var(--text-color)
    }
    a {
        color: #6d9ace;
    }
    a:hover {
        text-decoration: underline;
    }
    ul {
        list-style: none;
    }
    li {
        margin-bottom: 1em;
        line-height: 1.5;
        position: relative;
    }
    li::before {
        content: ">";
        color: #389760;
        margin-right: 1.5rem;
        position: absolute;
        left: -1.0rem;
    }
    section {
        margin-left: 6rem;
        margin-right: 6rem;
    }

/* Link list styles */
    .link-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5em;
        margin-bottom: 0.25em;
        margin-top: 0.25em;
        font-size: 1.15em;
    }
    .link-item {
        display: flex;
        align-items: center;
        gap: 0.5em;
        color: #6d9ace;
        text-decoration: none;
        transition: color 0.2s;
        font-family: monospace;
        font-size: 1.15em;
    } 
    .invisible-button {
        display: flex;
        align-items: center;
        gap: 0.5em;
        color: #6d9ace;
        transition: color 0.2s;
        background: none;
        background-color: transparent;
        outline: none;
        border: none;
        cursor: pointer;
        font-family: monospace;
        font-size: 1.1em;
    }

    .link-item:hover,
    .link-item:focus {
        color: #389760;
    }
    .link-item:hover .link-icon,
    .link-item:focus .link-icon {
        color: #389760;
        transition: color 0.2s;
    }

    .invisible-button:hover,
    .invisible-button:focus {
        color: #389760;
        text-decoration: underline;
    }
    .invisible-button:hover .link-icon,
    .invisible-button:focus .link-icon {
        color: #389760;
        transition: color 0.2s;
    }

/* Header containers */
    .header-container {
        display: flex;
        align-items: flex-end; 
        justify-content: center;
        gap: 2rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .header-container-b {
        display: flex;
        align-items: flex-end; 
        justify-content: center;
        margin-top: 0.5rem;
        margin-bottom: 3rem;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: center;
        gap: 1.0em;
        justify-content: flex-end;
    }

/* Profile picture */
    .profile-pic-container {
        display: flex;
        align-items: flex-start;
    }
    .profile-pic {
        width: 6.5rem;
        height: 6.5rem;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin-bottom: 1rem;
    }
    
    .pub-subtitle {
        font-size: 1.1rem;
        padding: 0.5em;
    }

/* Tab button styles */
    .tab-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 600px;
        margin: auto;
    }

    .tab-buttons {
        display: flex;
        gap: 1.5em;
        justify-content: flex;
        border-bottom: 2px solid #555555;
    }

    .tab-btn {
        background: none;
        color: #389760;
        font-family: 'Menlo', 'Monaco', monospace;
        font-size: 18px;
        border: none;
        cursor: pointer;
        padding: 0.5em 1em;
        outline: none;
        transition: color 0.2s, background 0.2s;
    }

    .tab-btn.active {
        background: #389760;
        color: #f8f8f8;
    }

    .tab-content {
        display: none;
        padding: 1em;
        transition: opacity 0.3s ease-in-out;
    }

    .tab-content.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
   
/* Theme button */
    .theme-toggle-button {
        position: fixed;
        top: 1em;
        right: 1em;
        z-index: 1000;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-color);
    }

    .hidden {
    display: none !important;
    }

/* Posters */
#poster.tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Each poster row */
.poster {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
}
.poster img {
    width: 350px; /* Poster size */
    height: auto;
    border: 3px solid #333;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}
.poster p {
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    text-align: left;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 12rem;
}

/* Background */
.hex-bg .content-wrap::before {
    background-color: #222020;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'><g fill-rule='evenodd'><g id='hexagons' fill='%23ddd' fill-opacity='.4' fill-rule='nonzero'><path d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/></g></g></svg>");
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.10;
}

/* Keyframes */
    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }

/* Email Copied box */
    #tooltip {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* hide scrollbar */
html, body {
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  overflow-y: scroll;
}
body::-webkit-scrollbar {
  display: none; 
}
