.gallery-container {
  width: 100%;
  align-items: center;
  display: flex;
  height: 500px;
  margin: 0 auto;
  position: relative;
}

.gallery-item {
  height: 150px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 150px;
  z-index: 0;
 display:flex;
 align-items:center;
 justify-content: center;
 text-align: center;
 color:#fff;
	background:#fff;
}

.gallery-item p {color:#fff;}

.gallery-item a, .gallery-item i { color:#fff; font-family:roboto-b;}
.gallery-item a:hover { color:#000;}

.gallery-item-1 {
  left: 15%;
  opacity: .4;
  transform: translateX(-50%);
  font-size:10px; 
}

.gallery-item-2,
.gallery-item-4 {
  height: 220px;
  opacity: 1;
  width: 220px;
  z-index: 1;
  font-size:10px;	
}

.gallery-item-2 {
  left: 29%;
  transform: translateX(-50%);
	opacity: .5;
}

.gallery-item-3 {
  
  height: 380px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  z-index: 2;
}

.gallery-item-3 p {font-size:1.5rem; line-height:2rem;}
.gallery-item-1 p, .gallery-item-5 p {font-size:1rem; line-height:1.3rem;}

.gallery-item-4 {
  left: 71%;
  transform: translateX(-50%);
opacity: .5;
}

.gallery-item-5 {
  left: 85%;
  opacity: .4;
  transform: translateX(-50%);
	font-size:10px;
}



.gallery-controls {
  display: flex;
  justify-content: center;
  
}

.gallery-controls button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  margin: 0 20px;
  padding: 1em 2.5em;
  text-transform: capitalize;
	
}

.gallery-controls button:focus {
  outline: none;
}

.gallery-controls-Anterior {
  position: relative;
}

.gallery-controls-Anterior::before {
  border: solid #fff;
  border-width: 0 5px 5px 0;
  content: '';
  display: inline-block;
  height: 20px;
  left: -20px;
  padding: 2px;
  position: absolute;
  top: -2px;
  transform: rotate(135deg) translateY(-50%);
  transition: left 0.15s ease-in-out;
  width: 20px;
	
}

.gallery-controls-Anterior:hover::before {
  left: -30px;
}


.gallery-controls-Siguiente {
  position: relative;
}

.gallery-controls-Siguiente::before {
  border: solid #fff;
  border-width: 0 5px 5px 0;
  content: '';
  display: inline-block;
  height: 20px;
  padding: 2px;
  position: absolute;
  right: -20px;
  top: 18px;
  transform: rotate(-45deg) translateY(-50%);
  transition: right 0.15s ease-in-out;
  width: 20px;
}

.gallery-controls-Siguiente:hover::before {
  right: -30px;
}

.gallery-nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery-nav li {
  background: #ccc;
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery-nav li.gallery-item-selected {
  background: #555;
}