body {
    font-family: 'IBMPlexSans Regular', 'system-ui', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #044389;
}

#wrapper {
    display: grid;
    grid-template-areas:
        "a a"
        "b c";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 10vh auto;
    gap: 4rem;
    margin-bottom: 2rem;
}

header {
    grid-area: a;
    background-color: white;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}

header>a ,
header img {
    height: 3.75rem;
    max-width: 100%;
}

#badge-canvas {
    grid-area: b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 2rem;
}

#badge-canvas img,
#badge-canvas canvas {
    display: block;
    aspect-ratio: 1 / 1;
    margin: auto;
    max-width: min(512px, 100%) !important;
    height: auto !important;
}

#badge-form-container {
    grid-area: c;
    font-size: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2rem;
}

#badge-form-container form div {
    margin: 1rem 0;
}

#badge-form-container input {
    border: 0;
    background-color: white;
    box-shadow: 4px 4px 0px #ff5c00;
    line-height: 2rem;
    font-size: 1.8rem;
    display: block;
    padding: 0.3rem;
    width: 100%;
}

#badge-form-container button {
    background-color: #ff5c00;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border: 0;
}

span.asterisk {
    color: #ff5c00;
}

div.not-implemented {
    display: none;
}

@media (max-width: 600px) {
    #wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "a" "b" "c";
        gap: 1rem;
    }
}