button, p, label, span, a, input {
    font-family: "Maven Pro", sans-serif;
}
body {
    height: 100vh;
    background: linear-gradient(0deg, #b62dff, #2a0aaa);
    background-attachment: fixed;
    text-align: center;
}
#footer{
    width: 90%;
    padding: 1em 3em;
}
footer p {
    padding-top: 0.8em;
    padding-bottom: 0.4em;
}
.copyright p {
    padding: 0.1em;
    font-size: 0.9em;
}
a {
    color: magenta;
}
#tip-jar {
    padding: 0.4em 0.4em 0.8em 0.4em;
}
#bmc-link-button {
    padding-top: 0.4em;
}
#bmc-preview {
    width: 80%;
    opacity: 0.5;
    background-color: lavender;
    margin-top: 0.5em;
    border-radius: 2em;
    box-shadow: 0 1em 2em rgba(27, 8, 53, 0.25);
    object-fit: cover;
}
#bmc-preview:hover {
    opacity: 1;
}
#bmc-preview:active {
    transform: translateY(4px);
}
.wrapper {
    width: 90%;
    max-width: 34.37em;
    background-color: rgba(177, 234, 255, 0.5);
    padding: 3em;
    margin: 20px auto;
    border-radius: 2em;
    box-shadow: 0 2em 3em rgba(27, 8, 53, 0.8);
}
.container {
    position: relative;
    width: 100%;
    height: 100%;
}
.selection-row {
    margin: 0.8em;
}
.options {
    display: inline-block;
}
#timerbg {
    width: 80%;
    height: 8.5em;
    background-color: lavender;
    margin: 20px auto;
    border-radius: 2em;
    border: 3px solid rgb(192, 130, 255);
}
#timer {
    font-family: "Red Hat Mono", monospace;
    font-size: 8em;
    font-weight: 400;
}
input {
    align-self: center;
    width: 3.5em;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 0.5em;
    padding: 0.1em;
}
#ratio {
    width: 2em;
    height: 2em;
    font-size: 2em;
}
#pi-water-wrapper, #pre-infusion-wrapper, #stop-button-wrapper {
    display: none;
}
#pre-infusion-water {
    background-color: lavender;
    width: 2em;
    padding: 0.3em;
    border-radius: 0.5em;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .wrapper {
        font-size: 12px;
    }
    input {
        font-size: 1em;
        width: 3em;
    }
    #ratio {
        width: auto;
        height: 1em;
        font-size: 1em;
    }
}
@media only screen and (max-width: 550px) {
    .wrapper {
        max-width: 28em;
        font-size: 11px;
    }
}
@media only screen and (max-width: 380px) {
    .wrapper {
        max-width: 24em;
    }
}
@media only screen and (max-width: 330px) {
    .wrapper {
        max-width: 22em;
        font-size: 10px;
    }
}