.gallery {
  width: 100%;
  position: relative;
}

.gallery-container {
  align-items: center;
  display: flex;
  height: 495px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}

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

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

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

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

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

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

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

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 9;
  position: absolute;
}

.gallery-controls button {
  background-color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  margin: 0px 200px;
  padding: 0 12px;
  text-transform: capitalize;
  height: 120px;
  width: 120px;
  border-radius: 50%;
}

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

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

.gallery-controls-previous::before {
  border: solid #e4b455;
  border-width: 0 4px 4px 0;
  content: '';
  display: inline-block;
  height: 0px;
  left: -1px;
  padding: 15px;
  position: relative; 
  top: -2px;
  transform: rotate(135deg) translateY(-30%);
  transition: left 0.15s ease-in-out;
  width: 0px;
}

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

.gallery-controls-next::before {
  border: solid #e4b455;
  border-width: 0 4px 4px 0;
  content: '';
  display: inline-block;
  height: 0px;
  padding: 15px;
  position: relative;
  right: 10px;
  top: -2px;
  transform: rotate(-45deg) translateY(27%);
  transition: right 0.15s ease-in-out;
  width: 0px;
}

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

/*
* Custom 
*/

button.gallery-controls-add {
  display: none;
}