body {
    font-family: monospace;
    margin: 0;
    padding: 0;
    position: relative;
    color: #a9b1d6;
    background-color: #1a1b26;
    padding-bottom: 50px;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: repeating-linear-gradient(
        to bottom,
        #1a1b2655,
        #1a1b2655 3px,
        #24283b55 3px,
        #24283b55 5px
    );
}

header {
    background-color: #24283b;
    color: #a9b1d6;
    padding: 1rem 0;
    max-width: 850px;
    margin: 40px auto 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    text-align: left;
    padding-left: 20px !important;
}

nav ul li {
    display: inline;
    margin-right: 25px;
}

nav ul li a {
    color: #a9b1d6;
    text-decoration: none;
    font-weight: normal;
    padding-bottom: 2px;
    font-size: 14px;
}

nav ul li a:hover {
    color: #c0caf5;
    border-bottom-color: #7aa2f7;
}

.github-nav-link {
    color: #9aa5ce;
    transition: color 0.2s ease;
    position: relative;
    z-index: 0;
}

.github-nav-link:hover {
    color: #ffffff;
}

main {
    padding: 30px;
    max-width: 850px;
    margin: 20px auto;
    color: #c0caf5;
}

h1 {
    color: #c0caf5;
}

.two-column-layout {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.column {
    flex: 1;
}

.column h2 {
    color: #9aa5ce;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.column h3 {
    margin: 25px 0 5px 0;
    font-size: 1em;
}

.column h3 a {
    color: #9ece6a;
    text-decoration: none;
    border-bottom: 1px solid #565f89;
}

.column h3 a:hover {
    border-bottom-color: #9ece6a;
}

.column h3.startup {
    color: #f7768e;
}

.column p {
    margin: 3px 0;
    line-height: 1.4;
}

.column p.role, .column p.date {
    color: #9aa5ce;
    font-size: 0.9em;
}

.column a {
    color: #9ece6a;
    text-decoration: none;
    border-bottom: 1px solid #565f89;
}

.column a:hover {
    border-bottom-color: #9ece6a;
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }

    .modal {
        padding: 0;
    }

    .modal-content {
        width: 95% !important;
        height: 95vh !important;
        margin: 2.5vh auto !important;
        max-width: none !important;
    }

    .modal-body {
        padding: 10px;
    }

    .modal-header {
        padding: 10px 15px;
    }

    .modal-buttons {
        padding: 10px 15px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 27, 38, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: #24283b;
    margin: auto;
    padding: 0;
    border: 1px solid #565f89;
    width: 80%;
    max-width: 800px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    flex-shrink: 0;
    padding: 15px 20px;
    background-color: #1a1b26;
    border-bottom: 1px solid #565f89;
}

.modal-header h2 {
    color: #c0caf5;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.modal-header p {
    color: #a9b1d6;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-size: 0.9em;
}

#modal-custom-description {
    color: #a9b1d6;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid #565f89;
}

#modal-custom-description h3 {
    color: #7aa2f7;
    margin: 0 0 10px 0;
    font-size: 1em;
}

#modal-custom-description ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#modal-custom-description li {
    color: #a9b1d6;
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

#modal-custom-description li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #565f89;
}

.modal-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.slideshow-container {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-container img,
.slideshow-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    max-width: 800px;
    max-height: 450px;
}

.close {
    color: #565f89;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -5px;
}

.close:hover {
    color: #7aa2f7;
}

.modal-buttons {
    flex-shrink: 0;
    margin: 0;
    padding: 15px 20px;
    background-color: #1a1b26;
    border-top: 1px solid #565f89;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-buttons {
    display: flex;
    gap: 15px;
}

.modal-buttons a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #414868;
    color: #c0caf5;
    text-decoration: none;
    border-radius: 4px;
    border: none;
}

.modal-buttons a:hover {
    background-color: #565f89;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-buttons button {
    padding: 5px 10px;
    background-color: #414868;
    color: #c0caf5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-buttons button:hover {
    background-color: #565f89;
}

#slideCounter {
    color: #9aa5ce;
    font-size: 14px;
    margin: 0 5px;
}

.slideshow-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slideshow-nav button {
    padding: 8px 16px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-nav button:hover {
    background-color: #555;
}

.github-activity {
    margin-top: 40px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
}

.github-activity h2 {
    margin-bottom: 15px;
}

.github-activity img {
    border-radius: 4px;
} 

.icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.modal-description {
    display: block;
}

@media (max-width: 768px) {
    .modal-description {
        display: none;
    }
}

.title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.title-content {
    flex: 1;
}

.ascii-art {
    color:rgb(255, 255, 255);
    font-family: "Courier New";
    font-size: 3px;
    line-height: 3.5px;
    white-space: pre;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    word-spacing: 0;
    display: block;
    transform: none;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .title-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .ascii-art {
        transform: none;
        margin-bottom: 20px;
        margin-top: 0px;
        font-size: 4px;
        line-height: 4.5px;
    }

    .two-column-layout {
        flex-direction: column;
    }

    .modal {
        padding: 0;
    }

    .modal-content {
        width: 95% !important;
        height: 95vh !important;
        margin: 2.5vh auto !important;
        max-width: none !important;
    }

    .modal-body {
        padding: 10px;
    }

    .modal-header {
        padding: 10px 15px;
    }

    .modal-buttons {
        padding: 10px 15px;
    }
}

.github-icon, .website-icon {
    display: inline;
}

@media (max-width: 768px) {
    .github-icon, .website-icon {
        display: none;
    }
}