.photo_gallery{
  padding-top:10%;
}
.photo_gallery h1{
  text-align: center;
    font-size: 26px;
    font-weight: 600;
}
.video_flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.video_radius{
  border-radius:15px;
  margin-bottom: 35px;
  width: 550px;
}
  .grid {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}
.grid > li {
  width: calc(100% / 3 - 30px);
  margin: 0px 15px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 15px;
}
.filters {
  margin-top: 40px;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: center;
}
.grid li img {
  max-width: 100%;
  border-radius: 10px;
}
.filters button {
    padding: 10px 25px;
    margin: 0px 5px;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    transition: 150ms;
    color: #000;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    position: relative;
    outline: none;
    cursor: pointer;
    font-family: 'Inter Tight', sans-serif;
}
.filters button:before{
  position: absolute;
    content: '';
    left: 0px;
    border-radius:15px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    border: 1px solid #cccccc;
    -ms-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    transform: skewX(0deg);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.filters button:hover{
  background-color: transparent;
}
.filters button:hover:before{
  background-color: #ccc;
  color:#fff;
  z-index: -1;
}
.filters button.is-checked {
  background-color: transparent;
    color: #fff;
}
.filters button.is-checked:before {
  z-index: -1;
  background-color: #000;
}
.element-item > div {
  padding: 5px 5px;
  background-color: #fff;
  color: #dddddd;
}
/*.element-item > div img{
  min-height:275px;
  max-height: 275px;
  min-width: 360px;
    max-width: 360px;
}*/
.element-item p {
  font-size: 18px;
  line-height: 24px;
  font-family: "Lato", sans-serif;
}

@media (max-width: 767px) {
  .filters button {
    padding: 5px 10px;
    margin: 5px;
  }
  .grid > li {
    width: calc(100% - 30px);
  }
  .element-item p {
    font-size: 16px;
    line-height: 22px;
  }
}