:root {
    --primary-bg: #FF6B6B;
    --secondary-bg: #BFA2DB;
    --body-bg: #FFF7EC;
    --header-bg: #3D2C3E;

    --primary-text: #eee;
    --secondary-text: #111;
    --body-text: #111;
    --header-text: #eee;
    --muted-text: #333;

    --spacing: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    background-color: var(--body-bg);
    color: var(--body-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-bg);
}

a {
    color: var(--primary-bg);
    text-decoration: underline var(--primary-bg);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.container > h1:first-child {
    margin-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background-color: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px var(--secondary-bg) solid;
    z-index: 20;
    padding: 4px 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.site-header a {
    color: inherit;
    text-decoration: none;
}

.site-header .align-right {
    margin-left: auto;
}

.brand {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.brand .logo {
    height: 40px;
    margin-top: 5px;
    margin-right: 5px;
}

.header-button {
    background: none;
    border: none;
    padding: 0;
    height: 30px;
    cursor: pointer;

    img {
        height: 100%;
    }
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 40;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100%;
    background-color: #f3f3f3;
    transition: right 0.3s ease;
    z-index: 41;
    overflow-y: auto;
}

.side-drawer.active {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.side-drawer nav {
    padding: 60px 20px 20px;
}

.side-drawer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-drawer nav li {
    margin-bottom: 1rem;
}

section {
    margin: var(--spacing) 0;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    color: var(--primary-bg);
    text-decoration: underline;
}

.btn, .btn-secondary {
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin: 5px 0;
    line-height: 1.4;
    font-size: inherit;
}

.btn {
    padding: 10px 15px;
    font-weight: 700;
    background: var(--primary-bg);
    color: var(--primary-text);
}

.btn-secondary {
    padding: 5px 7px;
    background: var(--secondary-bg);
    color: var(--secondary-text);
}

.btn:disabled, .btn-secondary:disabled {
    color: var(--muted-text);
    opacity: 0.9;
    cursor: default;
}

.small-text {
    color: var(--muted-text);
    font-size: 0.75rem;
    line-height: 1;
}

footer {
    margin-top: 1em !important;
    color: var(--muted-text);
    font-size: 0.8rem;
    border-top: 1px var(--secondary-bg) solid;
}

form {
    input, textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
    }

    textarea {
        height: 100px;
        resize: none;
    }
}