.article-title a {
  max-width: unset !important;
}

.header {
  max-width: 100%;
  padding: 0.3em;
  border-radius: 4px 4px 4px 4px;
  background-color: #24242490;
  backdrop-filter: blur(10px);
  align-items: center;
  display: flex;
  gap: 20px;
  margin: 1em;
  width: calc(100vw - 2.6em);
}

:root {
    --dark-yellow: #c0b55b;
    --light-yellow: #eceaae;
    --violet: #793659;
    --background: #121212;
}

.metainfo {
  overflow-wrap: break-word;
  padding: 0.5em;
}


/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://skruffl.wtf/resources/roboto.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://skruffl.wtf/resources/roboto.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'deltarune';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('deltarune.woff2') format('woff2');
}

body {
    line-height: 1.4;
    background-image: url(img/clouds.png);
    background-repeat: repeat;
    color: var(--dark-yellow);
    padding: 0;
    margin: 0;
    font-family: 'Roboto';
}

.langpicker {
  width: 2em;
  position: absolute;
  left: 350px;
  top: 5px;
}

.tags-card {
  max-width: 15% !important;
  transform: translate(5em);
}

.inline-flex {
  display: flex;
  padding: 2em;
  gap: 50;
  align-items: center;
  justify-content: center;
}

.centered {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.center-content {
    max-width: 70ch;
    background-image: url(img/cork.png);
    background-repeat: repeat;
    width: 100%;
    border-radius: 8px 8px 8px 8px;
    filter: drop-shadow(5px 5px 15px rgba(20, 20, 20, 0.8));
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: fit-content;
    min-width: 200px;
    justify-content: center;
    max-width: 900px;
    min-height: 20vh;
    padding-left: 1em;
    margin: 1.5em;
}

.article-container {
  display: block; 
  padding-left: 7em !important; 
  padding-right: 7.9em !important;
  padding-top: 2em !important;
  padding-bottom: 2em !important;
  max-width: 68% !important;
}

.title-tag {
  color: var(--violet);
}


.subtitle {
  color: white;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 1em;
}

.corkboard {
    background-image: url(img/cork.png);
    background-repeat: repeat;
    width: 100%;
    border-radius: 8px 8px 8px 8px;
    filter: drop-shadow(5px 5px 15px rgba(20, 20, 20, 0.8));
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-height: 80vh;
}

.corkboard-item {
    background-image: url(img/paper.jpg);
    filter: drop-shadow(7px 7px 5px rgba(20, 20, 20, 0.5));
    background-repeat: repeat-y;
    border-radius: 24px 24px 24px 24px;
    padding: 0.5em;
    padding-left: 1em;
    width: fit-content;
    max-width: 90%;
    margin: 0.5em;
    background-position: 15% 20%;
    overflow-wrap: break-word;
}

.corkboard-item img {
  max-width: 100%;
  height: auto;
}

@media(orientation: portrait) {
  .tags-card {
    max-width: unset !important;
    transform: unset !important;
  }
  a {
    max-width: 60vw;
    display: inline-block;
    overflow-wrap: break-word;
  }
  .articlePreview {
    width: fit-content !important;
  }
  .center-content {
    margin: 0.2em;
    padding: 0.2em;
  }

  .article-container {
    padding-left: 1em !important; 
    padding-right: 1em !important;
    max-width: 90% !important;
  }
  .header img {
    height: 48px;
    width: auto;
  }
  .header {
      margin: 0.3em;
      width: calc(100vw - 1.3em);
      gap: 10px;
  }
}

.articlePreview {
  width: 49%;
}
a {
  max-width: 15em;
  display: inline-block;
  overflow-wrap: break-word;
}

.index-tag-block {
  display: inline-block;

}

.title {
  color: var(--violet);
  padding: 0.5em 1em 0 2em;
  border-image: url("img/full-paper.png") 50%/50% 50%/0.5rem round space;
  border-style: solid;
  transform: rotate(1deg);
  width: fit-content;
  filter: drop-shadow(5px 5px 15px rgba(20, 20, 20, 0.8));
}

.corkboard-item button {
    background: none;
    border: none;
    padding: 0;
}

.author {
    color: #121212;
    text-align: left;
    padding: 1em;
    margin-top: 1em;
    display: flex;
    gap: 1em;
}

.author img {
    filter: drop-shadow(5px 5px 5px);
}

.toc {
    text-align: left;
}

h1, h2, h3, h4, h5, h6, h7 {
    color: var(--violet);
}
