div.modal{
    display: none; /* block by default */
    justify-content: center;
    align-items: center;
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: none; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

div.modal-content {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--white-default);
    margin: 15% auto; /* 15% from the top and centered */
    border: none;
    border-radius: 10px;
    width: max(300px, 30%); /* Could be more or less, depending on screen size */
    height: 140px;
    font-size: 1.2rem;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

div.modal-content p {
    text-align: center;
    width: 100%;
    padding-left: 3px;
    padding-right: 3px;

    font-family: var(--text-font);
}

div.modal-title {
    border-radius: 5px 5px 0px 0px;
    padding: 5px;
    justify-content: space-between;
    width: 100%;
    background-color: var(--yellow-default);
}

div.modal-title > h2 {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    color: var(--black-default) !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;

    transition: 0.3s;
    margin-right: 10px;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-texts {
    height: 100%;
    width: 100%;
}