/* color and font */
body {
  background: #6A8D73;
  color: black;
  font-size: 16px;
  font-family: Verdana, sans-serif;
}

/* h1s*/
.main-title {
  color: white;
  font-size: 50px;
  font-family: "League Script", "Segoe Script", "Courier New";
}

.howdy {
  font-family: "League Script", "Segoe Script", "Courier New";
  text-align: center;
}

/* links */
a {
  color: #702b67;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #A78682;
  font-weight: bold;
  text-decoration: none;
}

/* navigation */
nav {
  display: flex;
  gap: 30px;
  padding: 0px;
  font-size: 20px;
}

nav a {
  text-decoration: none;
  color: white;
}

nav a:hover {
  color: white;
  text-decoration-line: overline underline;
  text-decoration-style: dotted;
}

nav a:visited {
  color: white;
}

.layout-container {
  display: grid;
  align-items: start;
  justify-content: center;
  grid-template-columns: 50vw 200px;
  grid-template-rows: min-content 1fr;
  grid-template-areas: "header header" "main aside" "footer footer";
  grid-gap: 10px;
}

header {
  grid-area: header;
}

main {
  grid-area: main;
  background-color: #E7DEDA;
  box-shadow: 5px 5px #51344D;
  margin-top: 5px;
  padding: 30px 70px 50px 70px;
  border-radius: 0px 15px 0px 15px;
  line-height: 1.8;
}

.latest-post {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}

aside {
  grid-area: aside;
  background-color: #E7DEDA;
  box-shadow: 5px 5px #51344D;
  margin-top: 20px;
  padding: 20px;
  border-radius: 0px 15px 0px 15px;
}

aside img {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  height: auto;
  border-radius: 50%;
}

footer {
  grid-area: footer;
}

@media (max-width: 600px) {
  .layout-container {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "main" "aside" "footer";
  }
  main {
    padding: 30px 20px 50px 20px;
  }
  .main-title {
    font-size: 2rem;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  p {
    font-size: 14px;
  }
  aside img {
    max-width: 30%;
  }
}
[data-theme=dark] body {
  background: #51344D;
  color: white;
}

[data-theme=dark] main {
  background-color: black;
  box-shadow: 5px 5px #6A8D73;
}

[data-theme=dark] aside {
  background-color: black;
  box-shadow: 5px 5px #6A8D73;
}

/* links */
[data-theme=dark] a {
  color: #6A8D73;
  font-weight: bold;
  text-decoration: none;
}

[data-theme=dark] a:hover {
  color: #A78682;
  font-weight: bold;
  text-decoration: none;
}

/* icon stuff */
.icon {
  width: 22px;
  height: 22px;
  display: block;
}

.sun {
  display: none;
}

[data-theme=dark] .moon {
  display: none;
}

[data-theme=dark] .sun {
  display: block;
}

#theme-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.5rem;
  margin: 0;
  cursor: pointer;
  color: inherit;
}

#theme-toggle:hover {
  opacity: 0.7;
}

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