* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  color: #D7A74A;
  transition: 0.4s;
}

.w {
  width: 120rem;
  padding: 0 3.625rem;
  margin: 0 auto;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background-color: #181b2a;
  overflow-x: hidden;

  background-image: url(../images/noise.png);
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6.5rem;
  background-color: #181b2a;
  background-image: url(../images/noise.png);
  border-bottom: #d8aa50 1px solid;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 17vw;
}

@media only screen and (max-width: 1400px) {
  nav ul {
    padding-left: 13vw;
  }
}

@media only screen and (max-width: 1000px) {
  nav ul {
    padding-left: 7vw;
  }
}

nav li {
  margin-bottom: 0;
}

header nav a {
  color: #fff;
  margin: 0 1.25rem;
  font-family: 'Source Sans 3', sans serif;
  font-weight: 400;
  opacity: 1;
}

.navToggle {
  display: none;
}

/* Hamburger menu */
/* from: https://www.youtube.com/watch?v=8QKOaTYvYUA&t=408s&ab_channel=KevinPowell */
@media only screen and (max-width: 720px) {
  header {
    width: 100%;
    z-index: 999;
  }

  header .wrapper img {
    margin: auto;
    width: 70px;
    padding-left: 36vw;
  }

  .navToggle {
    display: none;
  }

  .navToggleLabel {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .navToggleLabel span,
  .navToggleLabel span::before,
  .navToggleLabel span::after {
    display: block;
    background: #d8aa50;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
  }

  .navToggleLabel span::before,
  .navToggleLabel span::after {
    content: '';
    position: absolute;
  }

  .navToggleLabel span::before {
    bottom: 9px;
  }

  .navToggleLabel span::after {
    top: 9px;
  }

  nav {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    display: grid;
    /* grid-template-column;
    repeat(3, 0.2fr); */
    position: absolute;
    text-align: left;
    top: 100%;
    background: #242b47;
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 200ms ease-in-out;
  }

  nav ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  nav li {
    margin-bottom: 1.5em;
    margin-left: 10vw;
  }

  nav a {
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 50ms ease-in-out;
  }

  .navToggle:checked~nav {
    transform: scale(1, 1);
  }

  .navToggle:checked~nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 100ms
  }
}

.button {
  display: block;
  background-color: #D7A74A;
  color: #fff;
  font-family: "Source Sans 3", sans serif;
  font-size: 1.1rem;
  font-weight: 400;

  width: 7.5rem;
  line-height: 3.125rem;
  text-align: center;
  margin-right: 20px;
}

@media only screen and (max-width: 500px) {
  .button {
    font-size: 0.9rem;
    font-weight: 400;

    width: 5.5rem;
    line-height: 2.5rem;
  }
}

.button:hover {
  background-color: #b58a36;
  transition: 0.4s;
}

.designprocessbutton {
  display: block;
  background-color: #D7A74A;
  color: #fff;
  font-family: "Source Sans 3", sans serif;
  font-size: 1.25rem;
  font-weight: 400;

  width: 12rem;
  line-height: 3.125rem;
  text-align: center;
}

.designprocessbutton:hover {
  background-color: #b58a36;
  transition: 0.4s;
}


header .logo {
  width: 6.5rem;
  margin-left: 30px;
}

/* ======================= HERO ====================== */

main .banner {
  border-bottom: #d8aa50 1px solid;
}

