.background-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.projects-container {
  position: relative;
  width: 94%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 40px;
}
.projects-container .categories-menu {
  width: 435px;
  position: relative;
  height: auto;
  margin: 0px;
  margin-top: 0;
  color: black;
  font-size: 15px;
  display: block;
  overflow: hidden;
  padding: 0px;
}
.projects-container .categories-menu.dummy {
  display: none;
}
.projects-container .categories-menu .category {
  position: relative;
  width: 142px;
  height: 30px;
  line-height: 30px;
  margin: 20px 0px;
  cursor: pointer;
  font-size: 16px;
}
.projects-container .categories-menu .category.selected {
  font-weight: bold;
}
.projects-container .projects {
  position: relative;
  width: auto;
  white-space: nowrap;
  flex-grow: 1;
  height: auto;
  overflow: hidden;
}
.projects-container .projects .project {
  position: relative;
  float: left;
  width: calc(50% - 40px);
  height: 300px;
  margin: 20px;
  overflow: hidden;
  transition: all 0.2s ease-out;
}
.projects-container .projects .project .project-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-size: cover;
  transition: all 0.2s ease-out;
}
.projects-container .projects .project .project-data {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  display: flex;
  transition: all 0.2s ease-out;
  opacity: 0;
}
.projects-container .projects .project .project-data .project-title {
  position: relative;
  width: 100%;
  height: 53px;
  line-height: 50px;
  font-size: 48px;
  font-weight: bold;
}
.projects-container .projects .project .project-data .project-location {
  position: relative;
  width: 100%;
  height: 20px;
  line-height: 20px;
  font-size: 17px;
}

.projects-container .projects .project:hover .project-data {
  opacity: 1;
}

.projects-container .projects .project:hover .project-image {
  transform: scale(1.6);
  transition: all 40s ease-out;
}
.projects-container .projects .project.hide {
  width: 0;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .projects-container {
    display: block;
  }
  .projects-container .categories-menu {
    text-align: center;
    font-size: 19px;
    width: 100%;
    position: fixed;
    z-index: 100;
    left: 0;
    overflow: hidden;
    transition: all 0.2s ease-out;
    top: 74px;
    height: auto;
    background-color: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .projects-container .categories-menu .category{
    margin: 0

  }
  .projects-container .categories-menu.dummy {
    display: block;
    position: relative;
    top: auto;
    background-color: transparent;
    height: 30px;
  }
  .projects-container .categories-menu.scroll-hide:not(.dummy) {
    height: 0;
    background-color: transparent;
  }
  .projects-container .projects .project {
    width: 100%;
    margin: 20px auto;
  }
  .projects-container .projects .project .project-data {
    opacity: 1;
    background-color: transparent;
    justify-content: flex-end;
    text-align: left;
    text-indent: 15px;
  }
  .projects-container .projects .project .project-data .project-location {
    margin-bottom: 20px;
  }

  .project-title{
    font-size:35px !important;
  }
}
