body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #65c3da;
    margin: 0; /* Reset default body margins */
    min-height: 100vh; /* Ensure full viewport height */
}

h1 {
    color: #333;
}

#imageCanvas {
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#toolbar {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap to the next line */
    gap: 5px;
    justify-content: center; /* Center buttons horizontally */
}

button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px; /* Slightly larger padding for better touch experience */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px; /* Slightly larger font size */
    cursor: pointer;
    border-radius: 8px; /* More rounded corners */
    margin-bottom: 5px; /* Add some margin below each button */
}

button:hover {
    background-color: #3e8e41;
}

input[type="file"] {
    margin-bottom: 10px;
}

input[type="color"],
input[type="number"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

#transparencyOptions,
#resizeOptions {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: none;
}

#clippingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 2px dashed black;
    display: none;
    pointer-events: none;
}
