body {
  padding: 0px;
  margin: 0px;
}

main > article,
.content-width {
  max-width: min(90vw, 1000px);
  margin-inline: auto;
  margin-block: 25px;
}

#autodesk-banner,
nav {
  max-width: min(100vw, 1000px);
  margin-inline: auto;
}

#autodesk-banner-wrapper {
  background-color: #f5f5f5;
}

#autodesk-banner img {
  padding: 15px;
  width: 140px;
  height: 23px;
}

.nav-wrapper {
  background-color: #0d0d0d;
}

nav {
  font-family: "Artifakt";

  menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding-inline-start: 0px;
    margin: 0px;
    font-size: 0;

    li {
      display: inline;
      margin-right: -1px;
    }
  }

  a {
    display: block;
    border: none;
    padding: 16px 20px 10px;

    cursor: pointer;
    background-color: inherit;
    color: white;
    border-bottom: 6px solid transparent;

    font-family: "Artifakt";
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;

    &:hover {
      color: #faa21b;
      border-bottom: 6px solid #faa21b;
    }

    &:focus {
      outline: none;
    }
  }
}

main {
  font-family: "Artifakt";

  hgroup {
    h1,
    h2 {
      margin: 0px;

      color: #faa21b;

      font-weight: normal;
    }

    h1 {
      font-size: 33px;
    }

    h2 {
      font-size: 30px;
    }

    p {
      width: 100%;

      color: #7a7d7a;

      line-height: 1em;
      font-weight: normal;
      font-style: normal;
      font-size: 19px;
    }
  }

  a {
    color: #dbae03;
  }
}

.banner {
  position: relative;
  isolation: isolate;
  height: 50vh;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: saturate(90%) brightness(20%) hue-rotate(360deg);
    object-fit: cover;
    background-image: url(/img/banner-image.webp);
    background-position: center;
    background-size: cover;
  }

  .banner-content {
    width: min(90vw, 1000px);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

#page-banner {
  height: 230px;

  &::before {
    filter: none;
  }
}

.overview-banner {
  height: 80vh;

  &::before {
    background-image: url(/img/pages/overview/background.webp);
  }

  .banner-content {
    width: min(90vw, 600px);
    left: 25%;
    transform: translate(-25%, -50%);
  }
}

.button-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;

  background-color: #faa21b;
  color: white;
  border: 1px solid #faa21b;
  transition: ease-in-out background-color 0.5s;

  &:hover {
    background-color: #dd8805;
  }

  font-family: "Artifakt";
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;

  &.button-outline {
    color: white;
    background-color: transparent;
    border: 1px solid white;

    &:hover {
      background-color: #959595;
      background-color: color-mix(in srgb, #959595, transparent 60%);
    }
  }

  &.button-w-icon {
    padding-left: 5px;
    padding-block: 5px;
  }

  .button-icon {
    padding: 5px;
    margin-right: 10px;
    background: white;
  }
}

.card {
  display: inline-block;
  max-width: 250px;
  padding: 10px;
  margin: 10px;

  box-shadow: 0px 0px 2px 1px #e0e0e0;

  .card-banner-image {
    display: block;
    margin: 0 auto;
  }
}

details {
  color: black;
  outline: none;
  border: none;
  border-bottom: 1px solid gray;
  cursor: pointer;

  summary {
    text-align: left;
    font-size: 20px;
    padding: 10px;

    &::marker {
      content: "\02795";
      font-size: 13px;
      float: left;
      margin-right: 10px;
    }
  }

  &[open] summary::marker {
    content: "\2796";
    /* Unicode character for "minus" sign (-) */
  }
}

.split-section {
  display: grid;
  grid-template-areas: "contents aside";
  margin-block: 25px;
  gap: 50px;

  &.split-section-reverse {
    grid-template-areas: "aside contents";
  }

  > .split-section-contents {
    grid-area: contents;
  }

  > aside {
    grid-area: aside;
    align-self: center;
  }

  @media screen and (max-width: 900px) {
    grid-template-areas: "contents" "aside" !important;
    gap: 20px;
  }
}

dt {
  font-weight: 800;
  &::after {
    content: ":";
  }
}

footer {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;

  background-color: #444444;
  color: #ffffff;

  font-family: "Artifakt";
  font-style: normal;
  font-weight: 400;

  a {
    color: #fffbf0;
    text-decoration: none;

    &:hover,
    &:active {
      color: #fffbf0;
    }
  }

  > * {
    max-width: 350px;

    ul {
      list-style: none;
      padding: 0px;

      li {
        border-bottom: solid 2px gray;
        padding: 4px;
        padding-bottom: 8px;
        margin-bottom: 4px;
      }
    }

    .footer-section-title {
      font-weight: bold;
      font-size: 22px;
    }
  }

  @media screen and (max-width: 600px) {
    flex-direction: column;
    padding-inline: auto;
  }
}
