@font-face {
    font-family: 'Sneaky-Times';
    src: url('rsc/Sneaky-Times.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-family: 'Sneaky-Times', sans-serif;
    --color-text: #333;
    --color-background: #fff;
    --color-link: blue;
    --color-button-background: #333;
    --color-button-text: #fff;
    --border-radius: 12px; /* Apple-style rounded corners */
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-text: #ddd;
        --color-background: #333;
        --color-link: yellow;
        --color-button-background: #ddd;
        --color-button-text: #333;
    }
}

body, input, button, textarea {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    border-radius: var(--border-radius); /* Apply border radius */
}

.container {
    max-width: 80%;
    margin: 0 auto;
    width: 100%;
}

header, footer, .links, section, .comments-section {
    margin: 20px 0;
    border-radius: var(--border-radius); /* Apply border radius */
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: inline;
    margin-right: 20px;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius); /* Apply border radius */
}

textarea {
    width: 100%;
    height: 100px;
    border-radius: var(--border-radius); /* Apply border radius */
}

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.comment-button, button[type="submit"] {
    background-color: var(--color-button-background);
    color: var(--color-button-text);
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius); /* Apply border radius */
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}
