:root {
  touch-action: pan-x pan-y;
  height: 100%;
}

@font-face {
  font-family: 'OpenSans Variable';
  src: url('OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
}

html {
  height: 100%;
  overscroll-behavior: none;
}

body {
  font-family: 'OpenSans Variable', sans-serif;
  font-weight: 400;
  background-color: #dddddd;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

h1 {
  font-weight: 700;
  font-size: 5vw;
}

h2 {
  font-size: 4vw;
}

h3 {
  font-size: 3vw;
}

p {
  font-size: 2.5vw;
}

li {
  font-size: 2.5vw;
}

i {
  font-style: italic;
  font-family: Verdana, sans-serif;
  font-size: 95%;
}

.level {
  flex: 0 0;
}

.card {
  margin: 2.5vw;
  background-color: white;
  border-radius: 1vw;
  margin-top: 1vw;
  margin-bottom: 1vw;
  padding: 0;
}

.top {
  margin-top: 3vw;
}

.header {
  background-color: #0d4c80;
  border-radius: 1vw;
}

.header img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2vw;
  padding-bottom: 2vw;
  width: 15%;
}

.content {
  padding: 2vw;
  margin-right: 0;
  flex: 1 1;
}

.overlay {
  position: relative;
  user-select: none;
}

.slots {
  display: flex;
  justify-content: space-around;
  font-size: 20vw;
  font-weight: 900;
  overflow: hidden;
  background-color: white;
  height: 24vw;
  user-select: none;
}

.slot {
  color: #0d4c80;
  padding-right: 4.5vw;
  padding-left: 4.5vw;
  padding-top: 1vw;
  user-select: none;
}

.mask-image {
  width: 100%;
  z-index: 1;
}

.mask {
  position: absolute;
  z-index: 1
}

.box {
  margin-left: 1.3vw;
  margin-right: 1.3vw;
  height: 20vw;
  display: flex;
  align-items: center;
}

.logo {
  width: 11.5vw;
  padding-top: 3vw;
}

.main {
  display: flex;
  flex: 1 0;
}

.info {
  margin-right: 0;
  color: #0d4c80;
}

.year {
  display: none;
}

.image-header {
  display: flex;
  justify-content: center;
  height: 30vw;
}

.img-header {
  max-width: 100%;
  height: 30vw;
}

.slider {
  background-color: #777;
  border-radius: 0.5vw;
  width: 1vw;
  height: 100%;
  margin: auto auto 4vw;
}

.spinner {
  top: 20vw;
  margin: auto;
  width: 6vw;
  height: 0;
}

.cursor {
  top: 0px;
  position: relative;
  background: linear-gradient(0deg, #aaa 0%, #ddd 50%, #aaa 100%);
  border: 0.25vw solid #999;
  border-radius: 0.5vw;
  height: 12vw;
  width: 5.5vw;
  margin: auto;
}

.side {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer {
  margin-bottom: 3vw;
}

.timeline {
  object-fit: contain;
  width: 100%;
  user-select: none;
}

.marker {
  visibility: hidden;
  position: relative;
  top: 3.4vw;
  left: 45.5vw;
  z-index: 1;
  width: 0;
  height: 7.8vw;
}

.date {
  width: 10vw;
  transform: translateX(-50%);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5vw;
  padding-right: 1.5vw;
  font-size: 4vw;
  font-weight: 700;
  border-radius: 0.5vw;
  background-color: #cc0a14;
  color: white;
  user-select: none;
}

.needle {
  transform: translateX(-0.25vw), translateY(0.01vw);
  background-color: #cc0a14;
  width: 0.5vw;
  height: 2.5vw;
}

.hint {
  position: absolute;
  bottom: 5.75vw;
  right: 1.75vw;
  width: 1px;
  height: 1px;
  background-color: black;
  display: none;
}

@keyframes opacity {
  from {
    opacity: 0%;
  }

  to {
    opacity: 100%;
  }
}
