
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000000;
    color: #00000;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    padding: 1.5rem 0 1rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}


main {
    flex: 1;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* CAMERA */
.camera-container {
    width: 640px;
    max-width: 92%;
}

/* CANVAS */
canvas {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* CONTROLS */
.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

/* GRUPOS DE BOTÕES */
.button-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== BOTÕES PADRÃO (FILTROS + CORES) ===== */
.option-btn {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

/* HOVER */
.option-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* SELECIONADO */
.option-btn.selected {
    background: #D9C2CD;
    color: #000000;
    border-color: #000000;
}

/* ===== BOTÃO DE CAPTURA (ÚNICO DIFERENTE) ===== */
#captureBtn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #D9C2CD;
    border: none;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden; /* ISSO é o mais importante */
}

/* imagem dentro do botão */
#captureBtn img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* hover sutil */
#captureBtn:hover {
    opacity: 0.9;
}


/* FOOTER */
footer {
    padding: 1.2rem 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8rem;
    color: #000000;
    opacity: 0.5;
}

/* RESPONSIVO */
@media (max-width: 700px) {
    h1 {
        font-size: 1.3rem;
    }

    .option-btn {
        font-size: 0.8rem;
    }
}
