:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console,
    monospace;
  --color-subtext: #475569;
}

/* LAYOUT */

body {
  background-color: black;
  color: #ebebeb;
  font-size: 125%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.content {
  margin-bottom: 2rem;
  max-width: 60rem;
  margin: 0 auto;
  font-family: var(--font-sans);
  margin-top: 4rem;
  line-height: 1.3;
}

.content *:not(figure):not(img) {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  box-sizing: border-box;
}

/* NAVIGATION */

.site-header {
  margin-top: 10px;
  margin-bottom: 10px;
}

.site-nav {
  display: flex;
  max-width: 80rem;
  justify-content: space-between;
  margin: 0 auto;
  font-family: var(--font-mono);
}

.site-nav a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: white;
}

.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

@media screen and (max-width: 61rem) {
  .site-nav,
  .main-menu {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
  }
}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}

a {
  color: #0284c7;
  text-decoration: none;
}

.hero h1 {
  text-align: center;
  font-size: 70px;
  line-height: 1;
  margin-bottom: 0;
}

.hero p {
  text-align: center;
}

.home-posts {
  list-style: none;
  padding: 0;
}

.home-posts-item {
  margin-bottom: 1rem;
}

.home-posts-item a {
  font-weight: bold;
}

.post-date {
  color: var(--color-subtext);
  display: block;
  font-size: 1rem;
  font-style: italic;
}

/* Projekt */

.projekt,
.card {
  padding: 20px;
  background-color: #191919;
  border-radius: 15px;
  margin-bottom: 20px;
  color: white;
}

.projekt p, .projekt h2 {
  color: white;
}

.projekt h2 {
  text-align: center;
}

.projekt img {
  width: -moz-available;
  margin-top: 20px;
  border-radius: 5px;
}

footer {
  max-width: 60rem;
  padding-top: 1rem;
  margin: 0 auto 2rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  border-top: 1px solid #313131;
  margin-top: 5rem;
}

/* Quotes */
blockquote {
  margin: 0;
  padding: 5px 20px;
  background-color: #191919;
  border-left: 5px solid lightgray;
  font-style: italic;
}

figure {
  margin: 2rem auto 2rem;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

figcaption {
  color: var(--color-subtext);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
  padding-top: 0.5rem;
}



/* Components */

button {
  all: unset;
  padding: 10px 15px 10px 15px;
  background-color: white;
  border-radius: 5px;
  color: black;
  cursor: pointer;
  transition: ease 0.2s background-color;
  margin: 0!important;
}
a {
  margin: 0!important;
}
button:hover {
  background-color: #dddddd;
}

