body {
  font-family: Verdana, sans-serif;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay[hidden] {
  display: none !important;
}

#top {
  border: 5px solid #ccc;
}

#close {
  position: fixed;
  top: 102%;
  left:50%;
  transform: translate(-102%, -50%);
}

#prev-arrow, #next-arrow {
  position: fixed;
  top: 50%;
  font-size: 60px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  border-radius: 5px;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

#prev-arrow {
  left: 20px;
}

#next-arrow {
  right: 20px;
}

#prev-arrow:hover, #next-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}