@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 22px;
  font-family: "Nunito", sans-serif;

  user-select: none;
}

@media screen and (max-width: 768px) {
  * {
    font-size: 16px;
  }
}

body {
  background-color: #0d1117;
  color: #f4f3f2;
  width: 100%;
  height: 100%;
}

strong {
  font-size: 20px;
}

sup {
  font-size: 12px;
}

span {
  font-size: 16px;
}

.hidden {
  display: none !important;
  transition: visibility 0s 2s, opacity 2s linear;
  opacity: 0;
}

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

.content {
  width: 100%;
  min-height: 100dvh;

  padding: 1em;

  text-align: center;
  position: relative;
}

.content > * {
  flex-shrink: 0;
  width: 100%;
}

.content#home > .button-container {
  margin-bottom: 60px;
}

@media screen and (min-width: 768px) {
  .content#home > .button-container {
    margin-bottom: 80px;
  }

  .content:not(#home) {
    padding: 0;
    width: 60%;
    margin: 0 auto;
  }
}

.content#login,
.content#loading,
.content#register,
.content[id$="Password"] {
  flex-direction: column;
}

.content#game {
  flex-direction: column;
  justify-content: center;
  row-gap: 20px;
  padding-top: 75px;
  justify-content: space-between;
}

.content#statistics {
  padding: 75px 0 35px 0;
}

@media screen and (min-width: 768px) {
  .content#game {
    padding-top: 0;
    justify-content: center;
  }
}

.content#howToPlay {
  padding: 25px;
  padding-top: 75px;
  justify-content: start;
  flex-direction: row;
}

@media screen and (min-width: 768px) {
  .content#howToPlay {
    padding: 1em;
    padding-top: 0;
    flex-direction: column;
    justify-content: center;
  }

  .content#options {
    flex-direction: column;
  }
}

.how-to-play-steps {
  display: flex;
  text-align: start;
  flex-direction: column;
  align-items: center;
  margin: 25px 0;
}

/*
 * Override the main content on small and unusual screens
 */
@media screen and (max-height: 600px) and (min-width: 1024px) {
  .content:not(#home):not(#game) {
    padding-top: 100px;
    padding-bottom: 20px;
  }
}
