.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
  }
  .modal-active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.1px;
    /* color: #a1a1a1; */
    font-size: 14px;
    font-weight: 400;
  }
  .modal {
    background-color: #ecf0f2;
    margin: auto;
    padding: 20px;
    /* border: 1px solid #888; */
    width: 90%;
    max-width: 450px;
    border-radius: 5px;
    position: relative;
  }
  .modal-body {
    text-align: center;
    text-align: justify;
    padding: 10px;
  }
  
  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: black;
  }
 
  #modal-toggle {
    color: black;
    position: absolute;
    font-size: 20px;
    right: 0;
    bottom: 0;
    margin: 10px;
    cursor: pointer;
  }



  /*dark mode*/
@media (prefers-color-scheme: dark) {
    .modal {
        background-color: #242424;
    }
    #modal-toggle {
        color: white;
    }
    .modal-close {
        color: white;
    }
}
  
  