@font-face {
  font-family: "IA Writer";
  src: url("Static/iAWriterQuattroS-Regular.ttf");
}

body {
  font-family: IA Writer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  background: #f7f7f5;
}

/* Nav */
#topNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px 6px;
  z-index: 100;
  background: #f7f7f5;
}

#navRow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#navTitle {
  font-family: IA Writer;
  font-size: 1rem;
  color: #333;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

#prevBtn, #nextBtn {
  background: rgb(65, 103, 218);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: IA Writer;
  font-size: 13px;
  cursor: pointer;
}

#prevBtn:hover, #nextBtn:hover {
  background: rgb(50, 85, 195);
}

#prevBtn:active, #nextBtn:active {
  background: rgb(40, 70, 170);
}

/* Progress dots */
#progressDots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d0d0c8;
  transition: background 0.2s;
}

.dot.active {
  background: rgb(65, 103, 218);
}

/* Pages */
.page {
  display: none;
  max-width: 560px;
  width: 100%;
  padding: 0 20px 40px;
  box-sizing: border-box;
  line-height: 1.7;
}

.page.active {
  display: block;
}

/* Canvas cards */
canvas {
  display: block;
  background: white;
  border-radius: 12px;
  margin: 12px 0;
  max-width: 100%;
}

#siteFooter {
  text-align: center;
  font-size: 11px;
  margin-top: 32px;
  padding-bottom: 16px;
}

#siteFooter a {
  color: #aaa;
  text-decoration: none;
}

#siteFooter a:hover {
  color: #777;
}

.comment {
  color: rgb(101, 101, 94);
  font-size: 12px;
}

.adc-title {
  font-size: 0.85rem;
  color: #888;
  margin: 20px 0 4px 0;
}

#lms label {
  display: block;
  font-size: 13px;
  color: rgb(101, 101, 94);
  margin: 10px 0 4px 0;
}

#lms input[type="range"] {
  vertical-align: middle;
  width: 200px;
}

#lms span {
  font-size: 12px;
  color: #555;
  margin-left: 8px;
}

#lms-controls {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

#lms button {
  background: rgb(65, 103, 218);
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
}
