@font-face {
  font-family: "body-font";
  src: url("../static/fonts/Neuton-Regular.ttf") format("truetype");
  font-weight: 300;
}

:root {
  --main: #0d2046;
  --light: #e2e6ee;
  --accent: #6f6f6f;
  --bg: #988484;
  --black: #292929;
  --width-mode: auto;
  --border-style: thin solid var(--main);
  --radius-amount: 1px;
}


body {
  display: flex;
  flex-direction: column;
  align-items: center;

}
#content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}

.revealable {
  visibility: hidden;
}

#choice {
  height: 90vh;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
}

#choice>button {
  align-self: center;
  width: 100%;
}

.info {
  display: flex;
  flex-direction: row;
  width: 80%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

}

#left-item {
  --shadow-color: red;
}


#right-item {
  --shadow-color: blue;
}

#date-diagram {
  --shadow-color: none;
}

.info>div,
#date-diagram {
  margin: 1em;
  padding: .5em;
  border: solid var(--main) thin;
  width: 25em;
  height: 10em;
  border-radius: 1%;
  box-shadow: .5em .5em 0em var(--shadow-color);
}

.info>div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.name {
  font-size: xx-large;
  line-height: 1em;
}

.details {
  font-size: small;
  align-self: flex-end;
}

.date {
  align-self: center;
  font-style: italic;
  background-color: var(--shadow-color);
  color: white;
  padding: .5em;
  border-radius: 1%;
}

#banner {
  font-size: large;
}


button {
  font-variant: small-caps;
  font-size: large;
  margin: .25em;
  height: 5em;
  width: 5em;
  padding: 1em;
}

canvas {
  width: 70%;
  height: 10%;
}

svg {
  display: flex;
  max-width: auto;
}

.svg-text {
  text-align: center;
  text-anchor: middle;
  dominant-baseline: middle;
  font-size: .75em;
}

#score {
  border: solid var(--main) thin;
  border-radius: 1%;
  padding: .25em .5em;
  margin: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.small {
  font-size: .5em;
}

#about{
  padding: 1em;
}

#about-link{
  cursor: pointer;
  text-decoration: underline solid 1px black;
}

.hidden{
  display: none !important;
}

.discreet{
  color: var(--accent);
}

@media (max-width: 1250px) {
  .info {
    width: 100%;
  }
  .info>div{
  box-shadow: .1em .1em 0em var(--shadow-color);
  }
  #score,#content,.info>div{
    margin: .1em;
  }
  .info>div,#date-diagram{
    height: 8em;
  }
  .date{
    padding: .25em;
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.12);
  }


  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  30% {
    transform: rotate(10deg);
  }


  50% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}