@media screen and (max-width: 800px) and (orientation: portrait) {

  .mobile-hide {
    display: none;
  }

  body {
    align-items: flex-start;
  }

  .container {
    max-height: none;
    margin: 2.5% 0 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .container, .container * {
    font-size: 0.95em;
  }

  header {
    height: 7%;
  }

  nav {
    width: 100%;
    height: 13%;
    margin: 0;
    display: flex;
  	flex-direction: row;
  	flex-wrap: wrap;
  	justify-content: space-between;/*x*/
  	align-items: center;/*x*/
  	align-content: space-between;/*y*/
  }

  nav a {
    height: 45%;
  }

  a {
    width: 31%;
    margin: 0;
    height: 40%;
    background-color: rgba(255,255,255,0.5);
  }

  main {
    width: 100%;
    height: auto;
    max-height: 80% !important;
    margin: 2% 0 0 0;
  }

.external-links {
  font-size: 1.1em !important;
  line-height: normal;
}

}
