* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: arial;
}

.modal {
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 16, 16, 0.8);
    position: fixed;
    top: 0;
    z-index: 999;
    display: none;
    opacity: 0;
}

.modal.active {
    display: block;
    opacity: 1;
}

.modal .inner_modal {
    max-height: 100vh;
    box-sizing: border-box;
    display: block;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    padding: 0 20px;
}


/* Hide scrollbar when the content is too long, but keep the functionality */

.modal .inner_modal::-webkit-scrollbar {
    display: none;
}

.modal .modal_content {
    width: 450px;
    max-width: 100%;
    background-color: white;
    display: block;
    margin: 5vh auto;
    padding: 50px;
    border-radius: 5px;
}


/* Superficial - you can remove these and everything still works */

h1 {
    padding-bottom: 20px;
}

button {
    display: block;
    margin: 50px auto;
    font-size: 40px;
    padding: 10px;
}
