/* Reset default margin and padding for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply styles to the body */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
  padding: 20px;
}

/* Style the container for the BMI calculator */
.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 20px auto;
}

/* Style the headings */
h1 {
  background-color: #3498db;
  color: #fff;
  padding: 20px 0;
  font-size: 24px;
}

h3 {
  font-size: 18px;
  margin: 10px 0;
}

/* Style the input field and button */
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* Style the checkboxes and their labels */
label {
  display: block;
  margin: 10px 0;
}

input[type="checkbox"] {
  margin-right: 10px;
}

/* Style the result display */
#demo {
  font-weight: bold;
  margin: 20px 0;
  color: #333;
}

/* Style the hidden text */
#text {
  display: none;
}

