@import url('https://fonts.googleapis.com/css2?family=Playwrite+HU:wght@100..400&display=swap');


body {
    background-color: black;
    color: white;
    margin: 0;
    font-family: "Playwrite HU", cursive;
    font-optical-sizing: auto;
    font-style: normal;
}

body::-webkit-scrollbar {
  display: none;
}

.container {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.en {
    border: 2px solid #bebdb4;
    border-radius: 10px;
    width: 40%;
}

#help-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
  background: black;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
  z-index: 10000;
}
#help-btn:hover,
#help-btn:focus {
  background: white;
  color: black;
  outline: none;
}

#rules-dialog {
  position: fixed;
  inset: 0;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  font-family: "Playwrite HU", cursive;
  overflow-y: auto;
}

#rules-dialog[hidden] {
  display: none;
}

#rules-dialog::-webkit-scrollbar,
.dialog-content::-webkit-scrollbar {
  display: none;
}

.dialog-content {
  width: 100vw;
  height: 100vh;
  padding: 40px 60px;
  overflow-y: auto;
  background: black;
  box-shadow: 0 0 20px #8a2be2;
  position: relative;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.dialog-content h1 {
  margin-top: 0;
  font-size: 2.5rem;
  text-shadow: 0 0 10px #8a2be2;
}

.dialog-content p {
  font-size: 1.25rem;
  line-height: 20px;
  white-space: pre-wrap;
}

.hint {
    display: none;
}