html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Libre Baskerville', serif;
  min-height: 100vh;
  /* color and background set by theme classes */
}
body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100vh;
  box-sizing: border-box;
  padding: 2rem;
}
.main-text {
  font-size: 3.5rem;
  text-align: left;
  line-height: 1.3;
  margin: 0;
}
.links-list {
  margin-top: 2.5rem;
  padding-left: 0;
  list-style: none;
}
.links-list li {
  margin-bottom: 0.7rem;
}
.links-list a {
  font-size: 1.3rem;
  color: #7a7a7a;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  transition: color 0.2s;
}
.links-list a:hover {
  color: #232323;
  text-decoration: underline;
}
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .main-text {
    font-size: 2rem;
  }
  .links-list a {
    font-size: 1rem;
  }
}

/* Light theme */
.theme-light {
  background: #fff;
  color: #232323;
}
.theme-light .links-list a {
  color: #7a7a7a;
}
.theme-light .links-list a:hover {
  color: #232323;
}

/* Dark theme */
.theme-dark {
  background: #181818;
  color: #eaeaea;
}
.theme-dark .links-list a {
  color: #bdbdbd;
}
.theme-dark .links-list a:hover {
  color: #eaeaea;
}

/* Switchers */
.switchers {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
}
.switch-link {
  font-size: 0.9rem;
  color: #bbb;
  text-decoration: none;
  font-family: sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.switch-link:focus {
  outline: 1px dotted #bbb;
}

/* Watermelon icon */
.watermelon {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 1rem;
  z-index: 10;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: right 0.3s ease, left 0.3s ease;
}
.watermelon.left {
  right: auto;
  left: 1rem;
}
