:root {
    --color-primary: #070a18;
    --color-secondary: #ffffff;
    --color-text: #bbbbbb;
    --color-warning: #ffff00;
    --color-error: #ff0000;
    --color-bg-light: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 1rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-text);
}

@font-face {
    font-family: 'GT Walesheim';
    src: url(fonts/GTWalsheimProRegular.woff);
}

@font-face {
    font-family: 'D-Din';
    src: url(fonts/ddin.otf);
}

h1, h2, h3 {
    color: var(--color-secondary);
    text-align: center;
    line-height: 1.5;
}

h5 {
    text-align: center;
    font-size: 1rem;
}

h1, h2, .heading-xl {
    font-family: 'D-Din', sans-serif;
    font-weight: normal;
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.4;
}

body, p {
    font-family: 'GT Walesheim', sans-serif;
    font-weight: normal;
}

p, label {
    font-size: 1rem;
    line-height: 1.4;
}

a {
    color: var(--color-secondary);
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

input[type="radio"]:checked {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

input[type="radio"]::after {
    content: '';
    width: 1rem;
    height: 1rem;
    background: linear-gradient(-45deg, transparent 49.9%, #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent 50.1%);
    position: absolute;
    bottom: -1px;
    right: -1px;
}

button, input[type="submit"] {
    border: none;
    border-radius: 4px;
    background-color: white;
    color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    text-wrap: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: D-Din, sans-serif;
    text-transform: uppercase;
    clip-path: polygon(100% 0, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0 100%, 0 0);
    line-height: 1;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
}

button:disabled, input[type="submit"]:disabled {
    background-color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    opacity: 0.7;
}

option {
    color: var(--color-secondary);
    background-color: var(--color-primary);
}

input[type="text"], input[type="email"] {
    padding: 0.75rem;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    background: transparent;
    border-radius: 0.5rem;
    flex-grow: 1;
    font-size: 1rem;
    font-family: 'GT Walesheim', sans-serif;
}

.button-text {
    background-color: transparent;
    border: none;
    color: white;
    text-transform: uppercase;
    opacity: 0.6;
    cursor: pointer;
    text-align: center;
}

.button-wrapper {
    margin-top: 2rem;
}

.bold {
    font-weight: bold;
}

.small-text {
    font-size: 0.875rem;
    color: var(--color-text);
}

.warning {
    color: var(--color-warning);
}

.error {
    color: var(--color-error);
    display: block;
    margin-top: 0.25rem;
}

.bright {
    color: var(--color-secondary);
}

.hide-desktop {
    display: none;
}

@media (max-width: 800px) {
    body {
        margin: 2em 3em 3em 3em;
        overflow-x: hidden;
    }

    .hide-desktop {
        display: initial;
    }

    .hide-mobile {
        display: none;
    }
}
