/* styles.css */
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;
	 justify-content: center; /*菜单居中*/
}



        /* Article styling */
        article {
            margin-bottom: 20px; /* Add some space between articles */
        }
		

.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;
}

.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;
}

#height, #weight {
    /* Keep the size of the input fields the same */
}

 

  /* 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;
}
