:root {
  --tab-height: 5dvh;
  --header-height: 15dvh;
  --timer-height: 65dvh;
  --footer-height: 15dvh;
}
header {
  height: var(--header-height);
  padding: 0 3dvw;
}
main {
  height: var(--timer-height);
}
footer {
  height: var(--footer-height);
  padding: 0 3dvw;
}

body {
  background-color: black;
  color: rgba(255, 255, 255, 0.4);
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  font-size: 2dvh;
  font-family:
    'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

header,
main,
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.tab {
  overflow: hidden;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  height: var(--tab-height);
}

.tab button {
  background-color: #666;
  float: left;
  border: none;
  border-right: 1px solid #000;
  outline: none;
  cursor: pointer;
  color: #bbb;
  padding: 0;
  transition: 0.3s;
  flex: 1;
  text-align: center;
  font-size: 1.5dvh;
}

.tab button:hover {
  box-shadow: 0 0 50dvw 30dvh rgba(0, 0, 0, 0.1) inset;
}

.tab button.current {
  color: #ccc;
  background-color: black;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 30dvw;
}
.current-time {
  margin-bottom: 2dvh;
}

#CustomRemaining {
  cursor: pointer;
}
