*,
*:before,
*:after {
 padding: 0;
 margin: 0;
 outline: 0;
 box-sizing: border-box;
}
.encabezado {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
 text-align: center;
 padding: 20px 20px;
}
.encabezado p{
  text-align: center;
  width: 70%;
}
.galeria {
 display: flex;
 flex-wrap: wrap;
 padding: 10px 20px;
 justify-content: center;
}
.title-project {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 4px;
  margin-top: -20px;
  transition: all 0.3s ease;
  

}

.title-project h1,p{
  font-size: 1rem;
  color: hsl(39, 100, 50);
  margin-top: 2px;
  margin-right: 10px;
  letter-spacing: 1px;
}
.columna {
 flex-direction: row;
 max-width: 100%;
 height: 20%;
 padding: 0 4px;
 padding-top: 40px;
}
.columna img {
 margin-top: 8px;
 vertical-align: middle;
 width: 19.5%;
 height: 15.6rem;
 filter: grayscale(10%);
 transition: all 0.3s ease;
 object-fit: cover;
}
.columna img:hover {
 cursor: pointer;
 background-color: rgb(233, 233, 233);
 transform: scale(.9);
}

.overlay {
 position: fixed;
 left: 0;
 top: 0;
 width: 100vw;
 height: 100vh;
 background-color: Orgba(0, 0, 0, 0.5);
 z-index: 10000;
 display: flex;
 justify-content: center;
 align-items: center;
 transition: all 0.7s ease;
 visibility: hidden;
 opacity: 0;
}
.overlay .slideshow {
 width: 90%;
 height: 90%;
 background-color: rgba(255, 255, 255, 0.9);
 color: #000;
 position: relative;
 display: flex;
 justify-content: center;
}
.slideshow img {
 height: 100%;
 width: 100%;
 object-fit: contain;
}
.btn_cerrar {
 position: absolute;
 top: -15px;
 right: -15px;
 font-size: 35px;
 background-color: rgba(0, 0, 0, 0.7);
 color: #fff3;
 width: 30px;
 height: 30px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 5px;
 transition: all 0.2s ease;
}
.btn_cerrar:hover {
 transform: scale(1.2);
 cursor: pointer;
}
.botones {
 width: 70px;
 height: 70px;
 border-radius: 50%;
 color: #000;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 70px;
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 cursor: pointer;
 color: rgb(240, 106, 45);
}
.botones:hover > i {
 transform: scale(1.1);
 transition: all 0.2s ease;
}

.atras {
 left: 20px;
}
.adelante {
 right: 20px;
}
#ri {
 pointer-events: none;
} 
@media screen and (max-width: 800px) {
 .columna {
  width: auto;
  flex-wrap: wrap;
   padding-top: 70px;
 }
 .columna img{
  height: 150px;
 }
 .botones {
   font-size: 55px;
 }
 .atras {
   left: 5px;
 }
 .adelante {
   right: 5px;
 }
 .slideshow img {
   width: 98%;
 }
 .title-project { 
  max-width: 50%;
  margin-top: -50px;
}
}
@media screen and (max-width: 600px) {
 .columna {
  flex-direction: column;
   /* flex: 100%; */
   width: 100%;
 }
 .columna img{
  width: 100%;
  height: 200px;
 }
 .title-project { 
  max-width: 98%;
  margin-top: -50px;
}

}
