.modal {
    z-index: 3;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #fff;
  }
  .modal-content {
    display: block;
  }
  .modal-btn {
    color: red;
    padding: 4px 8px;
    position: absolute;
    right: 10vw;
    top: 1vh;
  }
  .modal-btn:hover {
    background-color: red;
    color: white;
    cursor: pointer;
  }
  .animate-zoom {
    animation: animatezoom 0.8s;
  }
  
  @keyframes animatezoom {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
  .topright {
    position: relative;
    right: 0;
    top: 0;
  }
  .mod-img {
    object-fit: scale-down;
    display: block;
    max-height: 99vh;
    max-width: 99vw;
    margin: 0.5vh auto;
  }
  
  
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    margin-top: 10px;
  }
  
  input, textarea, button {
    margin-top: 5px;
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  button {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
  }
  button:hover {
    background-color: var(--dark-grey);
  }