.headerContainer {
  display: flex;
  flex-direction: row;
  padding-bottom: calc(24rem / 16);
  border-bottom: calc(1rem / 16) solid var(--border);
  margin-bottom: calc(46rem / 16);
}

.nav {
  display: none;
}

.headerTextContainer {
  margin: auto 0 0 0;
}

.header {
  color: var(--primary-title);
  font-size: calc(48rem / 16);
  margin: 0 calc(53rem / 16) 0 0;
}

.subheading {
  color: var(--primary-heading);
  font-size: calc(36rem / 16);
  font-weight: 600;
  padding-bottom: calc(22rem / 16);
  border-bottom: calc(1rem / 16) solid var(--border);
  margin-bottom: calc(46rem / 16);
  margin-top: calc(86rem / 16);
}

.codey {
  width: calc(360rem / 16);
}

.execs {
  display: flex;
  flex-direction: column;
  gap: calc(26rem / 16);
  margin-bottom: calc(86rem / 16);
}

.members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(100rem / 16), 1fr));
  row-gap: calc(43rem / 16);
  column-gap: calc(53rem / 16);
  justify-items: center;
}

.elections {
  margin: 6rem 0;
}

.electionSubheading {
  color: var(--primary-accent);
  font-size: calc(36rem / 16);
  font-weight: 600;
  margin-top: 0;
}

@media only screen and (max-width: calc(768rem / 16)) {
  .headerContainer {
    flex-direction: column-reverse;
    padding-bottom: 1rem;
    margin-top: calc(30rem / 16);
  }

  .nav {
    margin-top: calc(24rem / 16);
    margin-bottom: calc(46rem / 16);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .codey {
    width: calc(140rem / 16);
    align-self: center;
  }

  .header {
    font-size: calc(24rem / 16);
    margin: calc(10rem / 16) 0 0 0;
    text-align: center;
  }

  .subheading {
    font-size: calc(24rem / 16);
    padding-bottom: calc(15rem / 16);
  }

  .execs,
  .members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(130rem / 16), 1fr));
    justify-items: center;
    column-gap: 0;
  }

  .electionSubheading {
    font-size: calc(24rem / 16);
  }
}
