* {
  box-sizing: border-box;
}

body {
  font-family: Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10vh 0;
  background-color: black;
}

.images {
  height: 400px;
  width: 100%;
  min-width: 40%;
  border-radius: 10px;
}

.icons:hover .fas {
  display: inline-block;
}

/* Slideshow container */
.container {
  width: 580px;
  position: relative;
  margin: 0;
}

/* Next & previous icons inactive */

.fas {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 18px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Next & previous icons on hover */

.fa-angle-right:hover {
  opacity: 1;
  color: white;
  background-color: black;
}

.fa-angle-left:hover {
  opacity: 1;
  color: white;
  background-color: black;
}

/* Position the "next icon" to the right */
.fa-angle-right {
  right: 0px;
  border-radius: 3px 0 0 3px;
}

/* Image umbering (1/3 etc) */
.numbering {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens,
decrease image and icon size  */

@media only screen and (max-width: 350px) {
  .images {
    height: 200px;
    width: 100%;
    min-width: 40%;
    border-radius: 10px;
  }

  .fas {
    opacity: 0;
    cursor: pointer;
    position: absolute;
    padding: 12px;
    color: white;
    background-color: black;
    font-weight: bold;
    font-size: 10px;
    transition: 0.6s ease;
    top: 50%;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .fa-angle-right {
    right: 0px;
    border-radius: 3px 0 0 3px;
  }

  .container {
    width: 580px;
    position: relative;
    margin: 0;
  }
}
