/* 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;
}

.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;
	}


/* 创建一个弹性盒子布局，使 .wrapper 占据剩余空间 */
wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* 确保 main 内容占据尽可能多的空间 */
main {
    flex: 1;
}

/* 设置 footer 的样式，使其固定在页面底部 */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem;
}

 