@media screen and (max-width: 1200px) {
  h1, h2 {
    font-size: clamp(32px, 5vw, 48px);
  }

  .media-element {
    height: auto;
    min-width: 280px;
    max-width: 280px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 20px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav__list {
    flex-wrap: wrap;
  }

  .page:not(.row) {
    flex-direction: column;
    gap: 2rem;
  }

  .landing__text,
  .project__title {
    width: 100%;
    max-width: 100%;
  }

  .col {
    padding-left: 0;
  }

  .about__gif {
    width: fit-content;
  }

  .page.row {
    gap: 2rem;
  }

  .media-scroller {
    gap: 1.25rem;
  }

  .contact__tagline {
    margin-top: 2rem;
  }
}

@media screen and (min-width: 601px) {
  img[src="assets/Blue_FINAL.gif"] {
    width: 149px;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  .container {
    width: 94%;
  }

  .media-element {
    min-width: 240px;
    max-width: 240px;
  }

  .poster-grid,
  .misc-grid {
    gap: 0.75rem;
  }

  .poster-item img {
    width: 120px;
  }

  .poster-item img.enlarged {
    width: 240px;
  }

  .misc-item img {
    width: 160px;
  }

  .misc-item img.enlarged {
    width: 260px;
  }

  .btn {
    width: auto;
    padding: 0 1rem;
  }

  .contact__hero,
  .contact__body {
    flex-direction: column;
    gap: 2rem;
  }

  .contact__info {
    width: 100%;
  }

  .contact__tagline {
    margin-top: 3rem;
  }

  img[src="assets/big_crop_crop.gif"] {
    display: none;
  }

  #nature1 {
    top: 100%;
    left: 3%;
  }

  .page.row {
    flex-direction: column;
    gap: 2rem;
  }

  .about__gif {
    width: 100%;
    height: 35vw;
    overflow: hidden;
    position: relative;
  }

  img[src="assets/Blue_FINAL.gif"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    height: 90vw;
    width: auto;
    max-width: none;
  }

  .project__content {
    flex-direction: column;
    gap: 2rem;
  }

  .project__text,
  .project__images {
    width: 100%;
    max-width: 100%;
  }

  .project__images img {
    width: 100%;
    height: auto;
  }

  .project__slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .project__more {
    display: block;
  }

  .project__paragraph p {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .project__paragraph.expanded p {
    display: block;
    overflow: visible;
  }

}

@media screen and (max-width: 480px) {
  .nav__list {
    gap: 0.75rem;
  }

  .nav__item + .nav__item {
    margin-left: 1rem;
  }

  .landing__text {
    gap: 1rem;
  }

  .media-element {
    min-width: 180px;
    max-width: 180px;
  }

  .nav--footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
