body {
  background-color: #fff;
}

.screen {
  position: relative;
  margin: 50px auto;
  width: 80vw;
  height: 80vh;
  background-color: #fff;
  border-radius: 20px;
  background: url('../img/bg.png') center/cover no-repeat;

  display: none;
}


.screen.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-family: 'Comic Sans MS', sans-serif;
  padding: 20px;
  font-size: 3em;
  font-weight: bold;
  color: white;
  -webkit-text-stroke: 2px black;
}

#life {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 2em;
  font-weight: bold;
  color: white;
  -webkit-text-stroke: 2px black;
  z-index: 100;
}

#time {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 2em;
  font-weight: bold;
  color: white;
  -webkit-text-stroke: 2px black;
  z-index: 100;
}

p.next {
  color: #e74c3c;
  font-weight: bold;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
