html, body {
    touch-action: none;
}

* {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body {
    width: 100vw;
    height: 100vh;

    margin: 0;

    background: black;
    background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgb(78, 150, 199) 0%);

    color: white;
    font-family: Arial, sans-serif;

    cursor: pointer;
    user-select: none;
}

body p {
    margin: 0;
}

#time {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: min(60vw, 60vh);
}

#controls {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    padding: 8px;
    border-radius: 50em;

    background-color: white;
    backdrop-filter: blur(32px);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

#controls-before {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

#controls-during {
    display: none;
}

.separator {
    width: 4px;
    height: 32px;

    border-radius: 50em;

    background-color: rgba(0, 0, 0, 0.25);
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    padding: 16px;

    border-radius: 50em;

    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.1);

    font-size: 64px;
}

.button img {
    width: 100%;
    height: auto;
}

#warning {
    background-color: #89d768;
}

.warning-off {
    background-color: #d3d3d3 !important;
    opacity: 0.35;
}