
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Great+Vibes&display=swap');

/* ==============================
   GLOBAL COLORS & SETTINGS
============================== */

:root {
    --navy: #26365e;
    --ink: #29395e;
    --gold: #c99664;
    --blush: #f9e8e4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font: 20px/1.6 'Cormorant Garamond', Georgia, serif;
    background: linear-gradient(
        125deg,
        #f3dfe8,
        #e2dcf3 48%,
        #f6e3db
    );
}

/* ==============================
   MAIN WEBSITE CONTAINER
============================== */

.site {
    width: min(1100px, 100%);
    margin: 30px auto;
    background: #fff7f2;
    box-shadow: 0 14px 50px #38406330;
    border: 1px solid #d7b4a8;
}

/* ==============================
   HEADER IMAGE
============================== */

.hero {
    width: 100%;
    aspect-ratio: 1536 / 395;
    background: url('header.jpg') center / cover no-repeat;
}

/* ==============================
   NAVIGATION
============================== */

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(10px, 2.4vw, 36px);
    padding: 13px 18px;
    background: var(--navy);
    border-top: 2px solid var(--gold);
    border-bottom: 3px double var(--gold);
}

.navigation a {
    color: #fff2eb;
    font-size: clamp(16px, 2.3vw, 23px);
    letter-spacing: .055em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.navigation a:hover,
.navigation a:focus-visible {
    color: #ffce94;
    text-decoration: underline;
}

.navigation span {
    color: #e7b67e;
}

/* ==============================
   CONTENT LAYOUT
============================== */

.content {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr);
    gap: 20px;
    padding: 24px;
    background: linear-gradient(
        110deg,
        #fff4ed,
        #f8e5e7 65%,
        #eee3f1
    );
}

/* ==============================
   CONTENT & BROWSE PANELS
============================== */

.intro,
.browse {
    padding: 28px 32px;
    border: 1px solid #d8af9e;
    border-radius: 5px;
    background: #fff8f3b8;
    box-shadow: inset 0 0 0 5px #fffaf766;
}

/* ==============================
   HEADINGS
============================== */

h1,
h2 {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-size: clamp(39px, 4.5vw, 50px);
}

h2 {
    font-size: clamp(35px, 4vw, 46px);
    text-align: center;
}

h3 {
    margin: 0 0 2px;
    color: #7b527b;
    font-size: 25px;
    font-weight: 600;
}

/* ==============================
   DECORATIVE ELEMENTS
============================== */

.flourish {
    color: var(--gold);
    letter-spacing: 3px;
    margin: 5px 0 18px;
}

/* ==============================
   PARAGRAPHS & CATEGORIES
============================== */

p {
    margin: 0 0 16px;
}

.browse > p {
    margin-top: 22px;
}

.categories {
    margin-top: 24px;
}

.categories article {
    padding: 12px 0;
    border-top: 1px solid #dfbda8;
    scroll-margin-top: 20px;
}

.categories p {
    font-size: 18px;
    margin: 0;
}

/* ==============================
   GENERAL CONTENT LINKS
============================== */

.intro a,
.browse a {
    color: #a45b80;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #dcb2c5;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.intro a:hover,
.browse a:hover,
.intro a:focus-visible,
.browse a:focus-visible {
    color: #c47756;
    border-bottom-color: #c47756;
}

/* ==============================
   LANGUAGE KEY BADGES
============================== */

.key {
    display: inline-block;
    padding: 2px 7px;
    border: 1px solid #b99ac5;
    border-radius: 4px;
    background-color: #f3e7f5;
    color: #57436e;
    font-weight: bold;
    font-size: 11px;
    font-family: Arial, sans-serif;
    text-align: center;
    line-height: 1.4;
}

/* ==============================
   LYRICS TABLE
============================== */

.lyrics-table {
    border-collapse: collapse;
    width: auto;
    text-align: left;
}

.lyrics-table td {
    padding: 5px 24px;
    vertical-align: middle;
}

.lyrics-table td:first-child {
    padding-left: 0;
}

.lyrics-table td:last-child {
    white-space: nowrap;
}

/* Column separators */

.lyrics-table td:not(:last-child) {
    border-right: 1px solid #dcb2c5;
}

/* Song links */

.lyrics-table a {
    border-bottom: none;
}

.lyrics-table a:hover,
.lyrics-table a:focus-visible {
    border-bottom: 1px solid #c47756;
}

/* ==============================
   FOOTER
============================== */

footer {
    text-align: center;
    background: #26365e;
    color: #f4dcd7;
    padding: 12px;
    font-size: 16px;
}

/* ==============================
   MOBILE RESPONSIVENESS
============================== */

@media (max-width: 700px) {

    .site {
        margin: 0;
    }

    .content {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .intro,
    .browse {
        padding: 22px;
    }

    .navigation {
        gap: 10px 16px;
    }

    .navigation span {
        display: none;
    }

    .navigation a {
        font-size: 16px;
    }

    .hero {
        min-height: 145px;
        background-size: auto 100%;
    }

    .lyrics-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .lyrics-table td {
        padding: 5px 12px;
    }
}