.hidden {
  display: none !important;
}

/**
 * Reset some basic elements
 */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

details {
  width: 100%;
  flex-shrink: 1;
  min-height: 0;
}
details summary {
  cursor: pointer;
  font-weight: 500;
  padding: 4.5px 0;
  color: #3b5998;
  transition: color 0.15s ease;
}
details summary:hover {
  text-decoration: underline;
}

button {
  font-size: clamp(15.2px, 15.2px + 0.5vw, 32px);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  padding: 10.5px 24px;
  background-color: #3b5998;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  margin: 3px;
  letter-spacing: 0.02em;
}
button:hover {
  background-color: #4b6cb7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
button:active {
  transform: translateY(0px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
button:focus-visible {
  outline: 2px solid #3b5998;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

p {
  line-height: 1.6;
  margin-bottom: 0.15em;
}

ol, ul {
  padding-left: 1.5em;
  line-height: 1.6;
}
ol li, ul li {
  margin-bottom: 0.4em;
}

/**
 * Basic styling
 */
body {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  z-index: 1;
  color: #2c2a26;
  background-color: #1c2130;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  gap: min(1vw, 7.5px);
  padding: min(1vw, 7.5px) 0;
}
@media screen and (max-width: 600px) {
  body {
    font-size: 17.6px;
    gap: 9px;
    padding: 9px 0;
  }
}

main {
  display: flex;
  z-index: 1;
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
  margin: 0;
  display: block;
  z-index: 1;
  object-fit: contain;
  flex-shrink: 1;
  min-height: 0;
}

div {
  align-items: center;
}

figcaption {
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: #1e1d1a;
}

/**
 * Links
 */
a {
  color: #3b5998;
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 500;
}
a:active {
  color: #2a3f6c;
  text-decoration: underline;
}
a:hover, a:focus {
  color: #4b6cb7;
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid #3b5998;
  outline-offset: 2px;
}

/**
 * Form elements
 */
input, textarea {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  padding: 7.5px;
  border: 1px solid #dbd5c4;
  border-radius: 4px;
  background-color: #f2f0ea;
  color: #2c2a26;
  transition: border-color 0.2s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #3b5998;
  box-shadow: 0 0 0 2px rgba(59, 89, 152, 0.2);
}

/**
 * Blockquotes
 */
blockquote {
  color: #6b6b78;
  font-size: clamp(18px, 18px + 0.5vw, 32px);
  letter-spacing: -1px;
  font-style: italic;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: clamp(15px, 15px + 0.5vw, 32px);
  border: 1px solid #d5d5da;
  border-radius: 4px;
  background-color: #eeece4;
}

pre {
  overflow-x: auto;
}
pre > code {
  border: 0;
}

/**
 * Structural wrappers
 */
.header-wrapper {
  z-index: 2;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #e9e6dc;
  padding: 7.5px 30px 12px;
  margin: auto;
  text-align: center;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  gap: 0;
  width: 72vw;
  max-width: 900px;
  box-sizing: border-box;
  overflow: visible;
}
@media screen and (max-width: 600px) {
  .header-wrapper {
    width: 94vw;
    padding: 4.5px 15px 7.5px;
  }
}

.header-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
  padding: 4.5px 0;
}
@media screen and (max-width: 600px) {
  .header-row {
    gap: 6px;
    padding: 3px 0;
  }
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 900px;
  flex-grow: 0;
  flex-shrink: 1;
  background-color: #f2f0ea;
  width: 72vw;
  padding: 18px 24px;
  margin: 0 auto;
  text-align: center;
  border-radius: 14px;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
@media screen and (max-width: 600px) {
  .wrapper {
    width: 98vw;
    padding: 12px 9px;
  }
}

.wrapper-wide {
  max-width: 960px;
}

.footer-content {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 1.5px 36px;
  text-align: center;
  margin: 0 auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  flex-wrap: wrap;
  font-size: clamp(14.4px, 14.4px + 0.5vw, 32px);
  gap: 21px;
  width: 72vw;
  max-width: 900px;
  box-sizing: border-box;
}
.footer-content .svg-icon {
  width: 34px;
  height: 34px;
}
.footer-content .footer-copyright {
  margin-top: -12px;
}
@media screen and (max-width: 600px) {
  .footer-content {
    width: 94vw;
    padding: 9px 15px;
    gap: 18px;
  }
  .footer-content .svg-icon {
    width: 32px;
    height: 32px;
  }
}

/**
 * Vertical rhythm (used by syntax-highlighting)
 */
/**
 * Clearfix
 */
.wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  transform: scale(1.3);
  width: 24px;
  height: 24px;
  display: inline-block;
  fill: #6b6b78;
  padding: 4.5px;
  transition: fill 0.2s ease;
}
.svg-icon:hover {
  fill: #3b3b42;
}

/**
 * Button-styled links
 */
.btn {
  font-size: clamp(15.2px, 15.2px + 0.5vw, 32px);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  padding: 10.5px 24px;
  background-color: #3b5998;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  margin: 3px;
  letter-spacing: 0.02em;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn:hover, .btn:focus {
  background-color: #4b6cb7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}
.btn:active {
  transform: translateY(0px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
}
.btn:focus-visible {
  outline: 2px solid #3b5998;
  outline-offset: 2px;
}

/**
 * Reveal animation for hints/solutions
 */
.reveal {
  animation: revealFade 0.35s ease forwards;
}

@keyframes revealFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: center;
  color: #5d5951;
  border-collapse: collapse;
  border: 1px solid #d5d5da;
}
table tr:nth-child(even) {
  background-color: #e5e5e8;
}
table th, table td {
  padding: 9.9px 15px;
}
table th {
  background-color: #dddde1;
  border: 1px solid #cacad0;
  border-bottom-color: #b5b5bd;
}
table td {
  border: 1px solid #d5d5da;
}

.puzzle-slide, .wrap-math, .wrap-text, .wrap-image, .wrap-prose {
  display: flex;
  padding: 6px 9px;
  margin: 0;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  min-height: 0;
  flex-shrink: 1;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.intro-pics {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 18px 0;
}
.intro-pics .split_img {
  border-radius: 0;
}

.home-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  max-width: 100%;
}
.home-buttons a {
  text-decoration: none;
}
.home-buttons button {
  white-space: nowrap;
  min-width: 12em;
}
@media screen and (max-width: 600px) {
  .home-buttons button {
    min-width: 0;
  }
}

.site-subtitle {
  display: inline-block;
  vertical-align: top;
  background-color: #f2f0ea;
  margin: min(1.5vw, 22.5px) 0;
  width: 100%;
  font-size: clamp(21.6px, 21.6px + 0.5vw, 32px);
  line-height: 1.5;
  padding: 12px 0;
  font-style: italic;
  color: #3b5998;
  font-weight: 600;
  border-top: 1px solid #e6e3d7;
  border-bottom: 1px solid #e6e3d7;
}

.site-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 3px 0 9px;
  width: 100%;
  overflow: visible;
}

.header-left,
.header-right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-end;
  padding-right: 30px;
}
@media screen and (max-width: 600px) {
  .header-left {
    padding-right: 9px;
    padding-left: 15px;
  }
}

.header-right {
  justify-content: flex-start;
  padding-left: 30px;
}
@media screen and (max-width: 600px) {
  .header-right {
    padding-left: 9px;
    padding-right: 15px;
  }
}

.header-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.header-center:hover, .header-center:focus {
  text-decoration: none;
}

.site-title {
  text-wrap: nowrap;
  font-size: clamp(22px, 16px + 2vw, 42px);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #3b5998;
  cursor: pointer;
  margin: 0;
  transition: color 0.2s ease;
}
@media screen and (max-width: 600px) {
  .site-title {
    font-size: 29px;
    letter-spacing: 0.02em;
  }
}

.header-center:hover .site-title {
  color: #4b6cb7;
}

.header-divider {
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, #d5d0bd, transparent);
  margin: 4.5px auto;
}

.section-nav {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  gap: 4.5px;
  padding: 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .section-nav {
    gap: 2.4px;
  }
}
@media screen and (max-width: 600px) {
  .section-nav {
    flex-wrap: wrap;
    gap: 1.5px;
  }
}

.section-nav-button {
  font-size: clamp(15.2px, 15.2px + 0.5vw, 32px);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  color: #1e1d1a;
  background: none;
  border: none;
  border-bottom: none;
  border-radius: 6px;
  padding: 4.5px 15px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  box-shadow: none;
  background-color: transparent;
  color: #1e1d1a;
  box-shadow: none;
}
@media screen and (max-width: 600px) {
  .section-nav-button {
    font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
    padding: 10.5px 13.5px;
    letter-spacing: 0.02em;
  }
}
.section-nav-button:hover {
  color: #3b5998;
  background-color: rgba(59, 89, 152, 0.06);
  transform: none;
  text-decoration: none;
}
.section-nav-button:focus-visible {
  outline: 2px solid #3b5998;
  outline-offset: 2px;
}
.section-nav-button.active {
  font-weight: 700;
  color: #3b5998;
  background-color: rgba(59, 89, 152, 0.1);
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #3b5998;
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease;
  box-shadow: none;
}
.arrow-button svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}
.arrow-button:hover {
  color: #4b6cb7;
  background-color: transparent;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: none;
}
.arrow-button:active {
  transform: translateY(0px);
  box-shadow: none;
}
.arrow-button:focus-visible {
  outline: 2px solid #3b5998;
  outline-offset: 2px;
}
.arrow-button.with-label {
  width: auto;
  padding: 0 12px;
  gap: 4px;
  margin-top: 6px;
}
@media screen and (max-width: 600px) {
  .arrow-button.with-label {
    padding: 0 3px;
    gap: 3px;
    margin-top: 10px;
  }
}

.arrow-label {
  font-size: clamp(14.4px, 14.4px + 0.5vw, 32px);
  font-weight: 600;
  line-height: 1;
  margin-top: 2px;
}
@media screen and (max-width: 600px) {
  .arrow-label {
    font-size: clamp(12px, 12px + 0.5vw, 32px);
  }
}

.site-footer {
  border-top: none;
  text-align: center;
  padding: 0;
  margin-top: 18px;
  width: 100%;
}
@media screen and (max-width: 600px) {
  .site-footer {
    margin-top: 0;
  }
}

.footer-copyright {
  font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
  color: #6e7daa;
  margin: 0;
  width: 100%;
}

.contact-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 6px;
  padding-top: 6px;
}
.contact-footer .svg-icon {
  width: 36px;
  height: 36px;
  transform: scale(1);
  padding: 6px;
  fill: #5e6fa1;
}
.contact-footer .svg-icon:hover {
  fill: #8e9abd;
}
.contact-footer p {
  font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
  color: #6e7daa;
  margin-top: 4.5px;
  width: 100%;
}

.contact-form {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  width: 95%;
  align-items: center;
  justify-content: space-between;
  margin: 3px auto;
}

.form-label {
  font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
  font-weight: 600;
  color: #47443e;
  width: 85%;
  text-align: left;
  margin-bottom: 3px;
}

.form-box {
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  padding: 9px;
  width: 85%;
  min-height: 120px;
  resize: vertical;
}

.qr-code {
  width: 120px;
  height: auto;
  display: block;
  margin: 3px auto;
}

.page-content {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  flex-shrink: 1;
}

.page-heading {
  font-size: clamp(30.4px, 30.4px + 0.5vw, 32px);
  width: 100%;
  color: #3b5998;
  margin: 0 0 9px 0;
}
@media screen and (max-width: 800px) {
  .page-heading {
    font-size: clamp(26.4px, 26.4px + 0.5vw, 32px);
  }
}
@media screen and (max-width: 600px) {
  .page-heading {
    margin-bottom: 4.5px;
  }
}

.post-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 12px;
  padding: 15px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  min-height: 0;
  line-height: 1.6;
}
.post-content h2 {
  width: 100%;
  font-size: clamp(32px, 32px + 0.5vw, 32px);
  margin-bottom: 6px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: clamp(28px, 28px + 0.5vw, 32px);
  }
}
.post-content h3 {
  width: 100%;
  font-size: clamp(26px, 26px + 0.5vw, 32px);
  margin-bottom: 4.5px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: clamp(22px, 22px + 0.5vw, 32px);
  }
}
.post-content h4 {
  width: 100%;
  font-size: clamp(20px, 20px + 0.5vw, 32px);
  margin-bottom: 3px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: clamp(18px, 18px + 0.5vw, 32px);
  }
}
.post-content > p {
  width: 100%;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 9px;
}

