.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

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

.item img {
    cursor: pointer;
}

#compareTitle {
    color: white;
    font-size: 20px;
    font-family: sans-serif;
    margin-bottom: 10px;
}

#compareCaption {
    color: white;
    font-family: sans-serif;
}

#compareState {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    color: red;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
}

#compareImage {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}
