body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    flex: 1;
}

#board {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    white-space: nowrap; /* Permite rolagem horizontal */
}

#board.dark-mode {
    background-color: #1e1e1e !important;
    border-color: #444 !important;
}

#addNote {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

#noteColor {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.note {
    position: absolute;
    min-width: 150px; /* Ajuste para largura mínima */
    min-height: 100px; /* Ajuste para altura mínima */
    background-color: #ffeb3b;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: move;
    user-select: text;
    display: inline-block; /* Permite rolagem horizontal */
    text-align: center;
    font-family: 'Roboto', sans-serif; /* Fonte Roboto */
    font-weight: bold; /* Texto em negrito */
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.note-text {
    min-height: 80px;
    padding: 5px;
    cursor: pointer;
    user-select: text;
    white-space: pre-wrap;
    word-wrap: break-word;
    outline: none;
    text-transform: uppercase; /* Texto em maiúsculas */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.note-text:focus {
    outline: none;
}

.note[contenteditable="true"] {
    cursor: pointer;
    user-select: text;
}

.note.dark-mode {
    background-color: #333;
    color: #fff;
}

.deleteNote {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0.25rem 0.5rem;
    display: none; /* Esconder o botão inicialmente */
}

.note:hover .deleteNote {
    display: block; /* Mostrar o botão quando o mouse estiver sobre a nota */
}

footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
}

footer.dark-mode {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
}

.video-responsive {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

@media (max-width: 768px) {
    #board {
        height: 300px;
    }

    #addNote, #noteColor {
        top: 5px;
        padding: 5px 10px;
    }

    .note {
        min-width: 100px; /* Ajuste para largura mínima em telas menores */
        min-height: 75px; /* Ajuste para altura mínima em telas menores */
    }
}
