html {
  font-size: 16px;
}

@media only screen and (max-width: 448px) {
  html { font-size: 10px; }

  .component_label {
    font-size: 0.9em !important;
  }
}

body {
    font-family: "Comfortaa", sans-serif;
    text-align: center;
    margin: auto;
    background: #ebecca;
    color: #212121;
    max-width: 45em;
    height: fit-content;
    height: -moz-fit-content;
    position: absolute;
    left: 0;
    right: 0;
    top: -15%;
    bottom: 0;
    box-shadow: 0 0 6px rgba(190, 106, 165, 0.16), 0 3px 6px rgba(74, 133, 68, 0.23);
    border-radius: 4px;
    padding: 1.5em;
  }

.random {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1em;
  display: inline-block;
  font-style: normal;
  padding: 0.25em;
  margin: 0.25em;
  border-radius: 5px;
  color:#b9b965;
  background: #ffffff;
  border: 1px solid #94944e;
}

a.rand:link {
  background: #ffffff;
  color: #b9b965;
  text-decoration: none;
}

a.rand:visited {
  color: #b9b965;
}

a.rand:hover {
  color: #8f8f0a;
}

a.rand:active {
  color: #94944e;
}

a.rand:focus {
  color: #94944e;
}

.form {
  margin: 0.8em;
  font-family: "Comfortaa", sans-serif;
  text-align: left;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.5em;
  font-style: normal;
  padding: 1.5em;
  background: #b9b965;
}

.form label {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1em;
  font-style: normal;
  padding: 0.25em;
  margin: 0.25em;
  border-radius: 5px;
  border: 1px solid #94944e;
  color: #ffffff;
}

.form .eventtext {
  width: 90%;
}

.form input {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1em;
  font-style: normal;
  padding: 0.25em;
  margin: 0.25em;
  border-radius: 5px;
  color:#b9b965;
  background: #ffffff;
  border: 1px solid #94944e;
}

.form select {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1em;
  font-style: normal;
  padding: 0.25em;
  margin: 0.25em;
  border-radius: 5px;
  color:#b9b965;
  background: #ffffff;
  border: 1px solid #94944e;
}

.until {
  margin: 1em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.5em;
  font-style: normal;
  padding: 1.5em;
  background: #b9b965;
}

.main_event {
  margin: 1em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-family: "Comfortaa", sans-serif;
  font-weight: 900;
  font-size: 1.5em;
  font-style: normal;
  padding: 1.5em;
  background: #b9b965;
}

.event_type {
  grid-column: span 3;
  text-align: center;
  color: #ffffff;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 2em;
  font-style: normal;
  margin-top:0.25em;
  padding: 0.25em;
}

.event {
  grid-column: span 3;
  text-align: center;
  color: #ffffff;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 2em;
  font-style: normal;
  padding: 0.25em;
}

.countdown {
  color:#b9b965;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-size: 5.0em;
  font-weight: 900;
  font-style: normal;
  padding: 0.5em;
}

.date {
  grid-column: span 4;
  text-align: center;
  color: #ffffff;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.2em;
  font-style: normal;
  padding: 1em;
}

.component {
  text-align: center;
  background: #ffffff;
  border-radius: 5px;
}

.number {
  color:#b9b965;
  padding: 0.5em 0;
  font-size: 3em;
  font-weight: 700;
}

.component_label {
  font-size: 1em;
  padding-bottom: 1em;
  font-weight: 700;
  color: #94944e;
}