@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

@media (prefers-color-scheme:light) {
  :root {
    --redtagcolor: #e62113;
  }
}
@media (prefers-color-scheme:dark) {
  :root {
    --redtagcolor: #b3171f;
  }
}
@media (orientation:landscape) {
  :root {
    --tagwidth: 30em;
  }
}
@media (orientation:portrait) {
  :root {
    --tagwidth: 85vw: 
  }
}  
#main {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#name {
  color: var(--blacktextcolor);
  background-color: var(--whitetextcolor);
  border-radius: 4px;
  width: 100%;
  max-width: 80vw;
  min-height: 3em;
  padding: 0;
  font-family: "Permanent Marker", cursive;
  font-size: 3em;
  margin: 0;
  text-align: center;
}
.nametag {
  flex-direction: column;
  background-color: var(--redtagcolor);
  width: var(--tagwidth);
  border: 6px solid var(--whitetextcolor);
  border-radius: 16px;
  padding: 0.5em;
}
#top-text {
  color: var(--whitetextcolor);
  font-size: 4em;
  font-weight: bold;
  font-family: Helvetica, sans-serif;
  margin-bottom: 0;
}
#bottom-text {
  color: var(--whitetextcolor);
  font-size: 1.5em;
  font-family: Helvetica, sans-serif;
  margin-top: 0;
}
.column {
  flex-direction: column;
}