@media screen and (max-width: 1000px) {
  #comment-container {
    grid-template-columns: 80% !important;
    grid-template-rows: auto auto !important;
  }
}

.comment-animated.item {
  transition: 1s;
  position: relative;
  transform: translateX(-150px);
  opacity: 0;

  &.active {
    transform: translateX(0);
    opacity: 1;
  }
}

#comment-container {
  display: grid;
  grid-template-columns: 480px 480px;
  justify-content: space-around;

  & #comments,
  & #post {
    margin: 10px 0;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    aspect-ratio: 1 / 1.2;
    border-radius: 10px;
    box-shadow: #0000003d 4px 4px 10px;
    overflow: hidden;
    border: solid 2px #223f8d;

    & header {
      display: flex;
      flex-direction: row;
      justify-content: center;
      background: #4089ff;
      color: #fff;
      text-align: center;
      font-weight: 700;
      padding: 15px;
      font-family: Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
      font-size: 3vh;
      width: 100%;
      z-index: 2;
    }
  }

  #post {
    & .nice-gradient {
      display: block;
      width: 100%;
      min-height: 20px;
      background: #4089ff;
    }

    & a {
      font-family: Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
      color: #fff;
      text-align: center;
      font-size: 3vh;
      font-weight: 700;
      transition: .25s;
      height: -webkit-fill-available;
      align-items: center;
      display: flex;
      justify-content: center;
      text-decoration: none;
      background: #4089ff;
    }

    &:hover {
      text-shadow: rgba(255, 255, 255, 0.493) 0 4px 10px;
    }
  }
}

& .content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  gap: 1rem;
  transform-origin: 50% 50%;
  overflow: hidden;
  list-style: none;
  scroll-behavior: smooth;
  position: relative;

  & img {
    max-width: inherit;
  }

  & li {
    max-width: 100%;
    box-sizing: content-box;
    background-color: #fff;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  & li:hover {
    transition: .5s;
    filter: brightness(95%);
  }

  & li:nth-child(2n) {
    filter: brightness(0.97)
  }
}