.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 0px;
    font-size: 1.1rem;
}
#infoModal .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 50x;
    border: 1px solid #888;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh; /* Constrain height */
}
#infoModal .modal-content{
    overflow-y: auto;
}

.info-text-content {
    padding: 20px;
}

/* SCROLLBAR START */
/* Works on Firefox */
.modal-content{
    scrollbar-width: thin;
    scrollbar-color: rgb(26, 102, 64) rgb(138, 138, 165) ;
}
  
  /* Works on Chrome, Edge, and Safari */
.modal-content::-webkit-scrollbar {
    width: 12px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
}
  
.modal-content::-webkit-scrollbar-thumb {
    background-color: rgb(138, 138, 165);
    border-radius: 20px;
    border: 3px solid rgb(26, 102, 64);
}
/* END SCROLLBAR */

.close {
    color: #aaa; /* #aaa */
    float: right;
    font-size: 44px;
    font-weight: bold;
    padding: 10px;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

