*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #707070;
  background-color: white;
}

.container-gallery {
  margin: 0 auto;
  max-width: 700px;
  max-height: 100vh;
  background-color: white;
}

nav {
  flex: 1;
  text-align: right;
}
nav ul li {
  list-style: none;
  display: inline-block;
  margin-left: 60px;
  padding: 5px 10px;
  border-radius: 10px;
}
nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 5px 2px;
}
nav ul li a:hover {
  color: #e7c82f;
}
.featured-item {
  margin-top: 100px;
  border: 3px solid rgba(0, 0, 0, 0.904);
}

/* Useful Classes */
.xy-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.transition {
  transition: all 350ms ease-in-out;
}

.r-3-2 {
  width: 100%;
  padding-bottom: 66.667%;
  background-color: #ddd;
}

.image-holder {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Main Styles */
.gallery-wrapper {
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.904);
}

.gallery {
  position: relative;
  white-space: nowrap;
  font-size: 0;
}

.item-wrapper {
  cursor: pointer;
  width: 23%; /* arbitrary value */
  display: inline-block;
  background-color: white;
}

.gallery-item {
  opacity: 0.5;
}
.gallery-item.active {
  opacity: 1;
}

.controls {
  font-size: 0;
  border-top: none;
}
.move-btn {
  display: inline-block;
  width: 50%;
  border: none;
  color: black;
  background-color: transparent;
  padding: 0.2em 1.5em;
}
.move-btn:first-child {
  border-right: none;
}
.move-btn.left {
  cursor: w-resize;
}
.move-btn.right {
  cursor: e-resize;
}
