@import url("../fonts/fonts.css");
@import url("style.css");
body {
  background: #213018 url("/static/emf/img/bg.png");
  background-size: 10%;
  box-sizing: border-box;
  padding: 1em;
  margin: 0;
  height: 100vh;
  display: flex;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  color: #213018;
  font-size: 24pt;
  font-family: Raleway, sans-serif;
  background-color: #afc944;
  padding: 1em;
  box-sizing: border-box;
  border-radius: .5em;
}

#container header {
  display: flex;
  flex-direction: row;
  flex: 2;
  width: 100%;
  text-align: center;
  align-items: center;
  margin-bottom: 0;
}

#container header #logo img {
  width: 12em;
}

#container header #title {
  flex: 1;
  margin-top: auto;
  margin-bottom: auto;
}

#container header #clock {
  width: 2.5em;
  text-align: right;
  font-size: 48pt;
  margin-top: auto;
  margin-bottom: auto;
}

#container #content {
  display: flex;
  flex-direction: column;
  flex-grow: 20;
  flex-basis: auto;
}

#container #content h2 {
  margin: 0;
}

#container #page {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: row;
}

#container #page span {
  flex: 1;
  background-color: #213018;
  margin-left: .5em;
  height: .25em;
  transition: background-color 2s;
}

#container #page span:first-child {
  margin-left: 0;
}

#container #page span.current {
  background-color: #f55089;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.section .item p {
  padding: 0;
  margin: 0 0 .5em 0;
}

.larger {
  font-size: 32pt;
}

.larger li {
  margin-bottom: 1em;
}

/* This is intended to be used when a table has too many rows to fit on the display */
.smaller {
  font-size: 15pt;
}

#title, #content, #page {
  transition: opacity 1s ease-in-out;
}

@media screen and (max-width: 1280px) {
  #logo {
    display: none;
  }
  #clock {
    display: none;
  }
}
