.container {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.font-buttons,
.text-buttons {
    opacity: 0.8;
    padding: 10px;
}

.emoji-button {
    display: inline-block;
    padding: 5px 10px;
    font-size: 1.2em;
}

.emoji-button:hover {
    cursor: pointer;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.handwriting {
    font-family: "Homemade Apple", cursive;
    font-size: 1em;
}

.monospace {
    font-family: "Cutive Mono", monospace;
    font-size: 1.2em;
}

.serif {
    font-family: "Crimson Text", serif;
    font-size: 1.3em;
    line-height: 1.4em;
}

#editor {
    width: 100%;
    min-width: 300px;
    height: 50%;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    /* background-color: #fff; */
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    /* Enable scrolling when the content overflows */
    margin-bottom: 50%;
    margin-top: 20px;
}

#editor:empty::before {
    content: attr(data-placeholder);
    color: rgba(0, 0, 0, 0.3);
    /* Adjust the color as needed */
    pointer-events: none;
    display: block;
    font-style: italic;
}

.white {
    color: rgba(0, 0, 0, 0.03);
}

.black {
    color: black;
}

/* Add the fade classes */
.fade-5 {
    color: rgba(0, 0, 0, 0.8);
}

.fade-4 {
    color: rgba(0, 0, 0, 0.6);
}

.fade-3 {
    color: rgba(0, 0, 0, 0.4);
}

.fade-2 {
    color: rgba(0, 0, 0, 0.2);
}

.fade-1 {
    color: rgba(0, 0, 0, 0.1);
}

.notif {
    height: 20px;
    text-align: center;
    font-style: italic;
    color: rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.notif.show {
    opacity: 1;
}

.hover-effect {
    color: black;
}
