.modal-checkbox {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  transition: opacity 0.3s ease;
  z-index: 100;
  display: none;
}

.modal label {
  color: #fff;
  background: var(--navy);
  padding: 5px 0;
  display: block;
  margin: 0 auto;
  width: 25%;
  text-align: center;
  transition: all 0.3s ease-in;
}

.modal label:hover {
  color: var(--navy);
  background: var(--lightbl);
}

.modal-content {
  width: 75%;
  height: 75%;
  background: transparent;
  position: fixed;
  left: 12.5%;
  top: 5%;
}

.modal-checkbox:checked ~ .modal {
  display: block;
}
