body {
    font-family: Arial, sans-serif;
    text-align: center;
 
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    display: flex;  /*这两行保障按钮居中*/
    justify-content: center; 
}

.menu li {
    /*  float: left; */
	  display: inline-block;
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu li a:hover,
.menu li a.active {
    background-color: blue;
}

#controlsContainer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

#clearshuiyin {
    background-color: #89D961;
}

.control-group {
    display: flex;
    align-items: center;
    justify-content: center; /* Changed from flex-start to center */
    margin-top: 20px;
}

.control-group label {
    margin-right: 10px;
}

#douyinUrl {
    width: 300px;
    height: 200px;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    box-sizing: border-box;
    resize: vertical; /* Allow vertical resizing */
}

/* Paragraph styling */
p {
    max-width: 600px; /* Set the maximum width of paragraphs */
    margin-left: auto; /* Center the paragraph */
    margin-right: auto; /* Center the paragraph */
    font-size: 16px; /* Optional: Set font size */
    line-height: 1.6; /* Optional: Set line height for better readability */
    text-align: left;
}

/* 设置 footer 的样式，使其固定在页面底部 */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem;
    width: 100%;
    position: absolute;
    bottom: 0;
}

/* 按钮样式 */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 10px auto; /* Center the form container */
}

.form-container textarea {
	margin-bottom:10px;
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

.form-container button {
	margin-bottom:10px;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 40px;
    cursor: pointer;
    align-self: center;
}

.form-container button:hover {
    background-color: #45a049;
}
