@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

* {
   box-sizing: border-box;
    color: #FFF;
    font-family: "EB Garamond", serif;
}

a {
    text-decoration: none;
}

/* utility classes */

.hide {
    display: none !important;
}

body {
    max-width: 22.8rem;
    height: 100vh;
    margin: 0 auto;

    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header header header"
        "main main main"
        "footer footer footer";
}

body.bg-centered {
    background: url("../images/Guru Puja seminar, July 1983, Lodge Hill UK-01-01-01 1-tinyfied.jpeg") center/cover no-repeat fixed;
}

body.bg-shifted-left {
    background: url("../images/Guru Puja seminar, July 1983, Lodge Hill UK-01-01-01 1-tinyfied.jpeg") center left no-repeat fixed;
}

body > header {
    grid-area: header;
    display: flex;
    padding: 0.625rem 1.25rem 0.875rem 1.25rem;
    justify-content: space-between;
    align-items: flex-end;

    margin: 1rem 1rem 0 1rem;

    border-radius: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

body > header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 120%;
}

body > header span {
    line-height: 1.3125rem;
}

/* main section */

body > main {
    grid-area: main;

    margin: 0 1rem;
}

.button-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.8125rem;
}

.button-bar a:first-child {
    padding: 0.9375rem;

    border-radius: 0.625rem;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.button-bar a:first-child img {
    width: 1.875rem;
    height: 1.875rem;
}

.button-bar .lyrics-button {
    padding: 0.9375rem 1.25rem;

    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.40), 0 0 40px rgba(0, 0, 0, 0.50);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;

    border-radius: 0.625rem;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.button-bar a:nth-child(3) {
    padding: 1rem 1.2rem;

    border-radius: 0.625rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.button-bar a:nth-child(3) img {
    width: 1.4375rem;
    height: 1.875rem;
}

.share-popup {
    display: flex;
    padding: 0.625rem 0.9375rem;
    align-items: flex-start;
    gap: 1.5625rem;

    border-radius: 0.625rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);

    width: fit-content;
    margin-left: auto;
    margin-top: 1rem;
}

.share-popup span {
    text-align: right;
    text-shadow: 0 0 40px #000;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

/* Shared main styles */

.download-header h2,
.lyrics-header h2 {
    text-shadow: 0 0 40px #000;
    font-size: 1.5rem;
    font-family: "EB Garamond", serif;
    font-weight: 800;
    line-height: 120%;
}

.download-header .close-btn,
.lyrics-header .close-btn {
    padding: 0.625rem;

    border-radius: 0.3125rem;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.download-header .close-btn img,
.lyrics-header .close-btn img {
    width: 1.875rem;
    height: 1.875rem;
}

/* Downloads section */

.download-section {
    display: flex;
    padding: 0.9375rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    border-radius: 0.625rem;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.download-header h2 {
    text-shadow: 0 0 40px #000;
    font-size: 1.5rem;
    font-family: "EB Garamond", serif;
    font-weight: 800;
    line-height: 120%;
}

.download-item {
    display: flex;
    padding: 0.4rem 0.7rem;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;

    border-radius: 0.3125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
}

.downloads-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

}

.album-art-qr {
    flex-shrink: 0;

    width: 4.6875rem;
    height: 4.6875rem;
    width: 7rem;
    height: 7rem;

    border-radius: 0.625rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-right: 2px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: #D9D9D9;
    box-shadow: 0 4px 60px 0 rgba(0, 0, 0, 0.50);
}

.album-art-description {
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.50), 0 0 40px rgba(0, 0, 0, 0.50);
    font-size: 1rem;
    line-height: 120%;
    text-align: justify;
}

/* Lyrics section */

.lyrics-section {
    display: flex;
    padding: 0.9375rem 1.25rem;
    flex-direction: column;
    align-items: center;
    gap: 0.8125rem;
    flex-shrink: 0;

    border-radius: 0.625rem;
    border-top: 2px solid rgba(255, 255, 255, 0.10);
    border-right: 2px solid rgba(255, 255, 255, 0.10);
    border-bottom: 4px solid rgba(255, 255, 255, 0.10);
    border-left: 2px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.lyrics-text {
    text-align: center;
    text-shadow: 0 0 40px #000, 0 0 40px #000;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    line-height: 126%;
    letter-spacing: .05rem;
}

.lyrics-text h3.lyrics-heading {
    text-shadow: 0 0 40px #000, 0 0 40px #000;
    font-size: 1.425rem;
    font-style: italic;
    font-weight: 800;
    line-height: 120%;
}

.lyrics-text p {
    font-family: 'Crimson Text', serif;
    margin-top: 1rem;
}

/* Footer section */

body > footer {
    grid-area: footer;

    display: flex;
    padding: 1.0625rem 1.5rem 1.125rem 1.5rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;

    border-radius: 1.875rem 1.875rem 0 0;
    border-top: 2px solid rgba(255, 255, 255, 0.10);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.player-box {
    display: flex;
    padding: 0.625rem 1.25rem;
    flex-direction: column;
    align-items: center;
    gap: 0.3125rem;

    font-size: 2.3125rem;

    border-radius: 1.5625rem;
    border-top: 2px solid rgba(255, 255, 255, 0.10);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
}

.player-box-subgroup {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.play-button-left,
.play-button-right {
    width: 3rem;
    height: 3rem;
}

.credits {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    width: 100%;
}

.credits p,
.credits span {
    text-align: center;
    text-shadow: 0 0 40px #000;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 1.125rem;
}

.credits-subgroup {
    display: flex;
    justify-content: space-between;
}

.credits-button {
    padding: 0.3rem 0.7rem;

    border-radius: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}