body {
    height: 100vh;
    width: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;

}

header {
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
}

main {
    width: 100%;
    height: 100%;
}

.editor {
    width: 100%;
    height: 100%;
    background-color: rgb(32, 32, 32);
    display: flex;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.5;
    border: 1px solid rgb(72, 72, 72);
    border-radius: 5px;
}

.editor .lines-number {
    width: 60px;
    height: 100%;
    text-align: end;
    font-size: 16px;
    padding: 10px;
    color: rgb(72, 72, 72);
}

.editor textarea {
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.5;
    resize: none;
    width: 100%;
    height: 100%;
    border: none;
    background-color: inherit;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.editor textarea:focus,
.editor textarea:active {
    border: none;
    outline: none;
}

footer {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
}

button {
    min-width: 80px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: 1px solid rgb(72, 72, 72);
    background-color: rgb(32, 32, 32);
    border-radius: 5px;
}

button:hover {
    background-color: rgb(72, 72, 72);
}

.output {
    padding: 10px;
    width: 100%;
    height: 100%;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.5;
    font-size: 16px;
    overflow: auto;
}

dialog {
    padding: 30px;
    margin: auto;
    border: 1px solid rgb(72, 72, 72);
    border-radius: 5px;
}

.modal-share {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.modal-share>input {
    padding: 10px;
    font-size: 16px;
    min-width: 300px;
    background-color: rgb(32, 32, 32);
    border: 1px solid rgb(72, 72, 72);
    border-radius: 5px;
}

.modal-share>input:focus,
.modal-share>input:active {
    outline: none;
}

.modal-share>div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.msg-error {
    color:rgb(190, 32, 32);
}