/* Import Zilla Slab font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@300;400;500;600;700&display=swap');

body{
    max-width:650px;
    margin:40px auto;
    padding:0 10px;
    font:18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color:#c9d1d9;
    background:#0d1117
}
a:link{
        color:#58a6ff
    }
    a:visited{
        color:#8e96f0
    }
h1,h2,h3{
    line-height:1.2
}

h1 {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

/* Make H1 links look like plain headings */
h1 a,
h1 a:visited {
    color: inherit;
    text-decoration: none;
}

h1 a:hover,
h1 a:focus,
h1 a:active {
    color: inherit;
    text-decoration: none;
}
@media (prefers-color-scheme: dark){
    body{
        color:#c9d1d9;
        background:#000000
    }
    a:link{
        color:#58a6ff
    }
    a:visited{
        color:#8e96f0
    }
}

/* Screenshot gallery styles */
.screenshots {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
    align-items: flex-start;
}

.screenshot {
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.screenshot:hover {
    transform: scale(1.02);
}

/* Horizontal layout for wide screens */
@media (min-width: 768px) {
    .screenshots {
        flex-direction: row;
    }
    
    .screenshot {
        flex: 1;
        max-width: calc(33.333% - 14px);
        min-width: 200px;
    }
}

/* Vertical stack for mobile devices */
@media (max-width: 767px) {
    .screenshots {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .screenshot {
        max-width: 100%;
        width: 100%;
    }
}

/* Navigation bar styles */
nav {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
}

nav a {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 10px;
    text-decoration: none;
    color: #58a6ff;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

nav a:hover {
    background-color: #21262d;
}