.gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  justify-content: center;
}

.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

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

.gallery-item iframe{
  display: flex;
  height: 100%;
  width: 100%;
}

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

.gallery-item-1,
.gallery-item-3 {
  opacity: 0.3;
}

.gallery-item-2 {
  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);
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

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

.gallery-controls {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 30px auto;
  position: absolute;
}

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

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

.gallery-controls-previous {
  position: relative;
  content: "";
  background: url("../svg/chevron-left-solid.svg") no-repeat;
  background-size: contain;
  height: 24px;
  width: 24px;
  z-index: 200;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-controls-previous::before {
  display: none;
}

.gallery-controls-next {
  position: relative;
  content: "";
  background: url("../svg/chevron-right-solid.svg") no-repeat;
  background-size: contain;
  height: 24px;
  width: 24px;
  z-index: 200;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-controls-next::before {
  display: none;
}

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

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