* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #fff8f5;
      color: #333;
      display: flex;
      min-height: 100vh;
      transition: background 0.2s linear;
    }
    
    /* unvisited link */
a:link {
  color: red;
}

/* visited link */
a:visited {
  color: green;
}

/* mouse over link */
a:hover {
  color: hotpink;
}

/* selected link */
a:active {
  color: blue;
}
    
body.dark, body.dark .infobox {background-color: #292c35;}
body.dark h1, body.dark .support a, body.dark h2, body.dark i, body.dark .infobox p {color: #fff;}
body.dark .main-text, body.dark strong, body.dark .desc, body.dark summary, body.dark .infobox li {color: #fff}
body.dark aside, body.dark header {background-color: #15171B;}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #111;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

    aside {
      width: 280px;
      background-color: #ffeef2;
      padding: 20px;
      border-right: 1px solid #dba;
      transition: background 0.2s linear;
    }

    aside h2 {
      margin-top: 0;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    header {
      background: #fff0f5;
      padding: 20px;
      border-bottom: 1px solid #ecc;
      transition: background 0.2s linear;
    }

    .content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .article {
      max-width: 1000px;
    }

.gallery {
  margin: 5px;
  float: left;
  width: 1100px;
  height: auto;
}

.gallery img {
  width: 200px;
  height: auto;
}

    footer {
      padding: 10px 20px;
      background: #fff0f5;
      border-top: 1px solid #ecc;
      text-align: center;
      font-size: 0.9em;
      color: #a88;
    }

    .infobox {
      background: #fff;
      padding: 8px;
      border: 2px solid #f8c6d8;
      border-radius: 8px;
    }

    .infobox p {
      margin: 6px 0;
    }

    .infobox strong {
      display: inline-block;
      width: 100px;
    }

    ul {
      padding-left: 20px;
    }

    @media (max-width: 768px) {
      .gallery img {
        width: 100%;
      }

      aside {
        display: none;
      }

      main {
        margin: 0 auto;
      }
    }
    
    details > summary {
  cursor: pointer;
  font-size: 25px;
  font-weight: bold;
}
.main-text {
  font-size: 20px;
}

.desc {
  padding: 5px;
  text-align: center;
}