/*  Styles for Homework 4 */

/* centers the heading 1 tag */
h1 {
  text-align: center;
  margin-bottom: 10px;
}

/* ID for the section where the counter resides */
#container {
  padding: 20px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* class that centers the stork image */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* React card styles moved out of inline styles */
.birthCard {
  width: 420px;
  text-align: center;
  background-color: #000;
  padding: 40px;
  font-family: sans-serif;
  color: #999;
  border-radius: 12px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.35);
}

.birthNumber {
  font-size: 56px;
  font-weight: 700;
  color: #3fd6ff;
  margin: 10px 0 20px 0;
}

.birthTitle {
  margin: 0;
  font-size: 26px;
  letter-spacing: 1px;
  color: #777;
}

.birthSub {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: #666;
}

/* ID for the source information section */
#source_info {
  padding: 15px;
  background-color: #eee;
  border-radius: 20px;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 1px 1px 5px #333;
  font-size: .85em;
}

/* ID that styles the Like button area */
#like {
  padding: 15px;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.likeWrap {
  text-align: center;
}

.likeBtn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}

/* class that changes the color of the heart icon to red */
.fa_custom {
  color: #db0808;
  margin-right: 6px;
}

/* ID that centers the validation text */
#validation {
  text-align: center;
}

/* adds a margin around the entire footer */
footer {
  margin: 50px;
}