@import url("../fonts/fonts.css");
@import url("style.css");
body {
  min-height: 100%;
  background-color: #afc944;
  color: #213018;
  font-size: 12pt;
  font-family: Raleway, sans-serif;
  margin: 2em;
}

a:link, a:visited, a:hover {
  color: #213018;
}

header {
  margin-bottom: 2.5%;
}

header div {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

header div .logo {
  max-width: 20em;
  flex: 2;
}

header div h1 {
  text-align: center;
  font-size: 2.5em;
  flex: 7;
  margin-top: 0;
}

header div .status {
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  text-align: center;
}

header div .status h2 {
  background: #afc944;
  color: #213018;
  border-radius: 0.25em;
  border: 2px solid #213018;
  padding: .25em .5em;
  margin: 0;
}

header div .status.closed h2 {
  background-color: #afc944;
  columns: #213018;
}

header div .status.open h2 {
  background-color: #213018;
  color: white;
}

header div .status p {
  margin: 1em 0 0 0;
}

.split {
  display: flex;
}

.split > div {
  flex: 1 1 auto;
  width: 50%;
  margin: 0 1em;
}

.split > div .align-bottom {
  margin-top: auto;
}

.split > div:first-child {
  margin-left: 0;
}

.split > div:last-child {
  margin-right: 0;
}

.alert-block {
  background-color: #F9E200;
  padding: 1em;
}

@media screen and (max-width: 1024px) {
  header div .logo {
    max-width: 10em;
    flex: auto;
  }
  table tbody .stock {
    text-align: center;
  }
  table tbody .stock .text {
    display: none;
  }
  table tbody .stock .orb {
    width: 1em;
    height: 1em;
    margin-bottom: -0.1em;
    border-radius: 1em;
  }
}

@media screen and (max-width: 768px) {
  header div {
    flex-direction: column;
    align-items: center;
  }
  header div .logo {
    max-width: 15em;
  }
  header div h1 {
    margin-top: .7em;
    width: 100%;
  }
  header div .status {
    align-items: center;
  }
  .split {
    display: block;
  }
  .split > div {
    width: 100%;
    flex: unset;
    margin: 0;
  }
}
