.gallery {
  /* width: 100%; */
}

.gallery-container {
  align-items: center;
  display: flex;
  height: 400px;
  margin-top: 100px;
  /* position: relative; */
  background-color: #111;
}

.gallery-item {
  height: 150px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  /* width: 150px; */
  z-index: 0;
}


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

.gallery-item-2,
.gallery-item-4 {
  height: 200px;
  opacity: 1;
  /* width: 200px; */
  z-index: 1;
}

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

.gallery-item-3 {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
  height: 300px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  /* width: 300px; */
  z-index: 2;
}

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

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

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

.gallery-controls button {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.8);
  /* cursor: pointer; */
  border: 0;
  font-size: 16px;
  font-weight: bold;
  font-size: 18px;
  color: rgba(0, 0, 0, 0);
  margin: 0px 0px;
  margin-top: 0;
  padding: 16px;
  text-transform: capitalize;
  z-index: 3;
}

.gallery-controls-_-{
  position: absolute;
  left: 10px;
  border-radius: 0 3px 3px 0;
}

.gallery-controls-_-::before {
  border: solid #000;
  border-width: 0 2px 2px 0;
  position: absolute;
  display: inline-block;
  transform: rotate(135deg);
  content: '';
  height: 4px; 
  width: 4px;
  left: 20px;
  top: 20px;
  padding: 3px;
}

.gallery-controls--_ {
  position: absolute;
  right: 10px;
  border-radius: 3px 0 0 3px;
}

.gallery-controls--_::before {  
  border: solid #000;
  border-width: 0 2px 2px 0;
  position: absolute;
  display: inline-block;
  transform: rotate(-45deg);
  content: '';
  height: 4px;
  width: 4px;
  right: 20px;
  top: 20px;
  padding: 3px;
}

.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;
}