


.portfolio_item .container {
  position: relative;
  width: 100%;
}

.portfolio_item .image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.portfolio_item .middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  width: 80%;
  height: 80%;      
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(0,0,0,0.5);
}

.portfolio_item .container:hover .image {
  opacity: 0.3;
}

.portfolio_item .container:hover .middle, 
.portfolio_item:hover .middle{
  opacity: 1;
}

.portfolio_item .text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width: 20%;
}

.grid-item {
  height: auto;
  float: left;
  border: 5px transparent solid;
}

.grid-item--width1 { width:  20%; }
.grid-item--width2 { width:  40%; }
.grid-item--width3 { width:  60%; }
.grid-item--width4 { width:  100%; }

.grid-item--height2 { height: auto; }
.grid-item--height3 { height: auto; }
.grid-item--height4 { height: auto; }


@media (max-width: 720px) {    
    .grid-item--width1 { width:  100%; }
    .grid-item--width2 { width:  100%; }
    .grid-item--width3 { width:  100%; }
    .grid-item--width4 { width:  100%; }    
}
@media (max-width: 388px) {    
    .portTextProximo{
        font-size: 12px;
    }   
}