.wrap-prose {
  flex: 1 0 100%;
  text-align: justify;
  max-width: 90%;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  line-height: 1.6;
}

.sequence-highlight {
  font-size: clamp(24px, 24px + 0.8vw, 32px);
  font-family: monospace;
  letter-spacing: 2px;
}
@media screen and (max-width: 600px) {
  .sequence-highlight {
    letter-spacing: 1px;
  }
}

.hint-button {
  font-size: clamp(14.4px, 14.4px + 0.5vw, 32px);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.section-label {
  font-size: clamp(20.8px, 20.8px + 0.5vw, 32px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.button-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  width: 100%;
}

.wrap-image {
  padding: 4.5px;
  width: 100%;
}

.wrap-text {
  flex-direction: column;
  text-align: justify;
  max-width: 90%;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(13.12px, 13.12px + 0.5vw, 32px);
  line-height: 1.6;
  overflow: hidden;
}
.wrap-text > p {
  margin-bottom: 0.4em;
}

.art-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 9px;
}
@media screen and (max-width: 600px) {
  .art-carousel {
    margin-bottom: 3px;
  }
}

.art-img {
  max-width: 75%;
  max-height: 55vh;
  border-radius: 0;
}

.art-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 9px;
  margin-bottom: 15px;
  flex-wrap: nowrap;
}
@media screen and (max-width: 600px) {
  .art-controls {
    margin-top: 3px;
    margin-bottom: 6px;
  }
}
.art-controls button {
  min-width: 10em;
}
@media screen and (max-width: 600px) {
  .art-controls button {
    min-width: 8em;
  }
}

