@media (prefers-color-scheme: dark) {
  .filter a {
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
  }

  .filter .current {
    background-color: #2196f3;
    border-color: #2196f3;
    color: #333;
  }

  .items .icons i {
    color: #333;
  }

  .items .icons a {
    background-color: #2196f3;
  }

  .items .imageOverlay {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media (prefers-color-scheme: light) {
  .filter a {
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
  }

  .filter .current {
    background-color: #2196f3;
    border-color: #2196f3;
    color: #fff;
  }

  .items .icons i {
    color: #fff;
  }

  .items .icons a {
    background-color: #2196f3;
  }

  .items .imageOverlay {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.filter a {
  padding: 10px 18px;
  display: block;
  border-radius: 15px;
}

.filter li {
  display: inline-block;
  padding: 5px;
}

.filter {
  text-align: center;
  width: 100%;
}

.section .heading {
  text-align: center;
  padding-bottom: 40px;
  width: 100%;
}

.items li {
  display: inline-block;
  padding: 5px;
}

.itemsContainer {
  width: 100%;
}

.items a.portfolioFancyboxLink {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 15px;
  overflow: hidden;
}

.items li img {
  width: 100%;
  -webkit-transition: all 0.2s linear, 1s;
  -moz-transition: all 0.2s linear, 1s;
  -o-transition: all 0.2s linear, 1s;
  -ms-transition: all 0.2s linear, 1s;
  transition: all 0.2s linear, 1s;

  border-radius: 15px;
}

.items .item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
}

.items .icons {
  position: absolute;
  width: 90px;
  height: 40px;
  left: 50%;
  top: 50%;
  margin: -20px auto 0 -47px;
  text-align: center;
  z-index: 3;
}

.items .icons i {
  font-size: 20px;
  margin-top: 9px;
}

.items .icons a {
  width: 40px;
  height: 40px;
  position: relative;
  display: inline-block;

  -webkit-transition: all 0.2s linear, 0.2s;
  -moz-transition: all 0.2s linear, 0.2s;
  -o-transition: all 0.2s linear, 0.2s;
  -ms-transition: all 0.2s linear, 0.2s;
  transition: all 0.2s linear, 0.2s;

  border-radius: 15px;
}

.items .imageOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 0;

  -webkit-transition: all 0.2s linear, 1s;
  -moz-transition: all 0.2s linear, 1s;
  -o-transition: all 0.2s linear, 1s;
  -ms-transition: all 0.2s linear, 1s;
  transition: all 0.2s linear, 1s;
}

.items .item:hover .imageOverlay {
  opacity: 1;
}

.items .openButton {
  float: left;
  left: -500px;
}

.items .projectLink {
  float: right;
  right: -500px;
}

.items .item:hover .openButton {
  left: 0px;
}

.items .item:hover .projectLink {
  right: 0px;
}

.items .item:hover .portfolioFancyboxLink img {
  -webkit-transform: scale(1.05, 1.05);
  -moz-transform: scale(1.05, 1.05);
  -o-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

.items {
  padding: 0;
}
