:root {
  --cornsilk: #fefae0;
  --cornsilk-oversaturated: #f9cc8d;
  --pakistan-green: #283618;
  --dark-moss-green: #606c38;
  --penn-blue: #041141;
  --penn-blue-light: #071f73;
  --russia-violet: #300543;
  --russia-violet-light: #560b76;
  --earth-yellow: #dda15e;
  --tiger-eye: #bc6c25;
  --syracuse: #cf7729;
  --russet: #766459;
  --auburn: #9d3526;
  --amaranth-purple: #cd2d55;
  --loyola: #b92929;
}
.filter {
  visibility: hidden;
  display: none;
  height: 0px;
}
.svg-paint-filter {
  filter: url(#painterly);
}
.painted-texture {
  background-image: url(texture-2-60.webp);
  background-size: cover;
  background-repeat: repeat-y;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.test {
  height: 100%;
  width: 100%;
}
.mobile {
  display: none;
}
body {
  background-color: var(--cornsilk);
}
header {
  color: var(--cornsilk);
  height: 10dvh;
  height: 20dvh;
  width: 95%;
  margin: auto;
  margin-top: 5dvh;
}
header .svg-paint-filter,
header .svg-paint-filter .painted-texture {
  height: 100%;
  background-color: var(--penn-blue);
}
.navbar {
  top: 8dvh;
  width: 90%;
}
.navbar-brand {
  color: var(--cornsilk);
  font-size: 1.2rem;
  margin-right: 0rem;
}
.navbar-brand .light {
  font-weight: 300;
  font-style: oblique;
  font-size: 1rem;
}
.navbar-toggler {
  color: var(--cornsilk);
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='cornsilk' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.slideout-menu {
  position: fixed;
  top: 5%;
  right: 5%;
  max-width: 50vw;
  width: 360px;
  min-height: 300px;
  max-height: 50vh;

  background: var(--cornsilk);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
}

.slideout-menu .navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.slideout-menu.show {
  transform: translateX(0);
}

body.offcanvas-open {
  overflow: hidden;
}
#menuClose {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1060; /* slightly above the rest of the menu content */
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background-color: rgba(184, 184, 184, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1040; /* below the menu (1050) but above page content */
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}
.about {
  width: 80%;
  color: var(--penn-blue);
}
.about h1 {
  color: var(--tiger-eye);
}
.about .bold {
  font-weight: 500;
}
.about h2 {
  font-size: 1.4rem;
  color: var(--russia-violet);
}
.about h3 {
  font-size: 1.3rem;
  color: var(--amaranth-purple);
}
#headshot img {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
#headshot .paint-strip {
  height: 2rem;
  width: 100%;
  background-color: var(--pakistan-green);
}
.keyword {
  font-weight: 600;
}
.orange {
  color: var(--syracuse);
}
.red {
  color: var(--loyola);
}
.purple {
  color: var(--russia-violet-light);
}
.green {
  color: var(--dark-moss-green);
}
.pink {
  color: var(--amaranth-purple);
}
.psychodynamic {
  position: relative;
  width: 100dvw;
  max-width: 100dvw;
  background-color: var(--dark-moss-green);
  color: var(--cornsilk);
}
.psychodynamic .painted-texture {
  height: 100%;
}
.psychodynamic .text {
  width: 80%;
  margin: auto;
}
.psychodynamic .text h1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.psychodynamic .text h3 {
  margin-top: 3rem;
}
#psychodynamic .paint-strip {
  height: 1rem;
  width: 100%;
  background-color: var(--earth-yellow);
}
#psychodynamic .paint-strip#pink {
  background-color: var(--amaranth-purple);
}
@media (max-width: 400px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .slideout-menu {
    padding: 1.5rem;
  }

  .slideout-menu .navbar-nav {
    font-size: 1.1rem;
    gap: 1rem;
  }
  header .svg-paint-filter,
  header .svg-paint-filter .painted-texture {
    height: 17dvh;
  }
  .navbar {
    top: 5dvh;
    width: 100%;
  }
}
@media (min-width: 401px) and (max-width: 768px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .navbar {
    top: 6dvh;
    width: 100%;
    height: 0rem;
  }
  header .svg-paint-filter,
  header .svg-paint-filter .painted-texture {
    height: 15dvh;
  }
}
