html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url("bg_back.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

body {
    font-family: 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

body * {
    z-index: 0;
}

.page-container {
    width: min(800px, calc(100% - 40px));
    padding: 20px 0;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-container:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    width: 840px;
    height: 120vh;
    height: 120lvh;
    background-image: url("bg.jpg");
    background-size: cover;
}

main {
    z-index: 1;
}

header {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(840px, 100%);
    background-color: #fff;
    padding: 5px 0;
}

footer {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(840px, 100%);
    background-color: #3e5760;
    padding: 15px 0;
    color: #fff;
}

.top {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
    opacity: 1;
    animation: top-animation 2s forwards;
}

@keyframes top-animation {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.artwork {
    width: 500px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    transform: scale(0.9) rotate(-5deg);
    animation: artwork-animation 0.75s forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes artwork-animation {
    0% {
        opacity: 0;
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes strobe {
    0% { opacity: 1; }
    50% { opacity: 0.25; }
    100% { opacity: 1; }
}

.album-logo {
    width: 550px;
    display: block;
    margin: auto;
    margin-top: -300px;
    margin-bottom: 90px;
    filter: drop-shadow(0 0 30px #fff) drop-shadow(0 0 30px #fff);
    opacity: 0;
    transform: translateY(20px);
    animation: album-logo-animation 2s forwards;
    animation-delay: 0.75s;
}

@keyframes album-logo-animation {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    20% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #fff;
    animation: splash-animation 0.5s forwards;
    animation-delay: 0.75s;
    display: block;
    overflow: hidden;
    z-index: 10;
}

@keyframes splash-animation {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.splash .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    margin-top: -80px;
    margin-left: -200px;
    animation: splash-logo-animation 1s forwards 0s, strobe 60ms steps(1,end) 3 0.1s;
}

@keyframes splash-logo-animation {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

header .logo {
    width: 150px;
    display: block;
}

.content {
    width: 100%;
}

section {
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    line-height: 3rem;
}

h1, h3 {
    text-align: center;
    position: relative;
}

h1 {
    font-weight: normal;
    font-size: 3rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

h3 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 4px;
}

.decorated::before,
.decorated::after {
    content: "";
}

.jacket {
    display: block;
    width: 300px;
    max-width: 100%;
}

.column {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 90%;
}

.column-item {
    flex: 1 0 40%;
    text-align: left;
}

.lyrics-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.lyrics {
    flex: 1 0 45%;
    font-size: 1rem;
    line-height: 1.75rem;
    text-align: left;
    max-width: 45%;
}

.lyrics .artist {
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 15px;
}

.lyrics-body {
    background: rgba(255, 255, 255, 0.75);
    padding: 12px 20px;
    border-radius: 5px;
    width: 90%;
    margin-bottom: 10px;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s;
}

h2 {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin-top: 35px;
}

h2:before, h2:after {
    display: inline-block;
    content: "";
    border-top: .2rem solid #5C97AD;
    height: 2rem;
    width: 5em;
    transform: translateY(65%);
    margin-left: .9em;
    margin-right: .9em;
}

.track {
    width: 200px;
}

.track-list {
    padding: 0;
    line-height: 2rem;
}

.track-list li {
    margin: auto;
    list-style-type: none;
    padding: 0;
    line-height: 2rem;
}

.track-list li {
    padding-left: 10px;
    margin-bottom: 0;
}

.track-list li:nth-child(even) .artist {
    text-align: right;
}

.track-list li:nth-child(odd) .artist {
    text-align: left;
}

.track-list li .artist {
    width: 400px;
    font-size: 1.1rem;
    line-height: 1.8rem;
    color: #666;
}

.download-button {
    display: inline-block;
    background-color: #5C97AD;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    margin-bottom: 15px;
}

.download-button:disabled {
    background-color: #d5d8d9;
    cursor:not-allowed !important;
}

.download-button i {
    margin-right: 8px;
}

a {
    color: #5C97AD;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section:last-of-type {
    margin-bottom: 30px;
}

@media screen and (max-width: 768px), print {
    html, body {
        background-image: url("bg.jpg");
    }

    .page-container {
        width: max(100%, 500px);
    }

    h2:before, h2:after {
        display: inline-block;
        content: "";
        border-top: .2rem solid #5C97AD;
        height: 2rem;
        width: 3em;
        transform: translateY(65%);
        margin-left: .9em;
        margin-right: .9em;
    }
}
