body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100svh;
  margin: 0;
  font-family: "Geist", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #101820;
  color: #fcf6f5;
  text-align: center;
  position: relative;
}
.date-container {
  float: left;
  margin: 1.5rem; /* fallback */
  line-height: 0.8;
}
.date-container .number-value {
  font-family: "Geist Mono", sans-serif;
  font-weight: 600;
  font-size: 4rem; /* fallback */
}
.date-container .label {
  font-size: 1.3rem; /* fallback */
  font-weight: 400;
}
.action-icons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
.action-icons div {
  display: inline;
  margin-left: 4px;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  color: #fcf6f5;
}
.modal-content {
  background: #333333;
  padding: 20px;
  border-radius: 8px;
}
.modal-content label {
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1;
}
.modal-content input,
.modal-content select {
  width: auto;
  padding: 8px;
  margin-bottom: 20px;
  cursor: pointer;
}
.modal-content button {
  padding: 10px 20px;
  background: #fcf6f5;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.modal-content button:hover {
  background: #e8e2e1;
}
.modal-content input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: none;
}
.modal-content input[type="color"]::-webkit-color-swatch {
  border-radius: 15px;
  border: none;
}
.modal-content input[type="color"]::-moz-color-swatch {
  border-radius: 15px;
  border: none;
}
.modal-content input[type="checkbox"] {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 5px;
  border: 2px solid #555;
  vertical-align: middle;
}
.apply-settings-row {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.apply-settings-column {
  display: flex;
  flex-direction: column;
}
.hidden {
  display: none;
}
@media only screen and (max-width: 770px) {
  .compact-view {
    margin: 8vmin;
  }
  .compact-view .number-value {
    font-size: 28vmin;
  }
  .compact-view .label {
    font-size: 6vmin;
  }
}
@media only screen and (min-width: 771px) {
  .compact-view {
    margin: 12vmin;
  }
  .compact-view .number-value {
    font-size: 40vmin;
  }
  .compact-view .label {
    font-size: 6vmin;
  }
}
.full-view {
  margin: 4vmin;
}
.full-view .number-value {
  font-size: 13vmin;
}
.full-view .label {
  font-size: 4vmin;
}
.firework,
.firework::before,
.firework::after {
  --top: 60vh;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5vmin;
  aspect-ratio: 1;
  animation: firework 2s infinite;
}
.firework::before {
  transform: translate(-50%, -50%) rotate(25deg) !important;
}
.firework::after {
  transform: translate(-50%, -50%) rotate(-37deg) !important;
}
@keyframes firework {
  0% {
    transform: translate(-50%, 60vh);
    width: 0.5vmin;
    opacity: 1;
  }
  50% {
    width: 0.5vmin;
    opacity: 1;
  }
  100% {
    width: 45vmin;
    opacity: 0;
  }
}
