:root {
    --background: rgb(220, 221, 221);
    --foreground: rgb(0, 0, 0);
    --border: rgb(135, 142, 153);
    --action: rgb(34, 46, 80);
    --link: rgb(42, 72, 73);
    --font-size-small: 0.8rem;
    --font-size-regular: 0.9rem;
    --font-size-medium: 1.1rem;
    --font-size-heading: 2rem;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: rgb(44, 44, 44);
        --foreground: rgb(255, 255, 255);
        --border: rgb(54, 57, 61);
        --action: rgb(78, 88, 115);
        --link: rgb(119, 138, 139);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
header h1 {
    flex: 1;
    margin-bottom: 0;
}
header h1 a:any-link {
    font-size: var(--font-size-medium);
    text-decoration: none;
    color: var(--foreground);
}
header a {
    text-decoration: none;
    margin-left: 15px;
    font-size: var(--font-size-small);
}
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 32px;
    font-size: var(--font-size-regular);
}
.content img {
    width: 100%;
    height: auto;
}
.text-container {
    max-width: 400px;
}
.text-container-large {
    max-width: 1024px;
}
pre {
    overflow-x: auto;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #1e1e1e;
    color: #ffffff;
    white-space: pre;
    margin-bottom: 10px;
}

img.screenshot {
    width: 250px;
    border-radius: 10px;
}
h1, p {
    margin-bottom: 10px;
}
h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-heading);
}
header h1 {
    font-size: var(--font-size-medium);
}
a:any-link {
    color: var(--link);
    font-weight: bold;
    text-decoration: none;
}
.cta-button {
    display: inline-block;
    background-color: var(--action);
    color: white !important;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}
footer {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 10px;
    font-size: var(--font-size-small);
}
div.screenshots ul {
    list-style-type: none;
}
div.screenshots li {
    display: none;
}
div.screenshots li.screenshot-active {
    display: block;
}
div.screenshot-control {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
    font-size: 2rem;
    line-height: 1.5rem;
}
span.bullet {
    opacity: 0.5;
    cursor: pointer;
}
span.bullet-active {
    opacity: 1;
}
.note {
    margin-top: 0.4rem;
    font-size: 80%;
    opacity: 0.5;
}
@media (max-width: 600px) {
    .content {
        flex-direction: column;
        align-items: center;
    }
    .content img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .text-container, .text-container-large {
        max-width: 100%;
    }
}
