* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100%;
  font-weight: 400;
  list-style: none;
}

:root {
  font-size: 15px;
}

body {
  font-family: sans-serif;
  padding: 1rem 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: blue;
}

/* ================= HOME ================= */

.home {
  min-height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
  background-image: linear-gradient(
    0deg,
    rgba(255, 171, 171, 1) 0%,
    rgba(197, 211, 255, 1) 100%
  );
}

.home h1 {
  font-size: 1.4rem;
  margin-bottom: 3rem;
}

.home nav {
  margin-bottom: 1.5rem;
  width: 30%;
}

.home h2 + nav ul li a {
  font-style: normal;
}

.home video {
  position: fixed;
  top: 20vh;
  top: calc(var(--vh, 1vh) * 20);
  left: 20vw;
  width: 10vw;
  z-index: -1;
}

@media (max-width: 900px) {
  .home nav {
    width: 60%;
  }

  .home video {
    position: fixed;
    top: auto;
    left: auto;
    bottom: 15vw;
    right: 15vw;
    width: 25vw;
    z-index: -1;
  }
}

@media (max-width: 500px) {
  .home {
    padding-top: 4rem;
  }
  .home h1 {
    position: fixed;
    top: 1rem;
  }
  .home nav {
    width: 100%;
  }

  .home video {
    position: fixed;
    top: auto;
    left: auto;
    bottom: 3rem;
    right: 3rem;
    width: 40vw;
    z-index: -1;
  }
}

/* ================= ABOUT ================= */

.about {
  min-height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
  background-image: linear-gradient(
    180deg,
    rgba(255, 171, 171, 1) 0%,
    rgba(197, 211, 255, 1) 100%
  );
}

.about h1 {
  font-size: 1.4rem;
  margin-bottom: 3rem;
}

.about .content {
  width: 30%;
}

.about .content p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-wrap: break-word;
}

.about .content p + p {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .about .content {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .about {
    padding-top: 4rem;
  }
  .about h1 {
    position: fixed;
    top: 1rem;
  }
  .about .content {
    width: 100%;
  }
}

/* ================= SINGLE ================= */
.single {
  height: calc(var(--vh, 1vh) * 100);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.single h2 {
  font-size: 1.4rem;
}

.single h1 {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  font-style: italic;
  width: 30%;
}

.single .info {
  margin-top: 0.25rem;
  width: 30%;
  font-size: 0.85rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-wrap: break-word;
}

.single .content {
  flex: 1;
  display: flex;
  overflow-x: auto;
  width: calc(100% + 2.5rem);
  margin: 0 -1.25rem -1rem;
  padding: 2rem 1.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.single .content div + div {
  margin-left: 1.25rem;
}

.single .content > * {
  display: inline;
}

.single .content .content-text {
  flex: 0 0 30%;
}

.single .content .content-text p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-wrap: break-word;
}

.single .content .content-text p + p {
  margin-top: 1rem;
}

.single .content .content-image {
  height: 100%;
  cursor: pointer;
}

.single .content .content-image.active {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 1rem;
  margin: 0;
}

.single .content .content-image img {
  transform: translateZ(0);
  aspect-ratio: auto;
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: width 0.3s, height 0.3s;
}

.single .content .content-video {
  position: relative;
  background-color: rgba(30, 30, 30);
  height: 100%;
}

.single .content .content-video video {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}

.single .content .content-vimeo {
  position: relative;
  background-color: rgba(30, 30, 30);
  height: 100%;
  aspect-ratio: 16 / 9;
}

.single .content .content-vimeo.vertical {
  aspect-ratio: 9 / 16;
}

.single .content .content-video.active {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 1rem;
  margin: 0;
}

.single .content .content-vimeo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

@media (max-width: 900px) {
  .single {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: auto;
    padding-top: 3rem;
  }

  .single h2 {
    position: fixed;
    top: 1rem;
  }
  .single h1 {
    width: 100%;
  }

  .single .info {
    width: 100%;
  }

  .single .content {
    flex-direction: column;
    width: 100%;
    margin: 1.5rem 0 0;
    padding: 0;
  }

  .single .content-text {
    margin-bottom: 2rem;
  }
  .single .content div + div {
    margin-left: 0;
    margin-top: 1rem;
  }

  .single .content .content-image img {
    display: block;
    height: auto;
    width: 100%;
  }

  .single .content .content-video video {
    display: block;
    height: auto;
    width: 100%;
  }
}
