@import url(https://fonts.googleapis.com/css2?family=Manufacturing+Consent&display=swap);

:root {
  --itw-color-dark-1: #000000;
  --itw-color-light-1: #dddddd;

  --itw-font-normal: "Times New Roman", serif;
  --itw-font-strong: "Manufacturing Consent", "Times New Roman", serif;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: var(--itw-color-light-1);
  display: flex;
  flex-flow: column;
}

* {
  color: var(--itw-color-light-1);
}

a {
  cursor: pointer;
  text-decoration: none;
}

.aboutpage__photo {
  width: 26vw;
  float: right;
  margin-left: 8px;
  margin-bottom: 16px;
}

.aboutpage__text {
  font-family: var(--itw-font-normal);
  font-size: 1.25em;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -10;
}

.dualcolumn {
  display: flex;
  flex-wrap: wrap;
}

.dualcolumn>* {
  max-width: 50%;
  width: 100%;
}

.footer {
  width: auto;
  background-color: var(--itw-color-dark-1);
  padding: 10px;
}

.footer__content {
  display: flex;
  flex-direction: row-reverse;
}

.header {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  background-color: var(--itw-color-dark-1);
  text-transform: uppercase;
  font-family: var(--itw-font-strong);
}

.header__item {
  align-content: center;
}

.header__links {
  overflow: hidden;
  transition: max-height 150ms;
}

.header__logo {
  height: 120px;
  pointer-events: none;
}

.header__menu-btn {
  display: none;
  height: 7vh;
  cursor: pointer;
  position: absolute;
  right: 7vw;
}

.header__menu-btn>img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(37%) hue-rotate(155deg) brightness(94%) contrast(84%);
  height: 100%;
  width: auto;
}

.header__row {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10vw;
  font-size: 1.5em;
}

.icon {
  height: 100%;
}

.mainbody {
  overflow-y: auto;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.mainbody__content {
  background-color: var(--itw-color-dark-1);
  width: auto;
  margin: 8px;
  flex-grow: 1;
}

.navbar__link {
  height: 3em;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  gap: 0.5em;
  align-content: center;
  align-items: center;
}

.navbar__link>img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(37%) hue-rotate(155deg) brightness(94%) contrast(84%);
  height: 50%;
}

.centerfocused {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
}

.page__content {
  display: none;
}

.page__content--visible {
  display: block;
}

.page__header {
  text-align: center;
}

h1.page__header {
  font-family: var(--itw-font-strong);
  font-size: 3em;
}

h2.page__header {
  font-size: 2em;
}

.sidebar {
  background-color: var(--itw-color-dark-1);
  width: 15vw;
  display: none;
}

@media screen and (max-width: 900px) {
  h1.page__header {
    font-size: 2em;
  }

  .aboutpage__photo {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }

  .aboutpage__text {
    text-align: center;
  }

  .header__links {
    flex-direction: column;
    max-height: 0;
  }

  .header__links--revealed {
    max-height: 500px
  }

  .header__logo {
    height: 15vh;
  }

  .header__menu-btn {
    display: block;
  }
}
