#videoModal {
  position: fixed;
  background: #fffbf7;
  top: 50%;
  left: 50%;
  z-index: 9;
  transform: translate(-50%, 100vh);
  transition: all 0.2s ease;
  width: 80%;
  aspect-ratio: 2/1;
  display: none;
  padding: 40px;
  border: 1px solid #191919;
  border-radius: 20px;

  @media (max-width: 1024px) {
    width: calc(100vw - 40px);
    aspect-ratio: 1;
  }
  &.narrow {
    width: 900px;
    @media (max-width: 1024px) {
      padding: 0;
      width: 500px;
    }
    @media (max-width: 768px) {
      width: calc(100vw - 40px);
    }
  }
  &.show {
    transform: translate(-50%, -50%);
    display: block;
  }
  .close {
    position: absolute;
    font-size: 36px;
    right: 20px;
    top: 0px;
  }
  .modal-content {
    width: 100%;
    height: 100%;
    .close {
      cursor: pointer;
    }
    .video-container {
      width: 100%;
      height: 100%;
      iframe {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
      }
    }
    .team-container {
      display: grid;
      grid-gap: 30px;
      grid-template-columns: 280px 1fr;
      align-items: start;
      height: 100%;
      @media (max-width: 1024px) {
        grid-template-columns: 1fr;
        padding: 30px;
        overflow-y: auto;
      }
      .team-modal-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        figure {
          position: relative;
          width: 220px;
          height: 220px;
          margin-bottom: 30px;
          @media (max-width: 1024px) {
            width: 180px;
            height: 220px;
            margin-bottom: 12px;
          }
          &:before {
            display: block;
            position: absolute;
            content: '';
            width: 100%;
            height: 100%;
            top: -10px;
            left: -10px;
            border: 1px solid var(--c-gray-900);
            border-radius: 50%;
            z-index: 2;
          }
          img {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            border-radius: 50%;
            object-fit: cover;
            z-index: 1;
          }
        }
        h3 {
          width: 100%;
          margin: 0 0 16px;
          text-align: center;
        }
        h5 {
          width: 100%;
          margin: 0;
          color: var(--c-primary-200);
          font-weight: 700;
          text-align: center;
        }
      }
    }
    .text {
      height: 100%;
      overflow-y: auto;
      @media (max-width: 1024px) {
        overflow: initial;
      }
    }
  }
}
