: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: #888888;
}

::selection {
  color: white;
  background: #31929A;
}

/* LAYOUT */

body {
  background-color: #111111;
  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(.custom):not(figure):not(img) {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.content hr:not(.custom) {
  background-color: #ebebeb;
  height: 1px;
  border-radius: 10px;
}

blockquote {
  box-sizing: border-box;
}

.icn svg {
  height: 100%;
  width: auto;
}

/* 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: 65rem) {
  .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: #31929A;
  text-decoration: none;
}

/* Card + Projekt */

.card {
  padding: 20px;
  border: 1px solid #27272a;
  border-radius: 10px;
  margin-bottom: 20px;
  color: white;
}

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

.projekt h2 {
  text-align: center;
}

.projekt img {
  width: -moz-available;
  width: -webkit-fill-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:not(.custom) {
  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;
}

/* Tailwind and other shit */
::before,
::after {
  --tw-content: "";
}

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.timeline-content * {
  line-height: unset;
  margin-top: 0;
  margin-bottom: 0;
}
