.facilities_title {
  text-align: center;
  color: #0a4971;
  margin-top: 1.5vw;
}

.facilities_container {
  background-color: #f2f2f2;
  color: #0a4971;
  border: 1px solid #0a4971;
  border-radius: 20px;
  position: relative;
  width: 95%;
  margin: 1.5vw auto 1.5vw auto;
  overflow: hidden;
}

.facility {
  text-align: center;
  padding: 10px 40px 20px 40px;
  position: relative;
  word-wrap: break-word;
}

.facility_img {
  width: 100%;
  margin: auto;
  overflow: auto;
  border-radius: 10px;
  cursor: grab;
  will-change: scroll-position;
}

.facility_img:active {
  cursor: grabbing;
}

.facility_img img {
  height: 400px;
  transition: transform 0.1s ease;
}

.overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #f2f2f2;
  padding: 0px 20px 1px 20px;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
  z-index: 1;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 00);
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  z-index: 2;
}

.next,
.equipment_next {
  right: 0;
}

.prev,
.equipment_prev {
  left: 0;
}

.equipment_container {
  width: 92.5%;
  background-color: #0a4971;
  border: 5px solid #0a4971;
  color: #f2f2f2;
  margin: auto;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 1.5vw 1vw 1.5vw 1vw;
  border-radius: 20px;
}

.equipment_carousel {
  margin-right: 2vw;
  margin-left: 2.3vw;
  max-width: 90vw;
  display: flex;
  transition: transform 0.5s ease;
}

.equipment {
  color: #0a4971;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  background: #f2f2f2;
  border: 5px solid #0a4971;
  border-radius: 20px;
}

.equipment img {
  padding-top: 1.5vw;
  max-width: 80%;
}

.equipment_prev {
  left: 4vw;
}

.equipment_next {
  right: 4vw;
}

@media only screen and (max-width: 600px) {
  .overlay img {
    width: 100px;
    height: auto;
  }

  .equipment {
    min-width: 100%;
  }
}

@media only screen and (min-width: 600px) {
  .overlay img {
    width: 200px;
    height: auto;
  }

  .equipment {
    min-width: 33.33%;
  }
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 992px) {
}
