@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@600;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/brain-melt');

body {
    background: #fdf6ee;
    height: fit-content;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 16px 40px;
    user-select: none;
}

#home {
    position: absolute;
    top: 25px;
    left: 25px;
    height: 75px;
    width: 75px;
    border-radius: 100%;
    border: 3px solid #3A3A3A;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    opacity: 0.5;
}

#home:hover {
    transition: 1s ease-in-out;
    transform: rotate(360deg);
    opacity: 1;
}

h1 {
    font-family: 'Brain Melt regular', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #3a3a3a;
    letter-spacing: .5px;
    margin-bottom: 50px;
}

.sub {
    font-size: .95rem;
    color: #9b9b9b;
    margin-bottom: 20px;
    font-weight: 600;
}

.picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.pill {
    background: white;
    border: 2.5px solid #e5e0d8;
    border-radius: 100px;
    padding: 7px 18px;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    color: #9b9b9b;
    cursor: pointer;
}

.pill.on {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

.pill-next {
    background: var(--accent, #f7c948);
    border: none;
    border-radius: 100px;
    padding: 14px 32px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 6px 0 color-mix(in srgb, var(--accent, #f7c948) 60%, black);
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.pill-next:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--accent, #f7c948) 60%, black);
}

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 16px;
    margin-bottom: 16px;
}

canvas {
    display: block;
    border-radius: 14px;
    background: #fafafa;
    touch-action: none;
    cursor: crosshair;
}