.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #4a90e2;
    text-align: center;
    margin-bottom: 20px;
}

.controls-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.row-group {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

label {
    font-weight: 600;
}

.input-full {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.canvas-container {
    width: 100%;
    text-align: center;
}

#imageCanvas {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #5cb85c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #4cae4c;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .controls-container {
        grid-template-columns: 1fr;
    }

    .row-group {
        flex-direction: column;
    }
}

#mainContentHeader {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#mainContentHeader a {
    width: 30%;
    align-content: center;
}