:root {
  --background-color: #000;
  --text-color: #fff;
  --warning-color: #f03;
}

@font-face {
    font-family: 'chivo-regular-webfont';
    src: url('chivo-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'chivo-regular-webfont';
    line-height: 1.5em;
    overflow: hidden;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
}

.hidden {
    display: none !important;
}

.clock {
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    padding: 0;
    font-size: 25vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    -webkit-transition: height 0.2s ease-in-out, font-size 0.2s ease-in-out;
       -moz-transition: height 0.2s ease-in-out, font-size 0.2s ease-in-out;
         -o-transition: height 0.2s ease-in-out, font-size 0.2s ease-in-out;
            transition: height 0.2s ease-in-out, font-size 0.2s ease-in-out;
}

.maximized .clock {
    height: 95%;
    font-size: 30vw;
}

.separator {
    position: relative;
    top: -0.08em;
}

.menu {
    position: fixed;
    left: 0;
    top: 70%;
    width: 100%;
    height: 30%;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    -webkit-transition: top 0.2s ease-in-out;
       -moz-transition: top 0.2s ease-in-out;
         -o-transition: top 0.2s ease-in-out;
            transition: top 0.2s ease-in-out;
}

.maximized .menu {
    top: 100%;
}

.menu div {
    box-sizing: border-box;
    min-width: 3em;
    min-height: 3em;
    padding: 1em;
    margin: 0 5vw;
    font-size: 2em;
    text-align: center;
    cursor: pointer;
    -webkit-border-radius: 1.5em;
       -moz-border-radius: 1.5em;
            border-radius: 1.5em;
}

.almostTime .clock {
    color: var(--warning-color);
}

.timeIsUp {
    background-color: var(--warning-color);
}

.timeIsUp div {
    color: var(--background-color);
}