/* Modify color variables here */
html {
    --background-color: black;
    --button-text-color: white;
    --button-background-color: black;
    --lcd-text-color: black;
    --lcd-background-color: #b5ebff;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
}

h1, p, button {
    font-size: 40px;
    font-weight: bold;
}

button, button:focus, button:hover {
  -webkit-tap-highlight-color: rgba(255,255,255,0) !important;
  outline: none !important;
  -webkit-outline: none !important;
}

svg {
    fill: var(--button-text-color);
}

@keyframes blinking {
    0% {
        background-color: rgba(207, 50, 39, 1);
    }
    50% {
        background-color: rgba(239, 43, 29, 1);
    }
    100% {
        background-color: rgba(207, 50, 39, 1);
    }
}

.wrapper {
    display: grid;
    grid-column-gap: 15px;
    grid-template-columns: 620px 345px;
}

.display {
    display: grid;
    grid-row-gap: 10px;
    grid-template-rows: 350px 110px;
}

.lcd {
    background-color: var(--lcd-background-color);
    border-radius: 10px;
    color: var(--lcd-text-color);
    overflow: hidden;
    padding: 10px;
    box-shadow: inset 0 0 30px rgba(255,255,255,0.5);
}

.lcd p {
    align-items: center;
    display: flex;
    height: 28%;
    margin: 0;
    padding: 0 10px;
    white-space: nowrap;
}

#line4 {
    border-radius: 99999px;
    color: white;
    font-size: 19px;
    height: 12%;
    justify-content: center;
    margin-top: 2%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.lcd p.invert {
    background-color: var(--lcd-text-color);
    color: var(--lcd-background-color);
}

.in-alarm {
    animation: 1.5s ease-in-out 0s infinite normal none running blinking;
    background-color: rgba(239, 43, 29, 1);
}

button {
    align-items: center;
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border: 6px solid var(--button-text-color);
    border-radius: 20px;
    box-shadow: 0 0 10px 0px var(--button-text-color), inset 0 0 10px 0px var(--button-text-color);
    font-size: 50px;
    position: relative;
    overflow: hidden;
    user-select: none;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--button-text-color);
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

button:active::before {
    opacity: 0.3;
}

.cmdBtns {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 147.5px 147.5px 147.5px 147.5px;
    grid-auto-rows: 110px;
}

.cmdBtns button {
    font-size: 32px;
}

.cmdBtns svg {
    height: 60px;
    width: 60px;
}

.keypad {
    display: grid;
    grid-template-columns: 110px 110px 110px;
    grid-gap: 10px;
    grid-auto-rows: 110px;
}
