@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box; }

* {
  margin: 0; }

body {
  line-height: 1.6; }

body {
  -webkit-font-smoothing: antialiased; }

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%; }

html,
body {
  min-height: 100%; }

input,
button,
textarea,
select {
  font: inherit; }

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto; }

@font-face {
  font-family: "Inconsolata";
  src: url("/assets/fonts/Inconsolata.otf"); }
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700; }

html {
  scroll-padding-top: 9rem; }

body {
  font-family: "IBM Plex Sans", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center; }

nav {
  padding: 10px 0 15px 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
  background: white;
  position: sticky;
  top: 0; }
  nav ul {
    flex-grow: 1;
    list-style: none;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem; }
    nav ul a {
      text-decoration: none;
      color: black; }
    nav ul .home {
      font-size: 150%;
      margin-right: 1rem;
      font-weight: 900;
      flex-shrink: 0; }
      nav ul .home a {
        color: green; }
      nav ul .home img {
        height: 4rem;
        width: 4rem;
        border-radius: 0.3rem;
        animation: all 0.2s;
        filter: brightness(1); }
      nav ul .home img:hover {
        filter: brightness(0.95); }
    nav ul .end {
      margin-left: auto; }

.content,
nav ul,
#intro {
  max-width: 50rem;
  padding: 20px; }

.content {
  border-radius: 10px;
  font-size: 120%; }
  .content h1 {
    margin-top: 3rem;
    text-align: center; }
  .content .subtitle {
    font-size: 100%;
    text-align: center;
    font-style: italic;
    margin-top: -0.5rem;
    color: darkgrey; }
  .content .meta {
    color: grey;
    margin-bottom: 3rem;
    margin-top: 1rem;
    text-align: center;
    font-size: 80%; }
  .content h2,
  .content h3,
  .content h4,
  .content h5,
  .content h6 {
    margin-top: 2em;
    margin-bottom: 1em; }
  .content p {
    margin-bottom: 1em; }
  .content a {
    text-decoration: none;
    color: #57a3e8;
    animation: all 0.2s; }
  .content a:hover {
    color: #2e7bbf; }
  .content hr {
    border: none;
    text-align: center;
    margin-top: 3rem; }
  .content hr:after {
    content: "...";
    letter-spacing: 0.6rem; }
  .content iframe {
    width: 80%;
    border: none;
    margin-bottom: 1rem; }
  .content code {
    font-family: "Inconsolata", monospace; }
  .content p code {
    font-weight: bold; }
  .content pre,
  .content ul,
  .content ol {
    margin-bottom: 1rem; }
  .content pre {
    background: #111;
    color: white;
    border-radius: 10px;
    padding: 1rem;
    white-space: pre-wrap; }
  .content strong {
    font-weight: 600; }

#home {
  display: flex;
  flex-direction: column;
  align-items: center; }

#intro {
  gap: 2rem;
  margin-top: 4rem;
  font-size: 150%; }
  #intro img {
    width: 15rem;
    height: 15rem;
    float: left;
    margin-right: 2rem; }

.boxes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px; }
  .boxes .box {
    height: 15rem;
    width: 15rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s; }
    .boxes .box .image {
      background-size: cover;
      background-position: center;
      margin-bottom: auto;
      flex-grow: 1; }
    .boxes .box .meta {
      padding: 0.5rem;
      color: #333; }
      .boxes .box .meta h2 {
        font-size: 1.2rem; }
        .boxes .box .meta h2 img.icon {
          height: 1rem;
          display: inline-block;
          margin-left: 0.5rem; }
      .boxes .box .meta h3 {
        font-size: 1rem;
        font-weight: 400;
        font-style: italic;
        color: grey; }
      .boxes .box .meta .details {
        height: 0;
        transition: all 0.2s;
        overflow: hidden;
        opacity: 0; }
  .boxes .box:hover {
    transform: scale(1.05); }
    .boxes .box:hover .details {
      height: 1.3rem;
      opacity: 1; }