main .banner .wrapper {
  width: fit-content;
  padding-left: 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .banner h1 {
  max-width: 35rem;
  margin-bottom: 0.75rem;
}

main .banner .bannerText {
  padding: 4rem 1.5rem;
}

main .banner .bannerText .paragraph {
  margin-top: 2rem;
  max-width: 33rem;
}

main .banner .bannerImg {
  display: block;
  min-width: 200px;
  align-self: flex-end;
}

main .banner .bannerImg img {
  width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 990px) {
  main .banner .wrapper {
    box-sizing: border-box;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ======================= REFLECT ====================== */

main .reflect {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 10vw 0;
  position: relative;
  margin: 0 0 0 10vw;
}

main .reflect .text {
  padding: 1rem 4rem 0 2rem;
}
main .reflect p.title {
  color: #4A5894;
  margin-bottom: 3vw;
  font-style: italic;
}

main .reflect p {
  color: #C5CBEA;
  font-size: clamp(1rem, 1vw + 1rem, 2rem);
  line-height: 2rem;
  margin-bottom: 3vw;
}

main .reflect .image {
  width: 50%;
  padding-bottom: 2rem;
}

main .reflect .image img {
  display: block;
  width: 100%;
}

@media only screen and (max-width: 1100px) {
  main .reflect {
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 1rem 0 1rem;
  }

  main .reflect .image {  
	  width: 95%;
	}
	
  main .reflect img {
    width: 100%;
	jusify-content: center;
	/* margin-left: 2rem;
	margin-right: 2rem; */
    padding-bottom: 1rem;
  }
}


@media only screen and (max-width: 750px) {
  main .reflect {
    margin: 0 1rem 0 1rem;
  }
	
  main .reflect .text {
    padding: 1rem 3rem 0 0rem;
  }
	
}

/* ======================= PROGRAM ====================== */

main .program {
  position: relative;
  width: fit-content;
  margin: 0 4rem 0 4rem;
}

main .program .title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

main .program .title .titleLeft h2 {
  margin-bottom: 1rem;
  margin-right: 25vw;
}


main .program .title .titleRight {
  /* White with 80% opacity */
  color: #ffffff93;
  padding-top: 1rem;
  max-width: 30vw;
}

main .program .cardWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8rem;
}

main .program .cardWrapper .card {
  width: 32%;
}

main .program .cardWrapper .card img {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}

main .program .cardWrapper .card h3 {
  color: #f5f5f5;
  text-align: center;
  margin-bottom: 1rem;
}

main .program .cardWrapper .card p {
  color: #f5f5f5;
  text-align: center;
}

@media only screen and (max-width: 1000px) {
  main .program .title .titleLeft h2 {
    margin-bottom: 2rem;
    margin-right: 2rem;
  }

  main .program .title .titleRight {
    max-width: 50vw;
  }

  main .program .cardWrapper .card h3 {
    margin-bottom: 0.3rem;
  }
}

@media only screen and (max-width: 750px) {
  main .program {
	margin: 0 1rem 0 1rem;
  }
	
  main .program .title {
    width: fit-content;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 1fr;
    grid-template-areas:
      "heading"
      "desc";
    justify-content: space-between;
    grid-gap: 1rem;
    margin-bottom: 1.5rem;
  }

  main .program .title .titleLeft {
    grid-area: heading;
    margin-bottom: 1.25rem;
  }

  main .program .title .titleRight {
    max-width: 100%;
    grid-area: desc;
    margin-bottom: 1.5rem;
  }

  main .program .cardWrapper {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  main .program .cardWrapper .card {
    width: 100%;
    margin-bottom: 1.25rem;
  }

  main .program .cardWrapper .card img {
    margin-bottom: 1rem;
  }
}

/* ======================= PLAY PERIODS ====================== */

main .playPeriods {
  position: relative;
}

main .playPeriods .title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.playPeriods {
  margin: 4rem;
}

main table {
  width: 100%;
  margin-bottom: 8rem;
  border-top: 2px solid #f5f5f5;
  line-height: 4rem;
}

main table img {
  padding-right: 0.5rem;
  display: block;
  width: 20px;
  height: 20px;
}

main table thead tr {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  padding: 0.25rem 0 0.75rem 0;
}

.table-city {
  margin-left: -25px;
}

.table-dates {
  margin-left: -25px;
}

main table thead tr td:nth-of-type(1) {
  width: 40%;
}

main table thead tr td:nth-of-type(2) {
  width: 30%;
}

main table thead tr td:nth-of-type(3) {
  width: 20%;
}

main table tr {
  border-bottom: 0.5px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0 0.75rem 0;

  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  line-height: clamp(0.5rem, 2vw + 0.5rem, 2rem);
}

main table tr td:nth-of-type(1) {
  width: 40%;
  padding-right: 2rem;
}

main table tr td:nth-of-type(2) {
  width: 30%;
}

main table tr td:nth-of-type(3) {
  width: 20%;
}

@media only screen and (max-width: 800px) {
  main table tr td:nth-of-type(1) {
    display: none;
  }

  main table tr td:nth-of-type(2) {
    width: 50%;
  }

  main table tr td:nth-of-type(3) {
    width: 50%;
  }

  .table-city {
    margin-left: 0px;
  }

  .table-dates {
    margin-left: -90px;
  }

  .playPeriods {
    margin: 1rem;
  }
}

@media only screen and (max-width: 700px) {
  .table-dates {
    margin-left: -80px;
  }
}

@media only screen and (max-width: 600px) {
  .table-dates {
    margin-left: -55px;
  }
}

/* ======================= GALLERY ====================== */

main .gallery {
  position: relative;
  margin-left: 4rem;
  margin-right: 4rem;
}

@media only screen and (max-width: 700px) {
  main .gallery {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  main .gallery {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}


main .gallery h2 {
  margin-top: 150px;
  margin-bottom: 50px;
}

main .gallery-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .gallery img {
  width: 48%;
  position: relative;
}

main .content {
  display: block;
  width: 100%;
}

main .gallery .gallery-container .galleryImg .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
}

main .gallery .gallery-container .galleryImg .next {
  position: absolute;
  height: 100%;
  width: 50px;
  background-color: #856b3f;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  top: 0;
}

main .gallery .gallery-container .galleryImg .next img {
  width: 30px;
  height: 30px;
}

main .gallery p {
  font-size: clamp(0.5rem, 2vw + 1rem, 1.5rem);
  line-height: clamp(2rem, 3vw + 0.75rem, 2rem);
  text-align: center;
  margin: 4em 0 3em;
}

@media only screen and (max-width: 500px) {
  main .gallery p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

main .gallery .button {
  margin: 0 auto;
}

main .gallery-container {
  position: relative;
  display: flex;
}

main .thumbnails {
  bottom: 8px;
  display: flex;
  flex-direction: row;
  gap: 6px;
}

main .thumbnails div {
  width: 8px;
  height: 8px;
  cursor: pointer;
  background: #aaa;
  border-radius: 100%;
}

main .thumbnails div.highlighted {
  background-color: #777;
}

main .slides {
  /* margin: 0 16px; */
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  width: 100%;
  /* padding: 0 0.25rem; */
  height: auto;
  overflow-y: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

main .slides>div {
  scroll-snap-align: start;
}

main .slides img {
  width: auto;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}

@media only screen and (max-width: 600px) {
  main .slides img {
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

main .slides::-webkit-scrollbar {
  display: none;
}

/* =====================Footer===================== */

footer {
  border-top: 2px solid #d8aa50;
  margin-top: 200px;
}

footer .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .mainSite {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 10px;
  border-right: 1px solid #d8aa50;
}

footer .mainSite h3 {
  align-self: start;
  margin-right: 50px;
}

footer .subscribe {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 10px;
  flex-direction: column;
}

footer .subscribe div {
  display: flex;
  align-items: center;
}

footer .subscribe h3 {
  width: 443px;
  margin-bottom: 20px;
}

footer .subscribe div input {
  background-color: transparent;
  border: none;
  outline: none;
  border-bottom: 1px solid #d8aa50;
  line-height: 25px;
  margin-left: 30px;
  margin-right: 30px;
  width: 300px;
  color: white;
}

footer .subscribe div a.button {
  width: 100px;
  line-height: 25px;
  padding: 5px 10px;
}

footer .social {
  border-bottom: 1px solid #d8aa50;
  border-top: 1px solid #d8aa50;
  padding: 50px 0;
}

footer .social .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

footer .social .icons a {
  width: 50px;
  height: 50px;
  margin: 0 1em;
}

footer .social img {
  display: block;
  width: 50px;
  height: 50px;
}

footer .social h3 {
  text-align: center;
}

footer .design-process-citations {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
  border-bottom: 1px solid #d8aa50;
}

footer .designprocess {
  justify-content: center;
  display: flex;
}

footer .copyright {
  padding: 50px 100px;
}

@media only screen and (max-width: 750px) {
  footer .info {
    display: grid;
    grid-template-columns: auto;
    justify-items: center;
  }

  footer .mainSite {
    width: 100%;
    border: none;
    padding: 50px 0;
  }

  footer .subscribe {
    width: 100vw;
    grid-row: 2;
    padding: 50px 0;
    border-top: 1px solid #d8aa50;
    border-left: none;
  }

  footer .subscribe h3 {
    width: 340px;
  }

  footer .subscribe div input {
    width: 200px;
  }

  footer .social .icons a {
    margin: 0 0.5em;
  }
}

@media only screen and (max-width: 650px) {
  footer .design-process-citations {
    display: grid;
    grid-template-columns: auto;
  }

  footer .citations {
    grid-row: 2
  }

  footer .subscribe h3 {
    width: 310px;
  }

  footer .subscribe div input {
    width: 180px;
    margin-right: 15px;
  }
}

/* ======================= BACKGROUND CIRCLES ====================== */

.astigmatism1 {
  position: absolute;
  width: 100rem;
  height: 100rem;
  background-image: radial-gradient(#D7A74A, transparent 60%);
  opacity: 0.3;
  z-index: -1;
  right: -800px;
}

.astigmatism2 {
  position: absolute;
  width: 1600px;
  height: 1600px;
  background-image: radial-gradient(#6F298F, transparent 60%);
  opacity: 0.3;
  left: -600px;
  top: -500px;
  z-index: -1;
}

.astigmatism3 {
  position: absolute;
  width: 500px;
  height: 500px;
  background-image: radial-gradient(#6F298F, transparent 60%);
  opacity: 0.3;
  z-index: -1;
  right: -100px;
}

.astigmatism4 {
  position: absolute;
  width: 1200px;
  height: 1200px;
  background-image: radial-gradient(#D7A74A, transparent 60%);
  opacity: 0.3;
  z-index: -1;
  left: -300px;
  top: -300px;
}

/* =====Citations Page===== */
.citation {
  margin-top: 30px;
  margin-left: 50px;
}