.wrap-math {
  flex-direction: column;
  flex-wrap: wrap;
  text-align: justify;
  max-width: 90%;
  white-space: normal;
  font-size: clamp(13.12px, 13.12px + 0.5vw, 32px);
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wrap-math > p {
  width: 100%;
  text-align: justify;
  white-space: pre-line;
  line-height: 1.6;
  margin: 0 0 0.25em 7.5px;
}
.wrap-math > img {
  margin: 12px 0;
}

.mjx-chtml.MathJax_CHTML {
  white-space: normal;
}

.split_img {
  display: block;
  margin: 0;
  max-width: 100%;
  max-height: 35vh;
  width: min(400px, 45%);
  padding: 0;
  border-radius: 0;
}
@media screen and (max-width: 600px) {
  .split_img {
    width: min(300px, 70%);
  }
}

.prose-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 6px 9px;
}
.prose-row .wrap-prose {
  flex: 1 1 0;
  max-width: none;
}
.prose-row .split_img {
  flex: 0 0 auto;
  width: min(200px, 30%);
  max-height: 20vh;
}
.prose-row .img-with-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 auto;
  width: min(200px, 30%);
}
.prose-row .img-with-button .split_img {
  width: 100%;
  max-height: 20vh;
}
.prose-row .img-with-button button {
  margin-top: 6px;
  width: 100%;
  font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
  padding: 4.5px 9px;
}
@media screen and (max-width: 600px) {
  .prose-row {
    flex-direction: column;
    gap: 12px;
  }
  .prose-row .wrap-prose {
    flex: 0 0 auto;
  }
  .prose-row .split_img {
    width: min(300px, 60%);
    max-height: 22vh;
  }
  .prose-row .img-with-button {
    width: min(300px, 75%);
  }
  .prose-row .img-with-button .split_img {
    width: 100%;
    max-height: 25vh;
  }
}

