﻿header {
  height: 100px;
  background-color: var(--alt-background);

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

main {
  min-height: calc(100vh - 120px - 80px);
  width: 90vw;
  max-width: 1600px;

  justify-self: center;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;

  padding-bottom: 30px;
}

.body {
}

footer {
  height: 80px;
}

.docsWrapper {
  align-self: start;
  justify-self: center;

  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;

  padding-top: 30px;
}

.docsExplorer {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;

  flex: 2;
}

.docsBody {
  flex: 8;
  margin-left: 30px;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
}

.headerLogo {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  margin-left: 20px;
}

.headerLogo > img {
  max-height: 60%;
}

.trayWrapper {
  display: none;
}

.headerLink {
  margin-right: 30px;
  color: var(--alt-text);
  text-underline-offset: 3px;
  font-size: 20px;
}

.trayWrapperLink {
  margin-right: 30px;
  text-underline-offset: 3px;
  color: black;
  font-size: 20px;
  margin-left: 10px;
}

.docsBody h1{
  text-align: center;
}

@media (max-width: 1200px) {
  .trayWrapper {
    position: sticky;
    top: 10px;

    padding: 10px;
    /*margin: -25px;*/

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    border-radius: 10px;

    background-color: var(--foreground);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  }

  .openTrayBtn {
    place-self: end;

    padding: 10px 20px;
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;

    font-weight: bold;
  }

  .docsExplorer {
    z-index: 1;
    position: fixed;
    top: 110px;
    left: -300px;

    max-height: calc(100vh - 100px);

    border-radius: 0 10px 10px 0;

    padding-top: 20px;
    padding-bottom: 50px;
    padding-right: 20px;
    background-color: var(--alt-background);

    transition-duration: 400ms;
  }

  .docsExplorerOpen {

    left: 0;
  }

  .docsBody {
    margin-left: 0;
  }
}
