@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  background-color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.heading {
  padding: 1rem 0;
  color: steelblue;
  background: white;
  box-shadow: 0px 2px #bababa;
  margin-bottom: 1rem;
}

.container {
  max-width: 600px;
  margin-inline: 20px;
  height: auto;
  background-color: #eee;
  border-radius: 7px;
  overflow: hidden;
}

.base {
  width: 100%;
  margin: 0;
}

h2 {
  text-align: center;
}

.inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  column-gap: 10px;
  margin-bottom: 2rem;
}

.blocks {
  width: 100%;
  padding: 5px;
}

.title {
  text-align: center;
  font-weight: 400;
  letter-spacing: 2.7px;
  color: #022c53;
}

input[type='text'] {
  width: 100%;
  margin: auto;
  outline: none;
  min-height: 50px;
  border: 2px solid #1073d0;
  padding: 12px;
  background-color: #f7f7f7;
  border-radius: 7px;
  color: #1073d0;
  font-size: 1.1rem;
}

input[type='text']:focus {
  background-color: #ffffff;
  border: 2px solid #333;
  outline: none;
}

.btn {
  display: block;
  width: 50%;
  text-transform: uppercase;
  font-size: 1rem;
  color: white;
  border: none;
  background-color: steelblue;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  margin-inline: auto;
  padding: 12px;
  border-radius: 7px;
  cursor: pointer;
}

.btn:hover {
  background-color: hsl(207, 44%, 39%);
}

#age {
  display: block;
  text-align: center;
  /* margin: 35px 10px 10px 10px; */
  /* margin: 35px 10px 10px 10px; */
  padding: 10px 10px 20px 10px;
  font-size: 1.5rem;
  font-weight: 400;
  color: steelblue;
}

.copy-right {
  margin-top: 20px;
  font-size: 12px;
  color: white;
}
