#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  .modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100vw;
    height:100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.95);
    object-fit: cover;

    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    object-fit: contain;
    margin: 0;
    display: flex;

    width: 100vw;
    height:100%;
 
    animation-name: zoom;
    animation-duration: 0.7s;
  
    opacity: 1;
  }
  
  @keyframes zoom {
    from {
      transform:scale(0);
      opacity: 0;
    }
    to {
      transform:scale(1);
      opacity: 1;
    }
  }
  
  .close {
    z-index: 9999;
    position: absolute;
    top: 35px;
    right: 35px;
    color: #f1f1f1;
    font-size: 75px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

  .img-cover:hover {cursor: pointer;}