* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: linear-gradient(0deg, rgb(52, 26, 122), rgb(66, 162, 252));
    font-family: 'Fira Code', monospace;
    height: 100%;
    color: white;
    text-align: center;
}

main {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-top: 32px;
}

#btns {
    display: flex;
    margin: 0 32px;
}

#btns > div {
    width: 50%;
    text-align: center;
}

.btn {
    border: none;
    outline: none;
    outline-style: none;
    font-family: 'Fira Code', monospace;
    background: transparent;
    color: white;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 22px;
}

.btn[disabled="true"] {
    opacity: 0.5;
}

.hidden-input {
    position: absolute;
    outline: none;
    top: 0;
    left: 0;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

#time-container {
    font-size: 58px;
    display: flex;
    position: relative;
    justify-content: center;
    margin: 32px 0;
    margin-bottom: 48px;
}

#time-container > span {
    margin: 0 1px;
    padding: 0 2px;
}

#time-container > .default {
    opacity: 0.5;
}

#time-container > .digit {
    border-right: 1px solid transparent;
}

#time-container > .cursor {
    border-color: black;
}

/******** Login page ********/
#login {
    display: flex;
    flex-flow: column;
    font-size: 22px;
    margin: 48px 32px;
    margin-bottom: 0;
}

#login * {
    margin: 16px 0;
}

#login input[type="text"] {
    margin-top: 32px;
    font-size: 22px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border: none;
    border-radius: 3px;
    color: white;
    border-bottom: 2px solid transparent;
    letter-spacing: 1px;
    -webkit-appearance: none;
}

#login input[type="text"]:focus {
    border-bottom: 2px solid white;
}

#login input[type="text"]::placeholder {
    font-size: 22px;
    color: white;
}

#login input[type="submit"] {
    padding: 10px;
    -webkit-appearance: none;
    outline: none;
    border: none;
    border-radius: 3px;
    font-size: 22px;
    background: white;
    color: black;
}