@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}

/* Body */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  background-color: rgb(169, 252, 248);
}
/* header */
h1 {
  font-size: 18px;
  margin-bottom: 15px;
  font-size: 32px;
}
footer {
  text-align: center;
  margin-top: 20px;
  color: rgb(10, 10, 10);
}

/* main part(Div): */
.container {
  width: 500px;
  background-color: rgb(189, 234, 252);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 10px;
}
/* message */
.message {
  font-size: 18px;
  font-weight: bold;
  color: red;
  margin-top: 10px;
  text-align: center;
}

.upper-part {
  width: 100%;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.upper-part div {
  height: 120px;
  width: 120px;
  color: rgb(216, 30, 30);
  background-color: rgb(13, 17, 2);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

span {
  font-size: 30px;
  font-weight: 500;
}

p {
  font-size: 15px;
  color: gray;
  font-weight: 400;
}

/* lower Div: */
.lower-part {
  display: flex;
  justify-content: space-between;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
  background-color: rgb(23, 22, 22);
}


/* Input date (part): */
input {
  width: 60%;
  height: 50px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  background-color: rgb(250, 211, 237);
  color: black;
}


/* Calculate age(part): */
button {
  width: 35%;
  height: 50px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  background-color: rgb(147, 174, 252);
  color: black;
  cursor: pointer;
}

button:active {
  transform: scale(0.95);
}
