/*** VARIABLES ***/
:root {
  --theme-white: #fafafa;
  --theme-black: #1a1a1a;
  --theme-primary: #37691e;
  --theme-primary-light: #77c400;
  --theme-secondary: #443050;
  --theme-secondary-light: #7d31ff;
  --theme-accent: #ffaa00;
}

html {
  background-color: var(--theme-white);
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-weight: 200;
  font-style: normal;
  color: var(--theme-black);
}
h1 {
  margin: 0;
}
h2 {
  margin: 0;
}
h3 {
  margin: 0 0 0.5em 0;
  font-size: 1.5em;
}
p {
  margin: 0 0 2em 0;
  font-size: 1.125em;
  line-height: 1.33em;
}
a {
  text-decoration: none;
}
a:hover {
  color: var(--theme-primary-light);
}

.flex-row {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.flex-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.full {
  display: block;
  width: 100%;
}
.half {
  display: inline-block;
  width: 49.5%;
}

#mobileMenu {
  display: none;
}
#topMenu {
  position: fixed;
  display: flex;
  height: 5vh;
  top: 0;
  right: 0;
  left: 0;
  padding: 0 100px;
  text-align: right;
  background-color: var(--theme-white);
  font-size: 1em;
  line-height: 0.75em;
  font-weight: 100;
  z-index: 10;
  align-items: center;
  justify-content: flex-end;
}
#topMenu .menu-item {
  display: inline-block;
  width: auto;
  margin: 50px 0 50px 50px;
}
#topMenu .menu-item a {
  display: inline-block;
  text-decoration: none;
  color: var(--theme-primary-light);
  font-weight: 600;
}
#topMenu .menu-item a:hover {
  text-decoration: none;
  color: var(--theme-secondary-light);
  font-weight: 600;
}

#contentWrapper {
  width: 100%;
  overflow: hidden;
}
.width-wrapper {
  margin: 0;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

#hero {
  position: relative;
  height: 66vh;
  margin-top: 34vh;
  text-align: Left;
  color: var(--theme-primary);
}
#greeting {
  margin-left: 20vh;
}
.title {
  font-size: 4em;
  font-weight: 600;
  margin: 0;
  line-height: 0.75em;
}
.title-note {
  display: inline-block;
  margin-top: 2.3vh;
  font-size: 1.5em;
  font-weight: 200;
  line-height: 0.75em;
  color: var(--theme-primary-light);
}
#hero .subtitle {
  margin-top: 4.63vh;
  font-size: 3em;
  font-weight: 600;
  line-height: 0.75em;
}
#heroAngle {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 61.8vh;
}
#heroAngle svg {
  position: relative;
  width: 100%;
  height: 100%;
  fill: var(--theme-primary);
  stroke: var(--theme-primary);
}

#contentBody .title {
  position: absolute;
  display: block;
  top: 95vh;
  left: 0;
  right: 0;
  font-size: 3em;
  align-self: center;
}

section {
  position: relative;
  padding: 9.25vh 0;
  background-color: var(--theme-primary);
  color: var(--theme-white);
}
section.alt {
  flex-direction: row-reverse;
  background-color: var(--theme-white);
  color: var(--theme-black);
}
section::before {
  content: "";
  position: absolute;
  display: block;
  background-color: var(--theme-primary);
  height: 100%;
  width: calc(100vw - 1440px);
  margin-left: calc((100vw - 1440px) * -1);
  margin-top: -9.25vh;
}
section::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: calc((100vw - 1440px) / 2);
  margin-left: 1440px;
  margin-top: -9.25vh;
  background-color: var(--theme-primary);
}
section.alt::before,
section.alt::after {
  display: none;
}
section.secondary-bg::before,
section.secondary-bg::after {
  background-color: var(--theme-secondary);
}
.info {
  display: block;
  width: 50%;
  padding-right: 2.5vw;
}
.info h2,
.info h3,
.info p {
  text-align: right;
}
.section-title {
  font-size: 2.5em;
}
.section-subtitle {
  font-weight: 200;
  font-size: 1.75em;
  margin-bottom: 1.5em;
}
.preview {
  display: flex;
  width: 49%;
  padding-left: 2.5vw;
  flex: 2;
  gap: 10px;
  justify-content: flex-start;
  flex-direction: column;
}
section.alt {
  flex-direction: row-reverse;
}
section.alt .info {
  padding-left: 2.5vw;
}
section.alt .info h2,
section.alt .info h3,
section.alt .info p {
  text-align: left;
}
section.alt .preview {
  padding-right: 2.5vw;
}
.preview .main-image {
  display: flex;
  width: 100%;
  height: 30vh;
  justify-content: center;
  overflow: hidden;
}
.preview .side {
  display: flex;
  width: 100%;
  height: 20vh;
  gap: 10px;
  vertical-align: top;
  justify-content: center;
  flex-direction: row;
}
.side .secondary-image {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

#contentBody .view-more {
  display: block;
  margin: 9.25vh 0;
  text-align: center;
  text-decoration: none;
  font-size: 1.75em;
  font-weight: 500;
  color: var(--theme-primary-light);
}
#contentBody .view-more:hover {
  color: var(--theme-secondary-light);
}

