@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");

body {
  background-color: #261731;
  margin: 0 10%;
}
body * {
  text-align: center;
  color: #dc8add;
  font-family: "Quicksand";
}

/* Remove arrows from number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
/* Fix input text colors for iOS Safari  */
input::placeholder {
  -webkit-text-fill-color: #dc8add;
  opacity: 0.65;
}

.clock-container {
  position: relative;
  float: left;
  width: 40vw;
  text-align: center;
  margin-top: 35vh;
}

.clock {
  display: inline-block;
  background-color: #3b2c45;
  border-radius: 15px;
  padding: 10px 20px;
  /* Remove whitespace between units */
  font-size: 0;
}
.clock * {
  font-family: monospace;
  font-weight: bold;
  font-size: 2rem;
  max-width: 4rem;
  white-space: nowrap;
  background: none;
  outline: none;
  border: none;
}

#ticks {
  max-width: 8rem;
}

@media only screen and (max-width: 1024px) {
  body {
    margin: 10% 7.5%;
  }
  .clock-container {
    width: 100%;
    margin-top: 5vh;
  }
}

@media only screen and (max-width: 600px) {
  .clock * {
    font-size: 1.2rem;
    max-width: 2.4rem;
  }
}
