:root {
    --bg-color: #e0e0e0;
    --accent-color: #ffcc00;
    --accent--hover: #886d00;
    --text-color: #000000;
    --header-bg: #000000;
}

body {
    font-family: noto-sans-cjk-jp, sans-serif, "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

.hero-section {
    height: 100vh;
    background-image: url('../../img/higedanHero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.index-main {
    margin-top: 0 !important;
    background-color: #e0e0e0;
    padding: 100px 20px;
    position: relative;
    z-index: 2;

}

.content-wrapper {
    max-width: 850px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    display: flex;
    justify-content: space-between;
    /* Pushes title left and nav right */
    align-items: center;
    padding: 0px 40px;
    height: 70px;
    background: var(--header-bg);
    color: var(--accent-color);
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    /* fix: keep the width at 100% and put the padding inside that space. */
}

nav {
    display: flex;
    align-items: center;
}

h2,
p {
    text-align: center;
    font-family: noto-sans-cjk-jp, sans-serif, "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

.left-side {
    text-align: left;
    padding-left: 100px;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;

}

nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;

}

a:hover {
    color: var(--accent-color);
    transition: 0.3s;
}

main {
    padding: 2px;
    background-color: var(--bg-color);
    flex: 1;
    /* push the footer */
}

footer {
    text-align: center;
    padding: 30px 0;
    background: var(--header-bg);
    color: white;
    width: 100%;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
    padding: 0 20px;
}

::selection {
    background: var(--accent-color);
}

/* .language-button {
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.language-button:hover {
    background-color: var(--accent--hover);
    color: white;
    transition: 0.3s;
} */

nav a,
.language-toggle {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

nav a:hover,
.language-toggle:hover {
    color: white;
    transition: 0.3s;
}

div {
    text-align: center;
    font-size: 16px;
    font-family: noto-sans-cjk-jp, sans-serif, "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    letter-spacing: 0.04em;
}

.lyrics-text {
    white-space: pre-line;
    text-align: center;
    line-height: 2;
    padding: 20px;
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

body.theme-same-blue {
    --bg-color: #001226;
    --header-bg: #000a14;
    --accent-color: #87CEEB;
    --text-color: #f0f8ff;
    --accent--hover: #4e88a1;
}

body.theme-pretender {
    --bg-color: #1a0505;
    --header-bg: #0d0000;
    --accent-color: #ff4d4d;
    --accent--hover: #b30000;
    --text-color: #ffe6e6;
}

ruby {
    ruby-position: over;
    ruby-align: center;
}

rt {
    display: none;
}

body.show-furigana rt {
    display: ruby-text;
    font-size: 0.55em;
    color: white;
}

.song-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align to the left */
    padding-left: 100px;
    /* left-side text padding */
    margin-top: 30px;
}

.song-link {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color);
    margin-bottom: 15px;
}

.song-link:hover {
    color: var(--accent-color);
    transform: translateX(10px);
    /* move effect on hover */
    transition: 0.3s;
}

.furigana-btn {
    border-style: none;
    font-size: 12px; 
    font-weight: 700;   
    border-radius: 8px;
    padding: 4px 12px;
    background-color: var(--accent-color);
    color: white;
    border: 3px solid var(--accent--hover);
    cursor: pointer;
}

.furigana-btn:hover {
    background-color: var(--accent--hover);
    color: white;
    border: 3px solid var(--accent-color);
    transition: 0.3s;    
}