@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Prata&family=Vollkorn:wght@400;500;700&family=Nunito+Sans:wght@200;300;400&display=swap");
:root {
  --color-knot: hsl(30, 10%, 10%);
  --color-bear: hsl(187, 10%, 10%);
  --color-link: rgb(176, 176, 133);
  --font-title: "Prata", serif;
  --font-body: "Prata", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 62.5%;
  background-color: black;
  color: white;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  /* make scrollbar transparent */
}

.btn-audio {
  position: absolute;
  top: 6rem;
  right: 2rem;
  z-index: 999;
  background-color: rgba(90, 59, 59, 0.503);
  padding: 20px;
  border-radius: 50%;
  transition: scale 0.2s;
  cursor: pointer;
}
.btn-audio:hover {
  scale: 1.1;
}
@media (max-width: 1200px) {
  .btn-audio {
    padding: 12px;
    width: 50px;
    top: 7rem;
  }
}

@keyframes example {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3rem;
}

.loading > img {
  width: 20vw;
  animation: example 2s infinite;
}

.nav {
  position: fixed;
  display: flex;
  align-items: center;
  padding: 1rem;
  top: 0;
  z-index: 99;
  -webkit-backdrop-filter: blur(20px) brightness(20%);
          backdrop-filter: blur(20px) brightness(20%);
}
.nav__right {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  align-items: center;
}
.nav ul {
  width: 100vw;
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  padding: 0.5rem 3rem;
}
.nav__item {
  text-transform: uppercase;
  display: block;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
}
@media (max-width: 1200px) {
  .nav__item {
    font-size: 0.8rem;
  }
}
@media (max-width: 1200px) {
  .nav__item--desktop {
    display: none;
  }
}
.nav__item--logo {
  font-family: var(--font-title);
  font-size: 1.2rem;
}
@media (max-width: 1200px) {
  .nav__item--logo {
    font-size: 0.9rem;
  }
}
.nav__item--current {
  color: rgb(176, 176, 133);
}
.nav a {
  text-decoration: none;
  transition: 0.2s;
}
.nav a:hover {
  box-shadow: 0 3px 0 #7f7f7f;
}

.content {
  background: black;
}
.content--bear {
  background: linear-gradient(174deg, var(--color-bear) 50%, rgb(78, 42, 55) 100%);
}
.content--knot {
  background: linear-gradient(174deg, var(--color-knot) 50%, rgb(22, 59, 16) 100%);
}

.first-slide {
  margin-top: 20vh;
  min-height: 60vh;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-family: var(--font-title);
}
.first-slide h1 {
  font-size: 4rem;
}
@media (max-width: 1200px) {
  .first-slide h1 {
    font-size: 2rem;
  }
}
.first-slide p {
  font-size: 20px;
}

.last-slide {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: black;
  font-family: var(--font-title);
}
.last-slide h1 {
  font-size: 10vw;
}
.last-slide p {
  font-size: 1rem;
}

.caption-container {
  z-index: 99;
  font-size: 1.4rem;
  padding: 2rem;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  bottom: 0;
  text-align: center;
  color: white;
  font-family: var(--font-body);
  -webkit-backdrop-filter: blur(10px) brightness(50%);
          backdrop-filter: blur(10px) brightness(50%);
}
@media (max-width: 1200px) {
  .caption-container {
    font-size: 1rem;
    padding: 0.5rem;
  }
}

.captions {
  max-height: 20vh;
  display: block;
  z-index: 9;
}

.gallery-container {
  display: flex;
  justify-content: center;
  width: 100vw;
  overflow: hidden;
}

.slides {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 5rem;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

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

.slides img {
  max-width: 90vw;
  max-height: 80vh;
  opacity: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2rem;
  overflow: hidden;
}

video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 2rem;
}

#homepage {
  display: flex;
}
@media (max-width: 1200px) {
  #homepage {
    flex-direction: column;
  }
}

.index {
  display: grid;
  place-content: center;
  padding: 5rem;
  height: 100vh;
  width: 50vw;
  text-align: center;
  transition: 0.2s;
  text-transform: uppercase;
  background-size: cover;
  background-position: center;
}
.index,
.index a, .index a:visited {
  font-size: 2.5rem;
}
.index:hover {
  font-size: 3rem;
}
@media (max-width: 1200px) {
  .index {
    height: 50vh;
    width: 100vw;
  }
}
.index--left-top {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url("../img/knot/knot12.jpg");
  background-position: center bottom;
}
.index--right-bottom {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url("../img/bear/bear6.jpg");
  background-position: center;
}

.content--about {
  background-image: linear-gradient(rgba(6, 20, 0, 0.9), rgba(28, 0, 11, 0.7)), url("../img/about-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: var(--font-body);
  text-align: center;
}
.content--about a:link,
.content--about a:visited {
  color: var(--color-link);
  margin-bottom: 2rem;
}
.content--about a:hover {
  color: rgb(229, 207, 163);
}

.lead {
  font-weight: bold;
  text-align: center;
}

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 200;
  padding: 10rem 20rem 10rem 20rem;
}
@media (max-width: 1200px) {
  .about {
    padding: 10rem 2rem;
  }
}
.about__copy {
  max-width: 40rem;
}

h1 {
  font-family: var(--font-title);
  margin-bottom: 5rem;
  font-size: 2rem;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  text-align: center;
  margin: 2rem;
  font-size: 1.8rem;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.credit {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 3rem;
  font-size: 1.6rem;
  gap: 1rem;
}
@media (max-width: 1200px) {
  .credit {
    flex-direction: column;
    gap: 2rem;
  }
}
.credit__skill {
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 2rem;
}
.credit__name {
  font-family: var(--font-title);
  text-transform: uppercase;
  margin-top: 0.1rem;
  font-size: 1.2rem;
}

.contribute {
  font-size: 2rem;
  font-family: var(--font-title);
}

.signoff {
  font-size: 2rem;
  font-family: var(--font-title);
}

a:link,
a:visited {
  text-decoration: none;
  color: white;
  font-family: var(--font-title);
  cursor: pointer;
}