/* Modal Styles */
.modal {
   display: none;   
   position: fixed; 
   z-index: 1;   
   padding-top: 50px;     
   left: 0;
   top: 0;
   width: 100%;  
   height: 100%;
   overflow: auto;   
   background-color: rgb(0, 0, 0);  
   background-color: rgba(0, 0, 0, 0.2);   
}

.modal-content-wrapper {
   position: relative;
   margin: auto;
   width: 80%;
   max-width: 700px;
}

.modal-content,#caption {
   -webkit-animation-name: zoom;
   -webkit-animation-duration: 0.6s;
   animation-name: zoom;
   animation-duration: 0.6s;
}

.modal-content {   
   margin: auto;
   display: block;
   width: 80%;
   max-width: 700px;
   max-height: 90vh;
 }

#caption {
   margin: auto;
   display: block;
   width: 100%;
   max-width: 700px;
   text-align: center;
   background-color:#ff6600;
   color:white;
   padding: 10px 0;
   height: auto;

 }

 .close {
   position: absolute;
   top: 10px; /* Adjust as needed */
   right: 15px; /* Adjust as needed */
   color: black;
   font-size: 40px;
   font-weight: bold;
   cursor: pointer;
 }
 
.close:hover,
.close:focus {
   color: red;
   text-decoration: none;
   cursor: pointer;
}