
/* Base styles for greekalphabet.net */
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
                 Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #222;
    background-color: #fdfdfd;
}
header {
    background-color: #00264d;
    color: #fff;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}
nav a:hover {
    background-color: #004080;
}
main {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}
h1, h2, h3, h4, h5, h6 {
    color: #00264d;
    margin-top: 1.4rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
th, td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}
th {
    background-color: #f0f4f8;
    font-weight: 600;
}
tr:nth-child(even) {
    background-color: #fafafa;
}
.letter-display {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: #00264d;
}
.pronunciation {
    font-style: italic;
}
.uses-list {
    margin: 0;
    padding-left: 1.2rem;
}
footer {
    background-color: #f0f4f8;
    color: #444;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}
footer a {
    color: #00264d;
    text-decoration: none;
}
.citation {
    font-size: 0.8rem;
    color: #555;
}
.citation a {
    color: #0070c9;
    text-decoration: none;
}
.citation a:hover {
    text-decoration: underline;
}
.copy-btn {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    color: #fff;
    background-color: #004080;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.copy-btn:hover {
    background-color: #0066cc;
}
@media (max-width: 640px) {
    nav {
        flex-direction: column;
    }
    .letter-display {
        font-size: 2.5rem;
    }
}
