@font-face {
  font-family: "Quicksand";
  src: url("./assets/fonts/Quicksand.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

html {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  font-size: min(calc(100vw * (16 / 720)), calc(100vh * (16 / 360)));
}

body {
  margin: 0;
  padding: 0;
}

#html-screen-root {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
}

.credits-screen {
  font-family: "Quicksand";
  display: flex;
  flex: 1;
  flex-direction: column;
  height: calc(100% - 96px);
  gap: 16px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.screen-title {
  font-size: 24px;
  font-weight: 700;
  color: #fdf36d;
  text-align: center;
}

.credits-screen-content {
  padding-inline: 24px;
  flex: 1;
  overflow-y: scroll;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.image-button {
  width: 181px;
  height: 82px;
  background-image: url("./assets/continue.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  background-color: transparent;
  font-family: "Quicksand";
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.screen-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.credits-text {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
}

.credits-list {
  list-style-type: square;
}

.credits-list-item {
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  padding-bottom: 8px;
}

.credits-link {
  color: #fdf36d;
  text-decoration: none;
}

.credits-screen-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.credits-footer-text {
  font-size: 14px;
  font-weight: 500;
  color: #b9b9b9;
}