.bio-pic img {
  display: block;
  justify-self: center;
}

#nutshellList {
  position: relative;
  display: grid;
  padding: 2.25em 2.25em 1.125em 2.25em;
  grid-template-columns: 50% 50%;
  grid-auto-rows: auto auto;
  align-content: space-between;
  background-color: var(--theme-secondary);
  color: var(--theme-white);
}
/* FULL BLEED */
#nutshellList::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: calc((100vw - 1375px) / 2);
  margin-left: 680px;
  background-color: var(--theme-secondary);
  z-index: 5;
}
/* OFFSET LINE
#nutshellList::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 1.25em;
  margin-left: 102%;
  background-color: var(--theme-secondary);
  z-index: 5;
} */
.list-block ul {
  padding: 0 0 0 1.125em;
  margin-bottom: 1.125em;
  border-left: solid 1px #7d31ff;
}
.list-block ul li {
  font-size: 1.125em;
  line-height: 1.5em;
  list-style: none;
}

#resumeExperience {
  display: flex;
  margin-left: -15%;
  margin-top: 3em;
  gap: 1.5vw;
}
.summary h3 {
  margin-bottom: 0;
}
.summary h3,
.summary p,
.summary span {
  text-align: right;
  line-height: 1.25em;
}
.company-name {
  margin-bottom: 5px;
  margin-top: 1em;
  font-weight: 500;
}
.position-date {
  margin: 0;
  font-weight: 300;
  color: var(--theme-primary);
}
.position-date span {
  font-weight: 200;
  font-size: 0.875em;
  color: #666666;
}

#resumeThumb .overlay-wrapper {
  position: relative;
  display: block;
  width: 22vw;
}
#resumeThumb .overlay-wrapper:hover::before {
  content: "Click for full-sized resume";
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-top: 55%;
  text-align: center;
  font-weight: 700;
  background-color: #00000080;
  color: #fff;
  z-index: 5;
}
#resumeThumb img {
  position: relative;
  display: block;
  width: auto;
  height: 100%;
}

.highlight {
  position: relative;
  display: flex;
  gap: 2vw;
}
.highlight .img-wrapper,
.highlight-blurb p {
  display: inline-block;
}
.highlight .img-wrapper {
  width: 10%;
  margin-bottom: 2em;
}
.highlight .img-wrapper img {
  width: 100%;
}
.highlight-blurb {
  width: 89%;
}

footer {
  position: relative;
  display: grid;
  height: 115px;
  background-color: var(--theme-primary);
  grid-template-columns: auto 100px auto;
  color: var(--theme-white);
  align-items: center;
}
footer p {
  margin: 0;
}
footer .left {
  grid-column: 1;
}
footer .left p,
footer .left a {
  text-align: right;
  color: var(--theme-white);
}
footer .mid {
  grid-column: 2;
}
footer .mid p {
  text-align: center;
}
footer .right {
  grid-column: 3;
}
footer .right p,
footer .right a {
  text-align: left;
  color: var(--theme-white);
}

footer .right a:hover {
  color: var(--theme-primary-light);
}

/*** RESPONSIVE STYLES ***/
@media (max-width: 1439px) {
  #hero .subtitle {
    width: 360px;
    line-height: normal;
  }
  section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .flex-row {
    gap: 2.5vw;
  }
  .bio-pic img {
    width: 100%;
  }
  #nutshellList::after {
    width: calc((100vw - 42vw) / 2);
    margin-left: 42vw;
  }
}

