/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 100%;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

hr {
    width: 90%;
    color: #E1E1E1;
    margin-block: 2rem;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100dvh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
    text-align: center;
    padding-block-end: 1rem;
}

h1 {
    font-size: 2rem;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

figcaption {
    padding-block-start: .25rem;
    padding-inline-start: .25rem;
    font-size: .825rem;
}

audio {
    vertical-align: text-bottom;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

body {
    background-color: #16161d;
    color: #E1E1E1;
    font-family: system-ui;
    justify-content: center;
    display: grid;
    gap: 1rem;
    grid-template-areas:
        "header"
        "subgrid"
        "footer";
}

header,
main,
footer {
    justify-content: center;
    margin-inline: auto;
    max-width: 680px;
}

header {
    margin-block-end: 2rem;
}

.reinhoeren {
    margin-block-start: 2rem;
}

.runterladen {
    margin-block-start: .75rem;
}

.lyrics {
    margin-block-start: 2rem;
}

.lyrics img {
    display: inline;
    border-radius: 0;
}

footer {
    margin-block: 4rem 2rem;
}

footer p {
    font-size: 1rem;
}

section {
    padding-block: 2rem;
}

section.download {
    text-align: center;
}

section.donor {
    position: relative;
}

section img {
    border-radius: 6px;
}

section h1,
section h2,
section h3 {
    margin-block-start: 0;
    margin-block-end: 1rem;
}

section>p:first-child {
    padding-block: 0 1rem;
}

article {
    width: 100%;
    padding-block-end: 1rem;
}

article>.dl {
    display: flex;
    gap: 20px;
    flex-direction: row;
    background-color: #26262e;
    border: 1px solid #007cc4;
    border-radius: 6px;
}

details {
    display: block;
    margin-inline: auto;
}

details[open] {
    width: 100%;
    margin-block-end: .75rem;
    background: none;
    box-shadow: none;
    text-shadow: none;
}

details[open] summary {
    padding-block-end: .75rem;
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

/* Grid Areas */
header {
    grid-area: header;
}

main {
    grid-area: subgrid;
}

.announcement {
    grid-area: announcement;
}

.download {
    grid-area: download;
}

.donor {
    grid-area: donor;
}

.contact {
    grid-area: contact;
}

footer {
    grid-area: footer;
}

.imprint h2 {
    text-align: center;
}

.dl-cover {
    max-width: 22%;
}

.dl-cover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 6px 0 0 6px;
}

.dl-wrapper {
    display: grid;
    grid-template-rows: min-content min-content auto min-content;
    width: 100%;
    padding: .5rem;
}

.dl-title {
    font-size: 1.5rem;
    font-weight: 600;
    /* line-height: 1.1rem; */
    display: flex;
    justify-content: space-between;
    color: #007cc4;
}

.dl-album {}

.dl-infos {}

.dl-button {
    justify-self: end;
}

p {
    font-size: 1rem;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

.hidden {
    display: none;
}

.mail a {
    font-size: 1.5rem;
}

.note {
    font-style: italic;
    font-size: 1rem;
}

/* Button pink */
.donorButton {
    box-shadow: inset 0px 1px 0px 0px #fbafe3;
    background: linear-gradient(to bottom, #ef82b3 5%, #ff5bb0 100%);
    background-color: #ef82b3;
    border-radius: 6px;
    border: 1px solid #ee1eb5;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #c70067;
}

.donorButton:hover {
    background: linear-gradient(to bottom, #ff5bb0 5%, #ef82b3 100%);
    background-color: #ff5bb0;
}

.donorButton:active {
    position: relative;
    top: 1px;
}

/* Button blau */
.dlButton {
    box-shadow: inset 0px 1px 0px 0px #bbdaf7;
    background: linear-gradient(to bottom, #79bbff 5%, #007cc4 100%);
    background-color: #79bbff;
    border-radius: 6px;
    border: 1px solid #16161d;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #528ecc;
    vertical-align: top;
}

.dlButton:hover {
    background: linear-gradient(to bottom, #007cc4 5%, #79bbff 100%);
    background-color: #007cc4;
}

.dlButton:active {
    position: relative;
    top: 1px;
}


/* Button grün */
/* .dlButton {
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: linear-gradient(to bottom, #77d42a 5%, #5cb811 100%);
    background-color: #77d42a;
    border-radius: 6px;
    border: 1px solid #268a16;
    display: inline-block;
    cursor: pointer;
    color: #306108;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #aade7c;
}

.dlButton:hover {
    background: linear-gradient(to bottom, #5cb811 5%, #77d42a 100%);
    background-color: #5cb811;
}

.dlButton:active {
    position: relative;
    top: 1px;
} */

/* Tooltip container */
.tooltip {
    display: inline;
    border-bottom: 1px dashed #E1E1E1;
    /* If you want dots under the hoverable text */
    padding: 0;
    cursor: pointer;
}

/* Tooltip text */
.tooltip span {
    visibility: hidden;
    width: 21rem;
    background-color: black;
    text-align: left;
    color: #fff;
    padding: .8rem;
    border-radius: 6px;
    border: 1px solid #E1E1E1;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    right: 1rem;
    z-index: 1;
}

.tooltip input {
    display: none;
}

.tooltip input:checked+span {
    visibility: visible;
    opacity: 1;
}