.pastworks {
  display: flex;
  flex-direction: column;
}
.pastworks > p:first-child {
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 16px 0;
}
.pastworks .item {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
}
.item.view {
  opacity: 1;
  transition: opacity 0.8s;
}
.pastworks .item-img {
  width: 100%;
}
.link-site {
  font-size: 16px;
  padding: 24px 0;
}
@media screen and (min-width: 600px) {
  .pastworks {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .pastworks .item {
    width: 48%;
  }
}
@media screen and (min-width: 900px) {
  .pastworks .item {
    width: 30%;
  }
}