@media (max-width: 1080px) {
  #greeting {
    margin-left: 5vw;
  }
  p {
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .flex-row {
    flex-direction: column-reverse;
    align-items: center;
  }
  .half {
    display: block;
    width: 100%;
  }
  .flex-row.reverse {
    flex-direction: column;
    align-items: center;
  }
  .flex-row.reverse .half {
    margin-bottom: 1.5em;
  }

  #topMenu {
    display: none;
  }
  #mobileMenu {
    display: block;
  }
  #mobileMenu #menu-btn {
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    margin: 10px;
    background-color: var(--theme-white);
    opacity: 66%;
    z-index: 10;
  }
  #mobileMenu #menu-btn span {
    display: block;
    text-align: center;
    font-size: 1.5em;
    line-height: 1em;
    color: var(--theme-primary);
  }
  #mobileMenu .full-menu {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 25px 0 25px;
    background-color: var(--theme-primary);
    z-index: 9;
  }
  #mobileMenu .full-menu .menu-item {
    display: block;
    width: 100%;
    padding: 25px 50px;
    border-bottom: solid 1px var(--theme-white);
  }
  #mobileMenu .full-menu .menu-item a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.25em;
    font-weight: 300;
    text-align: center;
    color: var(--theme-white);
  }

  #hero {
    margin-top: 10vh;
  }
  #hero .title,
  #hero .title-note {
    width: 100%;
    text-align: center;
    line-height: 1em;
  }
  #hero .subtitle {
    width: 100%;
    line-height: 1em;
    text-align: center;
  }
  #greeting {
    margin: 0 auto;
  }
  #heroAngle svg {
    position: absolute;
    height: 10vh;
    bottom: 0;
  }
  #contentBody .title {
    position: relative;
    line-height: 1em;
    padding: 25px 0;
    top: auto;
    background-color: var(--theme-primary);
  }
  section {
    padding: 3vh;
  }
  .section-title,
  .section-subtitle {
    text-align: center;
    width: 90%;
    margin: 0 auto;
  }
  .section-subtitle {
    margin-bottom: 1.5em;
  }
  section.alt {
    flex-direction: column-reverse;
    align-items: center;
  }
  .info {
    width: 100%;
    padding-top: 5vh;
  }
  section.alt .info h2,
  section.alt .info h3,
  section.alt .info p,
  .info h2,
  .info h3,
  .info p {
    text-align: center;
  }
  .preview {
    width: 100%;
    flex: 2;
    justify-content: flex-start;
    flex-direction: column;
  }
  .preview .side {
    width: 100%;
    height: auto;
    vertical-align: top;
    justify-content: center;
    flex-direction: column;
  }
  .side .secondary-image {
    height: 30vh;
  }

  .bio-pic img {
    width: 90%;
    margin-top: 3vh;
  }

  #nutshellList {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 2.25em 2.25em 1.125em 2.25em;
    background-color: var(--theme-secondary);
    color: var(--theme-white);
  }
  #nutshellList::after {
    display: none;
  }

  #resumeExperience {
    display: flex;
    margin: 0 auto;
    padding-bottom: 1.5em;
    gap: 1.5vw;
    flex-direction: column-reverse;
    align-items: center;
  }
  #resumeExperience p,
  #resumeExperience h3 {
    text-align: center;
  }
  #resumeThumb {
    position: relative;
    margin-bottom: 1.5em;
  }
  #resumeThumb .overlay-wrapper,
  #resumeThumb img {
    width: 100%;
    height: auto;
  }

  .highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    border-bottom: solid 1px;
  }
  .highlight .img-wrapper {
    display: block;
    width: 33%;
  }

  footer {
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: none;
  }
  footer .left p,
  footer .left a,
  footer .right p,
  footer .right a {
    display: block;
    text-align: center;
  }
  footer .left {
    grid-row: 1;
    grid-column: none;
  }
  footer .right {
    grid-row: 2;
    grid-column: none;
  }
  footer .mid {
    display: none;
  }
}

/*** ANIMATIONS ***/
.anim.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.anim.fade-in.visible {
  opacity: 1;
}

.anim.fade-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.anim.fade-right.visible {
  opacity: 1;
  transform: translateX(0px);
}

.anim.fade-left {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.25s ease-out, transform 1.25s ease-out;
}
.anim.fade-left.visible {
  opacity: 1;
  transform: translateX(0px);
}

.anim.slide-right {
  transform: translateX(-100%);
  transition: transform 1s ease-out;
}
.anim.slide-right.visible {
  opacity: 1;
  transform: translateX(0%);
}

.anim.slide-left {
  transform: translateX(100%);
  transition: transform 1s ease-out;
}
.anim.slide-left.visible {
  opacity: 1;
  transform: translateX(0%);
}

.anim.slide-up {
  transform: translateY(100%);
  transition: transform 1s ease-in;
}
.anim.slide-up.visible {
  transform: translateY(0%);
}

@media (max-width: 600px) {
  .anim.slide-up {
    transform: translateY(0%);
  }
}

/*** OVERRIDES ***/
.open {
  display: block !important;
}
.closed {
  display: none !important;
}
.center-text {
  text-align: center;
}
.white-text {
  color: var(--theme-white);
}
.black-text {
  color: var(--theme-black);
}
.primary-text {
  color: var(--theme-primary);
}
.primary-light-text {
  color: var(--theme-primary-light);
}
.secondary-text {
  color: var(--theme-secondary);
}
.secondary-light-text {
  color: var(--theme-secondary-light);
}
.accent-text {
  color: var(--theme-accent);
}
.white-bg {
  background-color: var(--theme-white);
}
.black-bg {
  background-color: var(--theme-black);
}
.primary-bg {
  background-color: var(--theme-primary);
}
.primary-light-bg {
  background-color: var(--theme-primary-light);
}
.secondary-bg {
  background-color: var(--theme-secondary);
}
.secondary-light-bg {
  background-color: var(--theme-secondary-light);
}
.accent-bg {
  background-color: var(--theme-accent);
}
.justify-right {
  justify-content: right !important;
}