.print_img,
.bigger_img {
  max-width: 300px;
  max-height: 30vh;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.example_img_small {
  padding: 6px;
  max-height: 35vh;
}

.example_img {
  max-height: 35vh;
}

.img-with-button.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.small-button {
  font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
  padding: 4.5px 12px;
}

.puzzle-subtitle {
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  color: #7e786d;
  margin-bottom: 9px;
}

.puzzle-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 0;
}

.puzzle-arrow {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: transparent;
  box-shadow: none;
}
.puzzle-arrow svg {
  width: 28px;
  height: 28px;
}
.puzzle-arrow:hover {
  background-color: transparent;
  box-shadow: none;
}

.puzzle-slide {
  flex-direction: column;
  max-width: min(450px, 100%);
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background-color: #eae7df;
  border-radius: 10px;
  border: 2px solid #d2cbba;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 6px 15px;
  transition: opacity 0.2s ease;
}
.puzzle-slide summary {
  font-size: clamp(15.2px, 15.2px + 0.5vw, 32px);
}
.puzzle-slide .btn, .puzzle-slide button {
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  padding: 7.5px 18px;
}
@media screen and (max-width: 600px) {
  .puzzle-slide {
    max-width: 100%;
    width: 94vw;
    padding: 6px 12px;
  }
  .puzzle-slide .btn, .puzzle-slide button {
    font-size: clamp(12.8px, 12.8px + 0.5vw, 32px);
    padding: 6px 12px;
  }
}

