Image
.popup { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.9); } .popup-content { display: block; margin: 0 auto; max-width: 80%; max-height: 80%; } .close { color: white; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; cursor: pointer; }