@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400&family=Syne+Mono&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    background-image: url('assets/fundo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #1a1a1a;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

#canvas-container {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

button {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    padding: 14px 20px;
    margin: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

button:active {
    transform: translateY(0);
}

button img {
    filter: brightness(0) invert(1);
}

input[type="file"] {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 2px solid #2a2a2a;
    color: #1a1a1a;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
}

input[type="file"]:hover {
    background: rgba(255, 255, 255, 1);
}

#frase-final {
    font-family: 'Syne Mono', monospace;
    font-size: 1rem;
    color: #1a1a1a;
    margin-top: 20px;
    text-align: center;
    max-width: 80%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(3px);
    min-height: 20px;
}

#download-btn {
    background-color: #1a5490;
    border: 2px solid #0a3a70;
    margin-top: 20px;
    margin-bottom: 40px;
}

#download-btn:hover {
    background-color: #2a6aa0;
}

.label-apagamento {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Garantir que o canvas fique visível */
canvas {
    display: block;
    background: white;
    border-radius: 4px;
}
