@charset "UTF-8";
:root {
  color-scheme: dark;
}

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

main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 600px;
}

main > div {
  width: 100%;
  margin-top: 16px;
}

label {
  padding: 0 10px 0 2px;
}

button {
  vertical-align: bottom;
}

input [type=text] {
  vertical-align: middle;
  margin-right: 10px;
}

input [type=radio] {
  vertical-align: text-top;
}

kbd {
  display: inline-block;
  padding: 1px 4px;
  font-size: 14px;
  font-weight: 700;
  background-color: #eee;
  border-radius: 3px;
  color: #555;
  margin-left: 3px;
  line-height: 1;
}

.left-pane {
  width: 300px;
  background-color: rgba(240, 240, 240, 0.062745098);
  padding: 20px;
}
.left-pane__titles {
  overflow: scroll;
  height: 90%;
}
.left-pane__chapter-title {
  font-size: 16px;
  font-weight: bold;
  margin-top: 16px;
}
.left-pane__exercise-title {
  margin: 5px auto 5px 1em;
}
.left-pane__exercise-title--current {
  text-decoration: underline;
  font-weight: bold;
}
.left-pane__filter-label {
  font-size: 14px;
  font-weight: bold;
  margin-right: 10px;
  vertical-align: bottom;
}

a {
  color: #1f88e5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button {
  padding: 2px 5px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:disabled, button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.delete-button {
  padding: 2px 5px;
  border: none;
  border-radius: 5px;
  background-color: #dc3545;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
}
.delete-button:disabled, .delete-button:hover {
  background-color: #c82333;
  transform: translateY(-1px);
}

.add-button {
  width: 100%;
}
.add-button[disabled] {
  background-color: #6c757d;
}

.output {
  width: 90%;
  font-size: 16px;
  background: inherit;
  margin-top: 10px;
  border: 0;
  line-height: 1.6;
}

.description {
  width: 90%;
  font-size: 16px;
  background: inherit;
  margin: 12px 0;
  border: 0;
}

.inputblock {
  margin-bottom: 40px;
}

.inputline {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.inputline__prompt {
  margin-right: 15px;
  display: inline-block;
  vertical-align: bottom;
}
.inputline__number {
  text-align: right;
}
.inputline__number--invalid {
  text-align: right;
  background-color: rgba(220, 53, 69, 0.6);
}
.inputline__text {
  text-align: left;
  margin-right: 10px;
  vertical-align: top;
  margin-bottom: 1px;
}
.inputline__button {
  vertical-align: bottom;
}
.inputline__label {
  vertical-align: bottom;
}

pre.error-message {
  color: red;
  margin: 10px 0;
  line-height: 2;
}

.error-message {
  color: red;
}

.contents-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.contents-table th,
.contents-table td {
  padding: 8px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(238, 238, 238, 0.2666666667);
}
.contents-table th {
  background-color: rgba(240, 240, 240, 0.062745098);
  color: #555;
  font-weight: 600;
  text-align: center;
}
.contents-table tr:last-child td {
  border-bottom: none;
}
.contents-table tr:nth-child(even) {
  background-color: rgba(249, 249, 249, 0.1254901961);
}
.contents-table td:nth-child(2) {
  font-size: 16px;
}
.contents-table td:nth-child(3) {
  font-size: 14px;
}
.contents-table td:nth-child(4) {
  text-align: center;
}
.contents-table .todo-input {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  border-radius: 5px;
}
.contents-table caption {
  caption-side: bottom;
  font-size: 18px;
  font-weight: normal;
  padding: 10px;
  margin-bottom: 10px;
}

.button-like {
  display: inline-block;
  padding: 2px 5px;
  font-size: 16px;
  color: white;
  background-color: #007BFF;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-like:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.ex13__inputline-label {
  width: 322px;
  vertical-align: middle;
}
.ex13__inputline-number {
  width: 75px;
}

.ex14__inputline-label {
  width: 240px;
  vertical-align: middle;
}
.ex14__inputline-input {
  width: 86px;
}

.ex23 {
  margin-top: 16px;
}
.ex23__answered {
  display: block;
  margin-bottom: 10px;
  font-weight: normal;
}
.ex23__questioning {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.ex23__solution {
  font-weight: bold;
  margin-top: 20px;
  color: #007bff;
}

.ex24__description {
  margin-bottom: 24px;
}
.ex24__inputs {
  margin-bottom: 24px;
}
.ex24__label {
  width: 240px;
  vertical-align: middle;
}
.ex24__input {
  width: 86px;
}

.ex31__inputline-label {
  width: 20%;
  display: inline-block;
  margin-right: 16px;
}
.ex31__inputline-input {
  width: 104px;
}
.ex31__intensity-range-component {
  display: inline-block;
  vertical-align: middle;
}
.ex31__intensity-range {
  width: 104px;
  display: block;
}
.ex31__intensity {
  font-size: 14px;
  display: block;
  margin-top: 2px;
  text-align: center;
  font-weight: normal;
}
.ex31__heart-rate {
  font-weight: normal;
}
.ex31__table {
  margin-top: 20px;
  width: 300px;
}
.ex31__tr:nth-child(even) {
  background-color: rgba(249, 249, 249, 0.1254901961);
}
.ex31__th-intensity {
  width: 50%;
}
.ex31__th-rate {
  width: 50%;
}

.ex40__filters {
  margin-bottom: 16px;
}
.ex40 fieldset {
  padding-top: 12px;
  margin-bottom: 16px;
}
.ex40 .inputline span {
  display: inline-block;
  width: 160px;
}

.ex46__histogram {
  display: grid;
  grid-template-columns: auto 1fr 20px;
  gap: 5px;
}
.ex46__histogram div {
  display: contents;
}
.ex46__histogram span:nth-child(2) {
  background-color: blue;
  height: 16px;
  margin-top: 6px;
}
.ex46__histogram span:nth-child(3) {
  text-align: right;
}

.ex48__apikey-input {
  margin-right: 10px;
}

.ex49__container {
  position: relative;
}
.ex49__thumbnail-container {
  height: 118px;
  width: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ex49__thumbnail-container img {
  max-height: 118px;
  max-width: 118px;
}
.ex49__thumbnail-container img:hover {
  transform: scale(1.04);
}
.ex49__gallery {
  display: grid;
  grid-template-columns: repeat(5, 118px);
  gap: 2px;
}
.ex49__enlarged-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}
.ex49__enlarged-content {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  text-align: center;
  cursor: default;
}
.ex49__enlarged-content img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.ex49__enlarged-title {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 10px 0;
  color: #333;
}
.ex49__enlarged-date {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}
.ex49__close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.ex57__disabled-text {
  color: #6c757d;
}
.ex57__correct-answer {
  color: #00ff00;
  font-weight: bold;
}
.ex57__wrong-answer {
  color: red;
  font-weight: bold;
}
.ex57__missed-correct-answer {
  color: #338833;
}
.ex57__wrong-answer::after {
  content: "← wrong";
  font-size: 80%;
}
.ex57__missed-correct-answer::after {
  content: "← correct";
  font-size: 80%;
}
.ex57__correct-question {
  color: #22aa22;
  font-weight: normal;
}
.ex57__wrong-question {
  color: red;
  font-weight: normal;
}

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