* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: BagelFatOne;
  src: url(./assets/fonts/BagelFatOne.ttf);
}
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: url(./assets/images/bg-cover.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}
body::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(20, 20, 80, 0.1);
}
a {
  text-decoration: none;
}
.big-daddy {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.daddy {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 999;
}
#credits {
  position: absolute;
  left: -16px;
  top: 14px;
  transform: translateX(-100%);
}
.credits-content {
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(250, 250, 255, 0.3);
  box-shadow: 0px 0px 14px #bfc2cb;
}
#credits h1 {
  color: #11455d;
  font-size: 16px;
  font-weight: 500;
}
#credits h2 {
  color: #af2f28;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 20px;
  margin-top: 6px;
}
.social-info {
  display: flex;
  align-items: center;
  column-gap: 26px;
  margin-top: 18px;
}
.social-info .social-link svg {
  width: 26px;
  fill: #11455d;
}
#credits .view-source-button {
  display: flex;
  align-items: center;
  column-gap: 8px;
  background-color: #11455d;
  border-radius: 10px;
  color: #fafafa;
  padding: 12px 16px;
  margin-top: 18px;
}
#credits .view-source-button svg {
  width: 20px;
}
.scoreboard {
  position: absolute;
  top: 16px;
  left: 0px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}
.scoreboard .floors {
  color: #af2f28;
  display: flex;
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 900;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
  letter-spacing: 1px;
}
.scoreboard .floors #floor-number {
  font-weight: 800;
  font-size: 5.5rem;
  line-height: 4.5rem;
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    2px 2px 0 #fff;
}
.scoreboard #score {
  min-width: 110px;
  height: max-content;
  color: #fff;
  background: rgba(70, 20, 20, 0.6);
  padding: 2px 12px 2px 45px;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
  text-align: right;
}
.scoreboard #score img {
  position: absolute;
  width: 100%;
  max-width: 50px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-40%);
}
.scoreboard #hearts-container {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-top: 14px;
}
.scoreboard #hearts-container img{
  width: 34px;
}

.result-main {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #7bbcff, #b8fdfd);
  position: relative;
}
.overlay {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.3);
  top: 0;
  left: 0;
}
.resut-bg {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.scorecard-container {
  height: auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 10vh;
  font-family: BagelFatOne;
}
.scorecard-container img {
  width: 100%;
  max-width: 350px;
}
.scores {
  width: max-content;
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
}
.floor-score {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  background: #af2f28;
  border: 4px solid #f8884d;
  border-radius: 50px;
  padding: 8px 22px;
  color: #fff;
  letter-spacing: 1.5px;
}
.score-text {
  text-align: center;
  color: #af2f28;
  margin-top: 26px;
  letter-spacing: 1px;
}
#total-score {
  text-align: center;
  color: #af2f28;
  font-size: 60px;
  line-height: 65px;
}
.play-again-btn {
  position: absolute;
  display: flex;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
}
.result-main footer {
  width: 100%;
  height: 90px;
  padding: 4px 20px;
  background: #e2e2e5;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.result-main footer h1 {
  color: #11455d;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.result-main footer h1 a {
  color: #af2f28;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 18px;
}
.result-main footer .social-info {
  margin-top: 12px;
}
@media screen and (min-width: 451px) {
  .daddy {
    max-width: 450px;
  }
}
