@font-face {
    font-family: 'Architects Daughter';
    src: url('/assets/fonts/ArchitectsDaughter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

html, body {
    min-height: 100vh;
    overflow: auto;
}

body {
    font-family: 'Architects Daughter', cursive, sans-serif;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f0ece2 url('/assets/images/Whiteboard_with_markers.jpg') no-repeat center center fixed;
    background-size: auto 100vh;
}

.container {
    max-width: 900px;
    width: min(900px, 100vw - 4rem);
    margin: 2rem;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(21, 21, 112, 0.2);
    padding-bottom: 0.75rem;
}

nav a {
    font-family: 'Architects Daughter', cursive, sans-serif;
    font-size: 1.1rem;
    color: #151570;
    opacity: 0.9;
    text-decoration: none;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.6;
    text-decoration: underline;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #151570;
    opacity: 0.9;
    border-bottom: 2px solid #4a90d9;
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #151570;
    opacity: 0.9;
    margin-bottom: 1.2rem;
    text-align: justify;
}

p:last-child {
    margin-bottom: 0;
}

.footer {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(21, 21, 112, 0.2);
    font-size: 0.8rem;
    color: #151570;
    opacity: 0.9;
    text-align: center;
}

@media (max-width: 768px) {
    body {
        background-position: center;
        background-size: contain;
    }

    .container {
        margin: 1rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}

.unselected-flag {
    width: auto;
    height: 16px;
    vertical-align: middle;
}
