  .projects-wrapper, .projects-type {
  margin-right: auto;
  margin-left: auto;
}



@media (min-width: 768px) {
  .projects-wrapper, .projects-type {
      width: 750px;
  }
}

@media (min-width: 992px) {
  .projects-wrapper, .projects-type {
      width: 970px;
  }
}

@media (min-width: 1200px) {
  .projects-wrapper, .projects-type {
      width: 1170px;
  }
}

@media (max-width: 767px) {
    .projects-1 {
      display: flex !important;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .projects-2 {
      display: flex !important;
    }
}

@media (min-width: 1200px) {
    .projects-3 {
      display: flex !important;
    }
}

.projects {
  position: relative;
  display: flex;
  justify-content: space-around;
}

.projects-1 {
  display: none;
}

.projects-2 {
  display: none;
}

.projects-3 {
  display: none;
}

.project-photo {
  width: 40%;
  margin: 5px;
  height: auto;
}


.second-header {
  margin: 0;
  margin-top: 30px;
  color: #464646;
  font-size: 16px;
  line-height: 30px;
  text-transform: uppercase;
  font-weight: 100;
  text-align: end;
}

.project-line {
  border-bottom: 1px solid #fff;
  width: 200px;

}

.col3-1 {
    width: auto;
    margin-right: 20px;
    flex-grow: 1;
    flex-basis: 0;
}

.col3-2 {
    width: auto;
    margin-right: 20px;
    flex-grow: 1;
    flex-basis: 0;
}

.col3-3 {
    width: auto;
    flex-grow: 1;
    flex-basis: 0;
}

.col2-1 {
    width: auto;
    margin-right: 20px;
    flex-grow: 1;
    flex-basis: 0;
}

.col2-2 {
    width: auto;
    flex-grow: 1;
    flex-basis: 0;
}

.col1{
    width: auto;
}

@media (max-width: 767px) {
  .tile {
    margin: 1rem;
  }

  .projects-type {
    margin: 1rem;
  }

  .tile img {
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  #portfolio {
    width: 100%;
      margin: 1rem 0;
      -webkit-column-count: 2;
      -moz-column-count: 2;
      column-count: 2;
      -webkit-column-gap: 1rem;
      -moz-column-gap: 1rem;
      column-gap: 1rem;
      -webkit-column-width: 50%;
      -moz-column-width: 50%;
      column-width: 50%;
  }


}

@media (min-width: 1200px) {
  #portfolio {
      margin: 1rem 0;
      -webkit-column-count: 3;
      -moz-column-count: 3;
      column-count: 3;
      -webkit-column-gap: 1rem;
      -moz-column-gap: 1rem;
      column-gap: 1rem;
      -webkit-column-width: 33.33333333333333%;
      -moz-column-width: 33.33333333333333%;
      column-width: 33.33333333333333%;
  }
}

.tile {
  opacity: 1;
  transition: all 0.5s ease;
}

.tile:hover {
  opacity: 0.5;
  transition: all 0.5s ease;
}


.projects-type p {
  font-size: 12px;
  margin: 0;
  max-width: 40%;
  font-weight: 100;
  color: #999;
}


.tile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;

}

::-moz-focus-inner {
  border: 0;
  padding: 0;
}



.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	/* ideally, transition speed should match zoom duration */
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}
