/*
 * ALBUMKLUBBEN
 */

/** Reset *******************************************************************/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/** VARIABLES ***************************************************************/
:root {
    /*
     * Define all colors separately and then other variables with more semantic
     * names refering to these.
     */
    --color-black: #1a1a1a;
    --color-whiteish: #fafafa;
    --color-white: #ffffff;
    --color-beige: #f5f0e6;
    --color-red: #d42c2c;
    --color-gray: #d0d0d0;
    --color-yellow: #f7d739;

    --font-size-m: 16px;
    --font-size-xl: 4rem;
    --line-height: 1.6;

    --color-background: var(--color-whiteish);
    --color-page-background: var(--color-white);
    --color-text: var(--color-black);
    --color-border: var(--color-black);
}

@media (prefers-color-scheme: dark) {
    :root {
    }
}
html {
    font-size: var(--font-size-m);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Courier New", Courier, monospace;
    line-height: var(--line-height);

    background-color: var(--color-background);
    color: var(--color-text);

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-page-background);
    min-height: 100vh;
    border-left: 2px solid var(--color-border);
    border-right: 2px solid var(--color-border);
    position: relative;

    display: flex;
    flex-direction: column;
}

/** HEADER ******************************************************************/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 2px solid var(--color-border);
}

header .site-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

header .title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

header .subtitle {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

header .vinyl-decoration {
    float: right;
    position: relative;
    margin-right: 80px;
}

.vinyl-decoration {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: none;
}

.vinyl-svg {
    width: 100%;
    height: 100%;
}

.vinyl-svg.spinning {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/** FOOTER ******************************************************************/
footer {
    border-top: 2px solid var(--color-border);
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 1.5rem auto;
}

.footer-copy {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.footer-sep {
    margin: 0 0.5rem;
}

/** MAIN *********************************************************************/
.main-content {
    flex-grow: 1;
}

/** INTRO ********************************************************************/
.preamble {
    margin: 3rem;
    background: var(--color-beige);
    border: 3px solid var(--color-border);
    padding: 2rem;
    position: relative;
    box-shadow: 4px 4px 0 var(--color-black);
}

.preamble p {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
}

.anfang {
    float: left;
    font-size: var(--font-size-xl);
    line-height: 0.85;
    padding-right: 0.5rem;
    color: var(--color-red);
}

/** SIGNUP ******************************************************************/
.signup {
    margin: 3rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
.signup a.button {
}

a.button {
    font-size: 1.75rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;

    color: var(--color-black);
    background: var(--color-yellow);
    border: 3px solid var(--color-black);
    box-shadow: 4px 4px 0 var(--color-black);
}
a.button,
a.button:active,
a.button:hover {
    text-decoration: none;
    outline: none;
}
