/* 设置页面背景 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(90deg, #eea2a2 0%, #bbc1bf 19%, #57c6e1 42%, #b49fda 79%, #7ac5d8 100%);
    display: flex;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img {
    width:auto;
    max-width: 100%;
    height: auto;
}

/* 美化 <p> 标签中的文字 */
p {
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* 美化 <canvas> 元素 */
canvas {
    border: 2px solid #333;
    margin-bottom: 20px;
    width: 100%;
            height: auto;
}

/* 美化输入框 */
input[type="color"],
input[type="file"] {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* 输入框悬浮效果 */
input[type="color"]:hover,
input[type="file"]:hover {
    border-color: #333;
}
