/* General */

body {
    transition: ease-in-out 1s;
}
.dark {
    background-color: #000;
    color: #fff;
}
.visible {
    visibility: hidden;
}
.spacer {
    height: 120px;
}

/* Counter */

.counter-wrap {
    max-width: 600px;
    margin: 0px auto;
    color: #000;
}

.counter-number {
    text-align: center;
    background: #f4faff;
    box-shadow: 2px 5px 8px 2px hsl(220, 2%, 37%), inset 0px 0px 4px #3e85e0;
    border-radius: 2rem;
    width: fit-content;
    margin: 0px auto 2rem;
    padding: 2rem 3rem 0;
}
.counter-number > * {
    margin: 0;
    padding: 0;
}

.counter-value {
    font-size: 8rem;
}

.counter-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.counter-button {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    border-radius: 8pt;
    border: transparent;
    background: #f4faff;
    box-shadow: 1px 3px 4px 1px hsl(220, 2%, 37%), inset 0px 0px 3px #3e85e0;
    transition: cubic-bezier(0.645, 0.045, 0.355, 1) .2s;
}
.counter-button:hover {
    box-shadow: 1px 3px 2px 1px hsl(273, 15%, 49%), inset 0px 0px 5px 2px #c037ff;
    transform: translateY(-4pt);
}
#resetbtn {
    background: rgb(255, 190, 190);
}
#incbtn {
    background: rgb(179, 255, 179);
}

/* Live Input */

.input-wrap {
    max-width: 400px;
    margin: 0px auto;
    text-align: center;
}