body.puzzlebang-root {
  background-color: #10854b;
  color: #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
}

main h1, main h2 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
main .MuiCard-root h2 {
  margin-top: 0 !important;
}

a {
  color: #1e90ff;
  text-decoration: none;
}
a:hover {
  color: #63b3ed;
}

a.no-link-style {
  color: inherit;
  text-decoration: none;
}
a.no-link-style:hover {
  text-decoration: none;
}

.main-header {
  font-family: "Kanit", sans-serif;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.main-header .logo {
  align-items: center;
  display: flex;
  flex: 0 0 130px;
  justify-content: center;
  margin-right: 20px;
  position: relative;
}
.main-header .logo .logo-link {
  width: 90%;
  height: 90%;
}
.main-header .title-wrapper {
  flex: 2;
}
.main-header .title {
  margin-top: 8px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 8px;
}
.main-header .subtitle {
  font-weight: 400;
  margin: 0;
}

.main-content {
  flex: 1;
}

.main-footer {
  font-family: "Kanit", sans-serif;
  align-items: center;
  background-image: repeating-conic-gradient(rgb(0, 0, 0) 0%, rgb(0, 0, 0) 25%, rgb(45, 45, 45) 0%, rgb(45, 45, 45) 50%);
  background-size: 70px 40px;
  box-sizing: border-box;
  display: flex;
  height: 54px;
  justify-content: center;
  margin-top: 30px;
  padding: 8px;
  width: 100%;
}
.main-footer a {
  color: #888888;
}
.main-footer a:hover {
  color: #bbbbbb;
}

@media all and (max-width: 500px) {
  .main-header {
    flex-wrap: wrap;
  }
  .main-header .logo {
    max-height: 50px;
    order: 1;
    margin-bottom: 8px;
  }
  .main-header .logo-img {
    max-height: 50px;
  }
  .main-header .title-wrapper {
    min-width: 100%;
    order: 3;
  }
  .main-header .title-wrapper .title {
    font-size: 1.2em;
    margin: 0 auto 8px;
  }
  .main-header .title-wrapper .subtitle {
    font-size: 1.1em;
    margin: 0 auto 8px;
  }
}
.discord_login {
  display: flex;
  align-items: center;
  background-color: #5865F2;
  color: white;
  font-size: 0.8em;
  padding: 5px 10px;
  border-radius: 3px;
}

.discord_login:hover {
  text-decoration: none;
  color: white;
}

.discord_login img {
  height: 1em;
  margin-right: 0.5em;
}

.card {
  background-color: #333333;
  color: #f0f0f0;
  box-shadow: 0 0 0 8px #333333, 0 0 0 10px #f0f0f0, inset 0 0 0 8px #333333, inset 0 0 0 10px #f0f0f0;
  border: 2px dashed #f0f0f0;
  border-radius: 60px;
  padding: 60px;
  margin: 20px;
}

ul {
  margin: 0;
  padding-left: 1rem;
  position: relative;
}

hr {
  border: 0;
  border-top: 2px dashed #f0f0f0 !important;
  position: relative;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  width: 100%;
}

.faq {
  padding: 0 1.5rem;
}
.faq h1 {
  margin-top: 2rem;
}
.faq h3 {
  margin: 0;
  position: relative;
}
.faq h3:first-of-type::before {
  border-top: none;
}
.faq h3::before {
  content: "Q: ";
  display: block;
  font-weight: 700;
  left: -1.5rem;
  position: absolute;
  width: 100%;
}
.faq p {
  position: relative;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.faq h3 + p::before,
.faq h3 + ul::before {
  content: "A: ";
  font-weight: 700;
  position: absolute;
  left: -1.5rem;
}
.faq hr {
  left: -1.5rem;
  width: calc(100% + 1.5rem);
}

/* MailChimp */
#mc_embed_signup {
  padding: 0;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#mc_embed_signup .refferal_badge {
  filter: invert(85%);
  height: 40px;
  padding: 2px 0px;
  width: 130px;
}
#mc_embed_signup .honeypot {
  position: absolute;
  left: -5000px;
}
#mc_embed_signup #mce-responses .response {
  display: none;
}
#mc_embed_signup .helper_text {
  background-color: transparent !important;
  color: var(--text-color) !important;
}
#mc_embed_signup .clear.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

dl {
  margin: 0;
  padding: 0;
}
dl dt {
  font-weight: 700;
}
dl dd {
  margin: 0;
  margin-bottom: 1rem;
}
dl:last-of-type dd {
  margin-bottom: 0;
}

#puzzle-root h3 {
  margin-top: 0;
  margin-bottom: 0;
}
