body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding: 1.5rem;
    background: linear-gradient(135deg, #121212, #1a1a1a, #141414);
    color: #f0f0f0;
}


.cabecalho {
    display: flex;
    justify-content: center;
    text-align: center;
}

.titulo-container,
.subtitulo-container,
.subtitulo-notas {
    font-family: 'Playfair Display', sans-serif;
    user-select: none;
}

.titulo-container {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
}

.gradiente-titulo {
    background: linear-gradient(90deg, #2ecc71, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.3);
}

.gradiente-titulo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    text-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.subtitulo-container {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: #81c784;
    letter-spacing: 0.03rem;
}

.secao-um {
    margin: 2.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.label-anotacao {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #f0f0f0;
}

#anotacao {
    width: 100%;
    max-width: 400px;
    height: 150px;
    resize: none;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1e1e1e;
    color: #f0f0f0;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

#anotacao::placeholder {
    color: #999999;
}

#anotacao:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.6);
    border-color: #00c8ff;
}

.btn-adicionar {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    background-color: #2ecc71;
    color: #ffffff;
    transition: background-color 0.2s ase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-adicionar:hover {
    background-color: #27ae60;
}

.container-subtitulo-notas {
    display: flex;
    justify-content: space-between;
}

.subtitulo-notas {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3498db;
    padding-bottom: 0.50rem;
    letter-spacing: 0.03rem;
}

.btn-limpar {
    width: 8rem;
    padding: 0.5rem 0;
    margin: 0.25rem;
    border: none;
    border-radius: 6px;
    background-color: #ef4c3c;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-limpar:hover {
    background-color: #c0392b;
}

.container-notas {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #1e1e1e;
    background: linear-gradient(135deg, #1a1a1a, #222222);
    padding: 1rem 2rem;
    gap: 1rem;
    border-radius: 10px;
    display: none;
    animation: containerFade 0.4s ease forwards;
}

@keyframes containerFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nota {
    font-size: 1rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    width: 20rem;
    max-width: 100%;
    padding: 0.5rem 1rem;
    letter-spacing: 0.05rem;
    box-shadow: 0 2px 12px rgba(0, 255, 255, 0.08);
    color: #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    user-select: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.3s forwards;
    position: relative;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nota:hover {
    transform: scale(1.03);
    border: 1px solid #00c8ff;
    box-shadow: 0 6px 20px rgba(0, 200, 255, 0.25);
}

.btn-excluir {
    position: absolute;
    top: 2px;
    right: 6px;
    border: none;
    background-color: transparent;
    color: #f44336;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.btn-excluir:hover {
    color: #d32f2f;
}