html, body {
  background-color: #A6ADB8;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lexend', system-ui, sans-serif;
  color: #D9D9D9;
  height: 180vh;
  font-size: max(2.5vh, 14px);
  position: relative;
}

svg {
  fill: currentColor;
}

.wrapper {
  margin: 0 auto;
  padding: 0 max(2vh, 12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: max(8vh, 48px);
  background-color: rgba(0,0,0,0.4);
  z-index: 2;
  h1 {
    margin: 0;
    padding: 0;
  }
  a, abbr[title] {
    color: #D9D9D9;
    text-decoration: none;
    transition: color 0.2s;
    &:hover {
      color: white;
    }
  }
  nav {
    ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #A6ADB8;
  position: relative;
  overflow: hidden;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background-image: linear-gradient(to bottom, #A6ADB8 0%, #A6ADB8 80%, #8A9477 82%, #778362 86%, #778362 100%)
  }
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, #A6ADB8 0%, #A6ADB8 82.5%, #8A9477 83.5%, #778362 91%, #778362 100%)
  }
  img {
    margin: 10vh auto 0;
    height: 90vh;
    position: relative;
    z-index: 1;
  }
}

footer {
  height: 10vh;
  background-color: #778362;
  color: #D9D9D9;
  position: relative;
  p {
    margin: 0 6vh;
    flex: 1 1 auto;
    margin-right: 10vh;
    line-height: 1.5em;
    font-size: min(2vh, 24px);
  }
  nav {
    position: fixed;
    right: 8vh;
    bottom: 0;
    z-index: 2;
    ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      li {
        margin: 0;
        padding: 0;
        a {
          display: block;
          color: #D9D9D9;
          background-color: rgba(0,0,0,0.4);
          transition: background-color 0.2s;
          padding: 2vh;
          &:hover {
            background-color: rgba(0,0,0,0.6);
          }
          svg {
            width: 4vh;
            display: block;
          }
        }
      }
    }
  }
}

aside {
  min-height: 90vh;
  background-color: #778362;
  position: relative;
  overflow: hidden;
  section {
    background-color: #D1CECB;
    color: #1E1E1E;
    min-height: 62vh;
    margin: 10vh 8vh 0;
    padding: 8vh;
    display: flex;
    flex-direction: column;
    div {
      flex: 1 1 0;
      display: flex;
      h2 {
        flex: 0 0 1;
        margin: 0;
        font-size: min(9vh, 70px);
        font-weight: 900;
        min-width: max(30vh, 300px);
      }
      p {
        flex: 1 1 auto;
        margin: 0;
        padding: 0.5vh 2vh 4vh 5vh;
        line-height: 2em;
      }
    }
  }
}

@media (orientation: portrait) {
  aside section div {
    flex-direction: column;
    h2, p {
      flex: 1 1 auto;
      padding: 0;
      margin: 2vh 0;
    }
  }
}