/* styles.css */

/* General body styles */
body {
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark gray text */
    font-family: 'Roboto', Arial, sans-serif;
}

/* Adjust the main container */
.container {
    max-width: 600px;
    margin: auto;
}

/* Header styling */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff; /* Bootstrap primary color */
}

/* Card titles */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Custom button styles */
.btn {
    border-radius: 0.25rem;
}

/* Adjust the file input */
input[type="file"] {
    margin-bottom: 1rem;
}

/* Adjust the result container */
#resultContainer {
    display: none; /* Hidden by default */
    margin-top: 2rem;
}

#resultContainer h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

#resultImage {
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Media queries for responsiveness */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    #uploadPuzzle,
    #clearPuzzle {
        width: 48%;
    }

    .d-grid.gap-2.d-md-block {
        display: flex;
        flex-wrap: wrap;
    }

    .d-grid.gap-2.d-md-block button {
        flex: 1 1 auto;
    }
}

