/* style.css */

/* RESET de margens e padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body e layout geral */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Títulos */
h1 {
    margin-bottom: 20px;
    color: #333;
}

/* Formulário */
.form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Inputs e selects */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input[type="file"] {
    padding: 5px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

canvas-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#canvas {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .canvas-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    button {
        font-size: 14px;
    }

    .form-container {
        gap: 15px;
    }

    h1 {
        font-size: 24px;
    }
}
