.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    height: 100%;
    width: 100%;
    z-index: 20;
    display: none;
    place-items: center;
}

.modal-content {
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: max-content;
    width: 500px;
    box-shadow: 0 0 10px #2d2d2d30;
    border-radius: 8px;
    padding: 40px 0 40px 0;
    gap: 20px;
}

.modal-content label, .modal-content button{
    width: 80%;
}

.modal-content label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    background-color: #2d2d2d20;
    border: none;
    border-radius: 5px;
}

.modal-content input:focus-visible {
    outline: none;
}

.modal-content button {
    padding: 10px;
    background-color: #2d2d2d;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content a:hover {
    text-decoration: underline;
}

#error-field {
    width: 80%;
    background-color: rgba(255, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
}

#editor {
    height: 100%;
}

@media only screen and (max-width: 650px) {
    .modal-content {
        width: 80%;
    }

    .modal-content a {
        width: 80%;
    }
}
