/* ABOUTME: The site's button, filled or outlined, wherever one is needed */
/* ABOUTME: Shared so the hero's pair and the vote's submit cannot drift apart */

/* Shaped like the navbar's menu button. The pair is one filled and one
   outlined; both land on white when hovered. */
.button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    border: 1px solid;
    border-radius: 0.3rem;
    padding: 0.3rem 2.2rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Filled with the sun's disc colour. */
.button--solid {
    background: #ff2966;
    border-color: #ff2966;
    color: white;
}

.button--outline {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-color: white;
    color: white;
}

.button:hover {
    background: white;
    border-color: white;
    color: var(--black);
}

/* The outlined button on a light ground, where a white border would vanish —
   and its own hover, since the shared one turns a button white. */
.button--outline-on-light {
    background: transparent;
    border-color: rgba(32, 29, 252, 0.35);
    color: var(--light-blue);
}

.button--outline-on-light:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: white;
}
