.container {
  padding: 0 1rem 2rem;
  overflow: hidden;
}
.slide {
  padding: 1.5rem 0 0 !important;
}
.slide button {
  display: flex;
  /* gap: 1.5rem; */
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  width: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  color: var(--color-text-black);
  border-radius: var(--radius);
  /* box-shadow: var(--box-shadow); */
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: grayscale(100%);
}
.slide button:hover,
.slide button:focus {
  transform: scale(1.05);
  z-index: 999;
}
.slide button figure {
  width: 180px;
  height: 180px;
  z-index: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  transition: 0.3s all;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-black);
  background-position: center;
  background-size: cover;
  transition: var(--transition-hover);
}
.slide button:hover figure,
.slide button:focus figure {
  opacity: 0.9;
}
.slide button span {
  text-align: left;
  font-size: var(--font-size-small);
  letter-spacing: -0.05rem;
  padding: 1rem;
}

.title h2 {
  display: flex;
  font-size: var(--font-size-3);
  margin-bottom: 1rem;
  color: var(--color-text-black);
}
.title h2 svg {
  margin: -1px 0.75rem 0 0;
  color: var(--color-text-black);
}

.credits p {
  margin-top: 2.5rem;
  padding-right: 1rem;
  font-size: var(--font-size-small);
  width: 100%;
  text-align: right;
  color: var(--color-black-translucent-50);
}
.credits p a {
  transition: var(--transition);
}
.credits p a:hover,
.credits p a:focus {
  color: var(--color-text-black);
}

.videoPlayer {
  position: relative;
  width: 100%;
  height: 657px;
  max-width: 100%;
  max-height: 100vh;
  border-radius: var(--radius);
  background: black;
  overflow: hidden;
  filter: grayscale(100%);
  padding: 0;
  margin: 1rem auto 0;
}

.closeButton {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  height: auto;
  width: auto;
  display: flex;
  background: none;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: var(--font-size);
  cursor: pointer;
  color: var(--color-black);
  background: var(--color-white);
  align-items: center;
  justify-content: center;
}
.closeButton svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-black);
}

@media screen and (max-width: 940px) {
  .title h2 {
    font-size: 1.25rem;
  }

  .container ul {
    gap: 0.5rem;
  }

  .container ul li button span {
    font-size: var(--font-size);
  }

  .slide button figure {
    width: 120px;
    height: 120px;
  }

  .closeButton {
    top: 0.35rem;
    right: 0.35rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 0.75rem;
  }
  .closeButton svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}
@media screen and (max-width: 768px) {
  .container ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 480px) {
  .container ul {
    grid-template-columns: 1fr;
  }

  .videoPlayer {
    height: 180px;
  }
  .slide button figure {
    width: 84px;
    height: 84px;
  }
  .slide button span {
    font-size: 0.6rem;
    padding: 0.5rem;
  }

  .credits p {
    font-size: 0.8rem;
  }
}
