* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  --main:rgb(230, 232, 219);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width:100vw;
  min-height: 100vh;
  background-color: var(--main);
}

.section {
  
}

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 6rem;
  /* align-items: center; */
}

.animation-holder {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 600px;
  /* background: black; */
  padding: 2rem;
}

.navbar {
  background-color: rgb(107, 107, 107);
  width: fit-content;
  border-bottom-right-radius: 20px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  transition: all 5s steps(2, end);
  transition: border-bottom-right-radius 200ms ease;
}

.navbar button::after {
  content: "";
  position: absolute;
  transition: all 300ms ease;
  opacity: 0%;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.navbar:hover button::after {
  opacity: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.navbar:hover #home::after {
  content: "georgehearnden";
}
.navbar:hover #about::after {
  content: "bout";
}
.navbar:hover #contact::after {
  content: "ontact";
}
.navbar:hover #work::after {
  content: "ork";
}

.navbar:hover button {
  width: 9.4em;
}

.navbar button {
  transition: all 0.3s ease;
  background-color: transparent;
  border: none;
  color: var(--main);
  font-size: 1.2em;
  padding: 15px;
  text-align: left;
  cursor: pointer;
  width: 3em;
  height: 3em;
  overflow: hidden;
}

.navbar button span {
  transition-delay: 1000ms;
}

.navbar button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar:has(.work-container:hover) {
  border-bottom-right-radius: 0;
}

/* WORK NAV */

.work-container {
  transition: all 600ms ease;
}

.work-container button::after {
  position: absolute;
  content: "";
  transition: all 600ms ease;
  opacity: 0%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.work-container:hover button::after {
  opacity: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.work-container:hover .work-nav {
  width: fit-content;
}

.work-container:hover .work-nav button {
  height: 3em;
}

.work-container:hover #projbtn::after {
  content: "projects";
}

.work-container:hover #musicbtn::after {
  content: "music";
}

.work-container:hover #miscbtn::after {
  content: "misc";
}

.work-nav {
  position: fixed;
  z-index: 10;
  height: fit-content;
  background-color: rgb(92, 92, 92);
  width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  vertical-align: middle;
  border-bottom-right-radius: 20px;

  top: 115px;
  overflow: hidden;
}

.work-nav button {
  transition: all 0.3s ease;
  background-color: transparent;
  border: none;
  color: var(--main);
  font-size: 1.2em;
  padding: 15px;
  text-align: left;
  cursor: pointer;
  width: 0;
  height: 0;
  overflow: hidden;
  position: relative;
}

.work-nav button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.work-nav button span {
  transition-delay: 1000ms;
}

/* PAGE MANAGEMENT */

.category {
  padding-top: 50px;
  color: rgba(108, 97, 97, 0.56);
}

.category:first-of-type {
  margin-top: -50px;
}

.work-header {
  color: rgba(108, 97, 97, 0.56);
  /* padding-bottom: 3rem; */
}

h3.work-header {
  margin-left: 2rem;
  font-size: 4em;
  padding-top: 3rem;
}

.under-header h3 {
  font-size: 2em;
}

h4.work-header {
  margin-left: 4rem;
}

.under-header {
  color: rgba(108, 97, 97, 0.561);
  margin-left: 4rem;
  margin-bottom: 1rem;
}

.work-subheader {
  color: rgba(108, 97, 97, 0.561);
  padding-left: 4rem;
  padding-bottom: 2rem;
  font-size: 1.5em;
}

.bandcamp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-left: 4rem;
  margin-bottom: 2rem;
  /* width: 70%; */
}

.bandcamp-embed {
  width: 100%;
  max-width: 700px; /* optional */
}

.bandcamp-embed iframe {
  width: 100%; /* adjust per embed type */
  aspect-ratio: 1 / 1;
  border: 0;
}

.text {
  /* gap: 1.5rem; */
}

a {
  color:rgb(235, 161, 101)
}

.poster-container .text p {
  padding-left: 0rem;
}

.text p {
  margin-left: 4rem;
  padding-bottom: 1rem;
  width: 50%;
  min-width: 500px;
  color: rgba(52, 47, 47, 0.561);
}

.text p:last-of-type {
  padding-bottom: 1rem;
}

/* 
.bandcampstyle {
  border: 0; 
  width: 80%; 
  aspect-ratio: 9 / 13;
  margin: 0;
} */

.poster-container iframe {
  border:0; 
  width: 100%; 
  aspect-ratio: 16/9;
  max-width: 600px;
}

.poster-container #bodypose {
  aspect-ratio: 12 / 9;
}

.poster-container #py-audio {
  aspect-ratio: 11 / 9;
}

.poster-container {
  width: 70%;
  min-width: 500px;
  height: fit-content;
  margin: 1rem;
  margin-bottom: 2rem;
  margin-left: 4rem;
  /* align-self: center; */
}

.poster-two {
  display:grid; 
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem; 
}

.poster-container h3 {
  color: rgba(52, 47, 47, 0.561);
  padding-bottom: 1rem;
}

.poster {
  width: 100%;
  /* aspect-ratio: 2.1 / 3; */
  object-fit: cover;
  justify-self: center;
  align-self: center;
}

.hori {
  display:grid; 
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(400px, 1fr));
  margin-left: 4rem;

}

.vid-link {
  padding-bottom: 1rem;
}

.reel {
  width: 100%;
  justify-self: left; 
  align-self: left;
}

@media only screen and (max-width: 687px) {
  .bandcamp-grid {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
  }

  .category:first-of-type {
    margin-top: 4rem;
  }

  .navbar button {
    width: 9.4em;
  }

  #home::after {
    content: "georgehearnden";
    opacity: 1;
    clip-path: none;
  }

  #work::after {
    content: "ork";
    opacity: 1;
    clip-path: none;
  }

  .work-nav {
    display: none;
  }
  
  .work-container:hover .work-nav {
    display: none;
    width: 0;
  }

  .page {
    padding: 2rem;
    width: 100%;
  }

  .section {
    width: 80%;
  }

  .poster-container {
    width: 100%;
    min-width: unset;
  }

  .poster-two {
    grid-template-columns: repeat(1, minmax(220px, 1fr));
  }

  .text p {
    width: 100%;
    min-width: unset;
    /* margin-left: 0rem; */
  }

  .work-header {
    margin-left: 2rem;
  }

  .hori {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
  }
}