:root {
    --paypal-button-color: #ffc439;
    --tiny-button-color: #3974FF;
    --label-color: var(--paypal-button-color);
    --text-neutral-color: #888;
    --text-color: #fff;
    --placeholder-color: #555;
    --background-color: #333;
    --background-color-dark: #1e1e1e;
}

a, a:visited {
    color: var(--text-color);
    transition: all 1s ease-in-out;
}

a:hover {
    filter: brightness(2);
    transition: all 0.3s ease-in-out;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
}

.content {
    max-width: max-content;
}

.center {
    text-align: center;
}

.notes {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--label-color);
    font-style: italic;
    font-weight: bold;
}

main, .centered {
    margin: 0 auto;
}

.mb1 {
    margin-bottom: 1rem;
}

.mb3 {
    margin-bottom: 3rem;
}

textarea {
    width: 100%;
    min-width: 90%;
    min-height: 4rem;
}

.footer {
    color: var(--text-neutral-color);
}

#promo, canvas {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-height: 320px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    user-select: none;
}

#promo {
    background: var(--placeholder-color) url("/assets/playpromo.avif") center top/cover no-repeat;
}

canvas {
    position: absolute;
    z-index: 2;
    object-fit: fill;
}

table {
    border-collapse: collapse;
    border: .25rem solid transparent;
}

label {
    font-weight: bold;
    display: block;
}

tr.record label {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

tr.record label, tr.record a {
    color: var(--label-color);
}

tr.record td, th {
    border-bottom: 2px solid var(--text-neutral-color);
}

th {
    padding: 0.25rem;
    text-align: left;
    vertical-align: bottom;
}

th.right {
    text-align: right;
}

td, select, input {
    padding: 0.25rem;
}

td:nth-child(2) {
    width: 64px;
}

.calc {
    text-align: right;
    white-space: nowrap;
}

tfoot td {
    border-top: 2px solid var(--text-neutral-color);
    color: var(--paypal-button-color);
}

input#note {
    width: calc(100% - 1rem);
}

.error, .success {
    font-size: 1.25rem;
    padding: 0.5rem;
    border-top: 4px solid green;
    border-bottom: 4px solid green;
}

.error {
    border-color: red;
}

.gallery {
    display:flex;
    flex-direction: row;
    border: 2rem solid transparent;
    column-gap: 1rem;
    box-sizing: border-box;
}

.gallery.three {
    width: calc(100% - 2rem);
}

.gallery.four {
    width: calc(100% - 3rem);
}

.gallery img {
    border: .5rem solid var(--background-color-dark);
    border-radius: 1rem;
    display: block;
    box-sizing: border-box;
    margin: 1rem auto;
    background: var(--background-color-dark);
    transition: all 2s ease-in-out;
}

.gallery:hover img {
    filter: blur(4px) saturate(0);
}

.gallery img:hover {
    filter: blur(0) saturate(1);
    border-color: var(--paypal-button-color);
    transition: all .3s ease-in-out;
}

.player {
    border-radius: 2rem;
    max-width: 640px;
    padding: 2rem;
    margin: 2rem auto;
    background: linear-gradient(90deg, var(--background-color) 0%, var(--placeholder-color) 50%, var(--background-color) 100%);
    box-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.5);
}

.player .headline {
    margin-bottom: 1rem;
}

.player .title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--label-color);
}

.side {
    font-size: 2rem;
    font-weight: bold;
    font-style: italic;
    color: var(--text-neutral-color);
}

audio {
    width: 100%;
}

a.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 2rem;
    background-color: var(--paypal-button-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 0.5rem;
}

a.button.tiny {
    font-size: 1.2rem;
    background-color: var(--tiny-button-color);
}

span.label {
    display: block;
    width: 64px;
    height: 64px;
    background-image: url("/img/minilabel.webp");
    cursor: pointer;
}

span.label.n4cer02 {
    background-position: -64px 0;
}

@keyframes rotateLabel {
    0%, 25% {
        transform: rotateY(0deg) rotateZ(0deg);
    }
    50%, 75% {
        transform: rotateY(-180deg) rotateZ(720deg);
    }
    100% {
        transform: rotateY(-360deg) rotateZ(1440deg);
    }
}

#labelContainer {
    perspective: 1000px;
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

#labelContainer .label {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateLabel 12s ease-in-out infinite;
}

#labelContainer .front,
#labelContainer .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-position: 0 0;
}

#labelContainer .back {
    transform: rotateY(-180deg);
    background-position: 100% 0;
}

#labelContainer .n4cer01 {
    background-image: url("/assets/biglabel_n4cer01.webp");
}

#labelContainer .n4cer02 {
    background-image: url("/assets/biglabel_n4cer02.webp");
}

.platform {
    max-width: 940px;
    display: flex;
    gap: 1em;
    flex-flow: wrap;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
}

.platform a {
    position: relative;
    display: flex;
    align-items: center;
    width: 10rem;
    height: 40px;
    padding: .5rem .5rem .5rem calc(1rem + 40px);
    background: #4d1616;
    border-radius: .5rem;
}

.platform a:before {
    position: absolute;
    top: .5rem;
    left: .5rem;
    background: url("/img/platforms.webp") no-repeat;
    content: "";
    display: block;
    width: 40px;
    height: 40px;
}

#spotify:before {
    background-position: 0 0;
}

#podcast:before {
    background-position: -41px 0;
}

#soundcloud:before {
    background-position: -81px 0;
}

#youtube:before {
    background-position: -121px 0;
}

#tiktok:before {
    background-position: -161px 0;
}

#itunes:before {
    background-position: -201px 0;
}

#deezer:before {
    background-position: -241px 0;
}

#tidal:before {
    background-position: -281px 0;
}

#amazon:before {
    background-position: -321px 0;
}
