@font-face {
  font-family: 'DarumaDrop';
  src: url('/Portfolio/font/DarumadropOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
  margin: 0;
  font-family: "Darumadrop", sans-serif;
  background-color: black;
  color: white;
  overflow: hidden;
}


#win-screen .crown {
  width: 100px;
  margin-bottom: 20px;
}

#win-screen h1 {
  font-family: "Darumadrop", sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

#win-screen .buttons button {
  margin: 10px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
}

.screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.character {
  width: 300px;
  height: 300px;
  position: absolute;
}

.left {
  left: 100px;
  bottom: 100px;
}

.right {
  right: 100px;
  top: 100px;
}

.heart {
  position: absolute;
  width: 40px;
  height: auto;
}

#life1 { right: 10px; top: 20px; }
#life2 { right: 10px; top: 70px; }
#life3 { right: 10px; top: 120px; }

#life4 { left: 10px; bottom: 120px; }
#life5 { left: 10px; bottom: 70px; }
#life6 { left: 10px; bottom: 20px; }

.name-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

input {
  padding: 10px;
  font-size: 16px;
  width: 250px;
  text-align: center;
}

button {
  font-family: "Darumadrop", sans-serif;
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.error-message {
  color: red;
}