.puzzle-title {
  font-size: clamp(17.6px, 17.6px + 0.5vw, 32px);
  font-weight: 700;
  margin-bottom: 0;
}

.puzzle-difficulty {
  display: inline-block;
  font-size: clamp(12px, 12px + 0.5vw, 32px);
  font-weight: 600;
  padding: 1px 9px;
  border-radius: 12px;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
}
.puzzle-difficulty.very-easy {
  background-color: #d4e4c8;
  color: #3a5a2a;
}
.puzzle-difficulty.easy {
  background-color: #e0ecc0;
  color: #4a5a20;
}
.puzzle-difficulty.medium {
  background-color: #f0e0a8;
  color: #7a5a10;
}
.puzzle-difficulty.hard {
  background-color: #f0c8a0;
  color: #8a4a10;
}
.puzzle-difficulty.very-hard {
  background-color: #e8b0a8;
  color: #7a2a1a;
}

.puzzle-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.puzzle-actions .btn, .puzzle-actions button {
  min-width: 10em;
  text-align: center;
}

.puzzle-counter {
  text-align: center;
  font-size: clamp(13.6px, 13.6px + 0.5vw, 32px);
  color: #635e55;
  padding-bottom: 6px;
}

@media print {
  body {
    background: white;
    color: black;
    gap: 0;
    padding: 0;
  }
  .header-wrapper,
  .footer-content,
  .site-footer,
  .arrow-button,
  .puzzle-actions,
  .button-row,
  .art-controls,
  .home-buttons {
    display: none !important;
  }
  .wrapper {
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 100%;
  }
  a {
    color: black;
    text-decoration: none;
  }
  img {
    max-height: none;
  }
}
/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/*# sourceMappingURL=main.css.map */