body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

main {
  width: 100%;
  height: 100vh;

  text-align: center;
}

.cell {
  background-color: yellow; /* Change to desired color */
}

img {
  width: 50px;
  height: 50px;
}

form {
  margin: 2rem;
}
.form-card {
  margin: 1rem auto;
  padding: .5rem .75rem;
  max-width: 1100px;
  background: #e6f0ff; /* stronger tint for higher contrast */
  border: 1px solid #bcd0ff;
  border-radius: .5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.form-inline {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  flex-wrap: nowrap;
  min-width: 700px;
}

.primary-question {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #dbeafe;
  background: #f0f8ff;
  border-radius: .5rem;
  padding: .5rem .75rem;
  margin: 0;
}

.primary-question legend {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  padding: 0 .25rem;
  margin-right: .25rem;
}

.primary-label {
  display: inline-block;
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

  min-width: 320px;
  padding: .5rem .75rem;
  font-size: 1.05rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
}

.form-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.form-group {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.form-group label {
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
  color: #334155;
}

.form-group input[type="number"] {
  width: 100px;
  padding: .35rem .5rem;
  font-size: .95rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
}

.form-actions {
  margin-left: auto;
}

.submit-btn {
  padding: .5rem .9rem;
  font-size: 1rem;
  border-radius: .5rem;
  background-color: green;
  color: white;
  border: none;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: .5rem;
  background-color: green;
  color: white;
}

button:disabled {
  background-color: gray;
}

select {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: .5rem;
}

.timer {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem;
}


.code {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3rem;
  justify-content: center;
  margin: 2rem 0;
}

.code-block {
  text-align: left;
  padding: 1rem;
  border-radius: .5rem;
  display: block;
  min-width: 320px;
  max-width: 900px;
  width: 100%;
  overflow-x: auto;
  background-color: #1e1e1e;
  color: #e8e8e8;
}

.code-block pre {
  margin: 0;
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: .5rem;
  color: #e8e8e8;
}

.code-block code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e8e8;
}

.code-block .hljs-comment {
  color: #6a9955;
}

.comment {
  margin: 0;
  max-width: 350px;
  min-width: 200px;
  padding: 1rem;
  background-color: #f0f8ff;
  border-left: 4px solid #4a90e2;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  align-self: stretch;
  box-sizing: border-box;
  text-align: left;
}pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*

Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax

base:    #282c34
mono-1:  #abb2bf
mono-2:  #818896
mono-3:  #5c6370
hue-1:   #56b6c2
hue-2:   #61aeee
hue-3:   #c678dd
hue-4:   #98c379
hue-5:   #e06c75
hue-5-2: #be5046
hue-6:   #d19a66
hue-6-2: #e6c07b

*/
.hljs {
  color: #abb2bf;
  background: #282c34
}
.hljs-comment,
.hljs-quote {
  color: #5c6370;
  font-style: italic
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
  color: #c678dd
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #e06c75
}
.hljs-literal {
  color: #56b6c2
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
  color: #98c379
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
  color: #d19a66
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
  color: #61aeee
}
.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
  color: #e6c07b
}
.hljs-emphasis {
  font-style: italic
}
.hljs-strong {
  font-weight: bold
}
.hljs-link {
  text-decoration: underline
}