@import url("../common.css");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  border-radius: 8px;
  box-shadow: black;
  flex-direction: column;
}

#container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 2em;
  max-width: 800px;
  width: 90%;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#eigenschaften {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 1em;
  max-width: 400px;
  width: 90%;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

#age {
  transform: translateX(20px);
}

#height {
  transform: translateX(25px);
}

#weight {
  transform: translateX(22px);
}

#bmi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  text-align: center;
}

#bmi input {
  padding: 0.5em;
  border-radius: 5px;
  border: none;
  text-align: center;
}

#bmi button {
  padding: 0.5em 1em;
  border: 1px solid white;
  border-radius: 5px;
  background-color: #ffffff33;
  color: white;
  cursor: pointer;
}

#bmi button:hover {
  background-color: #ffffff55;
}

#calc button:hover {
  background-color: #ffffff55;
}

#calc {
  padding: 0.5em 1em;
  border: 1px solid white;
  border-radius: 10px;
  background-color: #ffffff33;
  color: white;
  cursor: pointer;
}

#info{
  padding: 0.5em 1em;
  border: 1px solid white;
  border-radius: 10px;
  background-color: #ffffff33;
  color: white;
  cursor: pointer;
}

a.button,

button.button {
  background-color: #2e1a60;
  color: white;
  border: none;
  padding: 0.8em;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  margin-top: 10px;
}

a.button:hover,
button.button:hover {
  background-color: #2e1a47;
  transform: scale(1.03);
}
