/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #111111;
  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f1f1f1;
  font-family: Verdana;
  margin: 0;
}

.page-layout {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.sidebar {
  width: 240px;
  background-color: rgba(31, 31, 31, 0.75);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h2 {
  margin: 0;
}

.sidebar h1 a {
  color: inherit;
  text-decoration: none;
}

.sidebar nav a {
  display: block;
  color: #f1f1f1;
  text-decoration: none;
  margin: 0.4rem 0;
}

.sidebar nav a:hover {
  text-decoration: underline;
}

#theme-toggle {
  background: #333333;
  border: none;
  border-radius: 0.4rem;
  color: #f1f1f1;
  cursor: pointer;
  padding: 0.75rem 1rem;
  width: 100%;
  text-align: center;
}

#theme-toggle:hover {
  background: #444444;
}

.main-content {
  flex: 1;
  padding: 2rem;
  text-align: center;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: calc(100% - 260px);
  max-width: 1920px;
  margin-right: auto;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}

.big-text {
  font-size: 1.6rem;
  line-height: 1.5;
}

.main-content a {
  color: #9bb7ff;
}

.main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.4rem;
}
