/* Global styles */
:root {
    --primary: #6c5ce7;
}

* {
    font-family: "Lato", sans-serif;
    transition: 1s opacity;
}

hr {
    margin-bottom: 0;
}

.navbar {
    min-height: 5rem;
}

.container {
    margin-bottom: 16px;
}

.input {
    width: min(40vw, 16em);
}

.button {
    margin: auto;
    margin: 0 0.5em;
    user-select: none;
}
.num-button {
    border: 3px solid rgba(0, 0, 0, 0.65);
    margin-bottom: 0.5em;
    /** max-width: min(40vw, 100%);*/
}
.num-button:hover {
    border: 3px solid rgba(0, 0, 0, 1);
    background-color: rgba(200, 200, 255, 0.25);
}

@media (max-width:500px) {
    .num-button {
        font-size: 16px !important;
    }
}

.answer-buttons {
    display: flex;
    justify-content: center;
}

.button-container {
    display: flex;
    flex-direction: column;
}

.button.is-primary {
    background: var(--primary);
}

.button.is-primary:hover {
    background: hsl(247, 84%, 63%);
}

/* Helper styles */

.icon-padding-left {
    margin-left: 0.5rem;
    color: #212121;
}

.icon-padding-right {
    margin-right: 0.5rem;
}

/* Featured styles */

.featured {
    padding: 4rem 0;
}
.featured .level {
    padding-bottom: 1rem;
    border-bottom: 1px solid lightgrey;
}
.featured .level-item h2 {
    color: var(--primary);
    font-weight: 600;
}
.featured article .subtitle {
    margin-top: 1rem;
    color: #212121;
}

/* Categories styles */

.category {
    margin-top: 2rem;
}

.category span {
    opacity: 0.5;
    font-size: 1rem;
    margin-left: 1rem;
    font-weight: 400;
}

.category ul {
    list-style: none;
    padding: 0;
}

.category li {
    padding-top: 1rem;
}

.category .category-more {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-top: 1rem;
}

/* Footer styles */

.footer {
    margin-top: 5rem;
    background: white;
    border-top: 1px solid var(--primary);
}
.footer .links {
    display: flex;
    justify-content: center;
}
.footer .links a {
    margin: 0 1rem;
}
#resultArea, #entryArea, #thankArea, #thankArea2, #tryAgainArea {
    visibility: hidden;
    opacity: 0;
}
.resultMessage {
    font-size: 2rem;
}
.resultMessage2 {
    margin-bottom: 3rem;
}
