

.modal {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 2000ms ease-in-out;
  border-radius:39px;
  z-index: 1;
  background-color: #154FA3;
  width: 500px;
  max-width: 80%;
  background: rgba(200, 54, 54, 0.5);
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #021126;
  width: 500px;
  height: 40px;
  color:white;
}

.modal-header .title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  color:white;

}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 1.25rem;
  font-weight: bold;
  color:white;
}

::-webkit-scrollbar {
              display: none;
              }
.modal-body {
display: inline-block;
          background-color: #0F3670 ;
          width: 500px;
          height: 500px;
object-fit: cover;
          padding: 0px;
          margin: 0px;
          color: #8EB2EE;
          text-decoration: none;
          font-weight: bold;
          font-size:12px;
          overflow: auto;
        }

#overlay {
  position: fixed;
  opacity: 0.9;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}
