@font-face {
  font-family: Metrify;
  src: url("Fonts/NaNMetrifyB-VF.woff");
}

body {
  font-family: Metrify;
  font-size: 1.125rem;
  letter-spacing: -0.05rem;
  margin: 1rem 1rem;
  background-color: #f1f1f1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

nav {
  position: fixed;
  top: 1rem;
  left: 20px;
}

nav a {
  text-decoration: none;
}

nav h1 {
  color: #00f;
  font-family: "Metrify";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.0125rem;

  margin-bottom: 0.2rem;
}

nav h2 {
  color: #555;
  font-variation-settings: "wght" 100;
  letter-spacing: -0.0225rem;
}

.contact {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 1rem;
  left: 20px;
}

.contact a {
  color: #555;
  font-weight: 100;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  text-decoration: none;
}

.contact a:hover {
  color: blue;
}

.gallery {
  margin-left: 20rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery img {
  border-radius: 0.75rem;
  width: 100%;
}

.gallery a {
    display: inline-block;
}

.gallery a img{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.gallery video,
.gallery iframe {
  border-radius: 0.75rem;
  width: 100%;
  margin-bottom: 2rem;
}

.gallery a:hover img,
.gallery a:hover video {
  transform: scale(1.01);
  transition: all 0.3s ease-in-out;
}

.gallery img,
.gallery video {
  transition: all 0.3s ease-in-out;
}

.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.desc {
  width: 100%;
  margin-bottom: 1.25rem;

  font-size: 1.25rem;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.05rem;
}

.desc h4,
.desc h4 a {
  text-decoration: none;
  border: none;
  margin-top: 1rem;
  color: #555;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0rem;
}

.overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
}

.button {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;

  font-weight: 100;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.button a {
  text-decoration: none;
  color: #555;
  margin-right: 1rem;
}

.button a:hover {
  color: blue;
}

.prev-next a {
  text-decoration: none;
  color: #555;
  margin-right: 1rem;
}

.prev-next a:hover {
  color: blue;
}

.video-wrapper {
  position: relative;
  display: inline-block;
}

.mute-toggle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.5rem;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .desc {
    font-size: 0.7rem;
    letter-spacing: 0rem;
  }
  .desc p {
    margin-bottom: 0.6rem;
  }
  .desc h4,
  .desc h4 a {
    text-decoration: none;
    border: none;
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0;
    margin: 1 0.6;
  }

  nav {
    z-index: 100;
    display: block;
    position: relative;
    width: 100%;
    margin-left: -20px;
    margin-bottom: 2rem;
    padding: 0;
  }

  .desc {
    width: 100%;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  .desc p {
    margin-bottom: 0.4rem;
  }
  .desc h4 {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .gallery {
    margin-left: 0;
  }
  .gallery img {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
  }
  .gallery video {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
  }
  .prev-next {
    font-size: 1rem;
    justify-content: flex-end;
    margin-bottom: 0.2rem;
  }
  .prev-next a {
    font-size: 1rem;

    padding-bottom: 2px;
    border-bottom: #00f solid 2px;
  }
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 5rem;
  }
  .gallery {
    flex-direction: column;
    margin-left: 0;
  }

  .gallery img,
  .gallery video {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
  }

  nav {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    padding: 0;
    margin-left: -20px;
  }

  .contact {
    margin-left: 14px;
  }

  .prev-next {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    color: #555;
    font-weight: 100;
    font-size: 1.25rem;
    text-decoration: none;
  }

  .prev-next a {
    font-size: 1rem;

    padding-bottom: 2px;
    border-bottom: #00f solid 2px;
  }

  .vimeo-wrapper {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .desc {
    font-size: 1.1rem;
    letter-spacing: -0.04rem;
  }

  body {
    padding-bottom: 5rem;
  }

  .gallery {
    margin-left: 0;
    flex-direction: column;
  }

  .gallery img,
  .gallery video {
    width: 100%;
    border-radius: 0.65rem;
    margin-bottom: 1.5rem;
  }

  nav {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    padding: 0;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: 1.25rem;
    letter-spacing: -0.06rem;
  }

  .desc {
    font-size: 1.5rem;
    letter-spacing: -0.06rem;
    width: 38%;
    margin-bottom: 5rem;
  }

  .desc h4 {
    font-size: 1.125rem;
    margin-top: 1.25rem;
  }

  .gallery img,
  .gallery video {
    border-radius: 1rem;
    margin-bottom: 2.5rem;
  }

  .button {
    font-size: 1.5rem;
  }

  .contact a {
    font-size: 1.5rem;
  }

  nav h1 {
    font-size: 1.5rem;
  }

  nav h2 {
    font-size: 1.125rem;
  }

  .gallery {
    max-width: 78%;
    margin-left: auto;
    margin-right: 0;
  }

  .vimeo-wrapper {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1660px) {
  .desc {
    width: 58%;
    font-size: 1.25rem;
    letter-spacing: -0.05rem;
  }
  .desc p {
    margin-bottom: 1rem;
  }
  .desc h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 2560px) {
  .desc {
    width: 50%;
    font-size: 2.2rem;
    letter-spacing: -0.03rem;
  }

  .desc h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    line-height: 1.5rem;
  }
  nav {
    font-size: 2.2rem;
  }

  .contact a {
    font-size: 1.6rem;
  }
  .prev-next {
    font-size: 1.6rem;
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  .desc {
    width: 66%;
  }
}

.tap-for-audio {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 10;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .tap-for-audio {
    display: none;
  }
}

.vimeo-wrapper {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.vimeo-wrapper--first {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.vimeo-wrapper--first .vimeo-aspect {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.vimeo-wrapper--first iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .vimeo-wrapper--first {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .vimeo-wrapper--first {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1600px) {
  .vimeo-wrapper--first {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 2560px) {
  .vimeo-wrapper--first {
    margin-bottom: 3rem;
  }
}

@media (max-width: 1024px) {
  .vimeo-wrapper {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .vimeo-wrapper {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1600px) {
  .vimeo-wrapper {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 2560px) {
  .vimeo-wrapper {
    margin-bottom: 3rem;
  }
}

.vimeo-wrapper-link {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.vimeo-wrapper-link:hover {
  transform: scale(1.01);
}

.vimeo-wrapper-link iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.vimeo-wrapper-link .overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
}
