.news-widget {
  display: flex;
  flex-direction: column;
}

#stamps,
#thin-banners,
#index-container {
  display: flex;
  flex-direction: row;
}

#stamps,
#thin-banners,
#index-container {
  flex-wrap: wrap;
}

p, .post,
.abridged-post {
  max-width: 65ch;
}

.post p {
  max-width: 80ch;
}

@font-face {
  font-family: "GT Alpina Typewriter Bold";
  src: url("../fonts/GT Alpina Typewriter Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "GT Alpina Typewriter Regular";
  src: url("../fonts/GT Alpina Typewriter.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "TWKLausanne-300";
  src: url("../fonts/Lausanne/TWKLausanne-300.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Lausanne-500";
  src: url("../fonts/Lausanne/TWKLausanne-500.woff2") format("woff2");
  font-display: swap;
}
:root {
  --fluid-min-width: 320;
  --fluid-max-width: 1500;
  --fluid-min-size: 17;
  --fluid-max-size: 20;
  --fluid-min-ratio: 1.2;
  --fluid-max-ratio: 1.33;
}

:root {
  --fluid-screen: 100vw;
  --fluid-bp: calc((var(--fluid-screen) - ((var(--fluid-min-width) / 16) * 1rem)) / ((var(--fluid-max-width) / 16) - (var(--fluid-min-width) / 16)));
}

@media screen and (min-width: 1500px) {
  :root {
    --fluid-screen: calc(var(--fluid-max-width) * 1px);
  }
}
:root {
  --fluid-min-scale-0: var(--fluid-min-ratio);
  --fluid-min-scale-1: var(--fluid-min-scale-0) * var(--fluid-min-ratio);
  --fluid-min-scale-2: var(--fluid-min-scale-1) * var(--fluid-min-ratio);
  --fluid-max-scale-0: var(--fluid-max-ratio);
  --fluid-max-scale-1: var(--fluid-max-scale-0) * var(--fluid-max-ratio);
  --fluid-max-scale-2: var(--fluid-max-scale-1) * var(--fluid-max-ratio);
  --fluid-min-size-0: (var(--fluid-min-size)) / 16;
  --fluid-min-size-1: (var(--fluid-min-size) * var(--fluid-min-scale-0)) / 16;
  --fluid-min-size-2: (var(--fluid-min-size) * var(--fluid-min-scale-1)) / 16;
  --fluid-max-size-0: (var(--fluid-max-size)) / 16;
  --fluid-max-size-1: (var(--fluid-max-size) * var(--fluid-max-scale-0)) / 16;
  --fluid-max-size-2: (var(--fluid-max-size) * var(--fluid-max-scale-1)) / 16;
  --fluid-0: calc(((var(--fluid-min-size-0) * 1rem) + (var(--fluid-max-size-0) - var(--fluid-min-size-0)) * var(--fluid-bp)));
  --fluid-1: calc(((var(--fluid-min-size-1) * 1rem) + (var(--fluid-max-size-1) - var(--fluid-min-size-1)) * var(--fluid-bp)));
  --fluid-2: calc(((var(--fluid-min-size-2) * 1rem) + (var(--fluid-max-size-2) - var(--fluid-min-size-2)) * var(--fluid-bp)));
}

:root {
  --space-unit: 1em;
  --space-xxs: calc(0.25 * var(--space-unit));
  --space-xs: calc(0.5 * var(--space-unit));
  --space-sm: calc(0.75 * var(--space-unit));
  --space-md: calc(1.25 * var(--space-unit));
  --space-lg: calc(2 * var(--space-unit));
  --space-xl: calc(3.25 * var(--space-unit));
  --space-xxl: calc(5.25 * var(--space-unit));
}

.gallery-page-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
  flex-grow: 1;
  align-items: center;
  margin: auto;
  gap: var(--space-sm);
  max-width: 1024px;
}

.gallery-header {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}
.gallery-header h5, .gallery-header h6 {
  font-weight: lighter;
  margin: 0;
  font-size: small;
  color: #c3cbc9;
}
.gallery-header h6 {
  font-style: italic;
  opacity: 0.7;
}

.gallery-item {
  opacity: 80%;
  transition: opacity 0.1s ease;
}
.gallery-item:hover {
  opacity: 30%;
  transition: opacity 0.1s ease;
}
.gallery-item img {
  max-width: 300px;
}

.gallery-link:hover .gallery-title {
  backdrop-filter: blur(5px);
  transition: backdrop-filter 0.1s ease;
  color: rgb(51, 0, 42.4);
  transition: background-color 0.1s linear;
  background-color: rgba(150, 232, 9, 0.7);
}

.gallery-link {
  max-width: 768px;
  width: 300px;
  font-optical-sizing: auto;
  height: 300px;
}
.gallery-link a {
  font-family: "GT Alpina Typewriter Regular";
}

.gallery-title {
  position: relative;
  font-size: var(--fluid-1);
  backdrop-filter: blur(10px);
  font-family: "GT Alpina Typewriter Bold";
  color: #c3cbc9;
  transition: backdrop-filter 0.1s ease;
  transition: background-color 0.1s linear;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(54, 31, 39, 0.9);
  align-items: center;
  justify-content: center;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ===========================================================
   POSTS / CONTENT
=========================================================== */
.post,
.abridged-post {
  width: 100%;
}

.post {
  margin: auto;
}
article.post > header,
header.post-header,
header.page-header {
  margin-bottom: var(--space-md);
}

.abridged-post {
  margin-bottom: var(--space-lg);
}

.post-footer {
  display: grid;
  gap: var(--space-md);
}

.post-meta {
  margin-top: var(--space-xs);
  font-size: small;
  text-align: right;
  border-collapse: collapse;
  border: 1px solid #c3cbc9;
  background-color: #361F27;
}
.post-meta th,
.post-meta td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid #c3cbc9;
}
.post-meta th {
  background-color: #0D090A;
  color: #96e809;
  font-weight: bold;
  white-space: nowrap;
}

.categories {
  display: grid;
  grid-auto-flow: column;
  justify-content: end;
  gap: var(--space-xxs);
}

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

#model-viewer {
  width: 800px;
  height: 800px;
  border-radius: 500px;
  box-sizing: border-box;
  background-image: radial-gradient(circle, #ff00d4 0%, #ff00d4 15%, #0D090A 45%, #0D090A 100%);
}
@media (max-width: 568px) {
  #model-viewer {
    width: 600px;
    height: 600px;
  }
}

body {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  font-family: "TWKLausanne-300";
  color: #c3cbc9;
  background-color: #0D090A;
}

.hidden {
  display: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

table {
  width: 100%;
}

/* ===========================================================
   LAYOUT
=========================================================== */
.content > * {
  grid-column: content;
}

.popout {
  grid-column: popout;
}

.feature {
  grid-column: feature;
}

.full {
  grid-column: full;
}

.content {
  --gap: clamp(1rem, 6vw, 1rem);
  --full: minmax(var(--gap), 1fr);
  --content: min(50ch, 100% - var(--gap) * 2);
  --popout: minmax(0, 2rem);
  --feature: minmax(0, 5rem);
  flex-grow: 1;
  display: grid;
  grid-template-columns: [full-start] var(--full) [feature-start] var(--feature) [popout-start] var(--popout) [content-start] var(--content) [content-end] var(--popout) [popout-end] var(--feature) [feature-end] var(--full) [full-end];
}

.mainbox {
  grid-column: full;
  height: 100%;
  grid-row-start: 2;
  grid-row-end: 30;
  justify-items: center;
  margin-top: var(--space-lg);
}

.mainbox-inner {
  padding: 0 var(--space-md);
  justify-content: center;
  display: flex;
  align-items: center;
  background-color: transparent;
}

.two-column-container {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 3fr;
  gap: var(--space-lg);
}
@media (max-width: 800px) {
  .two-column-container {
    grid-template-columns: 1fr;
  }
}

#stamps,
#thin-banners,
#index-container {
  gap: var(--space-xs);
}

/* ===========================================================
   HEADER / NAVIGATION
=========================================================== */
.header {
  align-items: last baseline;
  display: flex;
  max-height: 72px;
}
.header h2 {
  font-family: "GT Alpina Typewriter Bold";
  font-size-adjust: 0.6;
}
.header {
  gap: var(--space-md);
  flex-direction: row;
  border-bottom: 5px dotted #ff00d4;
  justify-content: center;
}
@media (max-width: 568px) {
  .header {
    gap: var(--space-sm);
    align-items: center;
    flex-wrap: wrap;
    max-height: none;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .header span {
    display: none;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--fluid-1);
  gap: var(--space-xxs);
  align-items: last baseline;
}

.guestbook-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guestbook-container iframe {
  background-color: #ff00d4;
}

.navi {
  position: relative;
  flex-grow: 1;
  display: flex;
  font-size: var(--fluid-1);
  flex-direction: row;
  width: 100%;
}
.navi span {
  display: flex;
  gap: var(--space-xxs);
}

.sublinks-box {
  font-size: smaller;
  margin-top: 1.75rem;
}
.sublinks-box sublinks li {
  padding: var(--space-xxs);
}
.sublinks-box sublinks li:not(:last-child) {
  border-bottom: 0px solid #96e809;
}
.sublinks-box a {
  color: #96e809;
}
.sublinks-box {
  background-color: #0D090A;
  backdrop-filter: blur(10px);
  position: absolute;
  z-index: 1;
  width: 100%;
}

#navigation-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ===========================================================
   TYPOGRAPHY
=========================================================== */
h1 {
  font-family: "Lausanne-500";
  font-size: var(--fluid-2);
}

h2,
h3 {
  font-size: var(--fluid-1);
  font-family: "Lausanne-500";
}

p {
  line-height: 1.5;
}

/* ===========================================================
   ARCHIVES / TAGS
=========================================================== */
.archive-group {
  margin: var(--space-) 0;
}
.archive-group ul {
  margin-left: var(--space-xxs);
}

.archive-item {
  display: flex;
  justify-content: space-between;
}
.archive-item span {
  flex-grow: 1;
  margin: 0 var(--space-xxs);
  opacity: 30%;
  border-bottom: 1px dashed #c3cbc9;
}

.tag-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, max-content));
  gap: var(--space-xs);
  margin: var(--space-xl);
  opacity: 75%;
}

.tag-head {
  padding: var(--space-xxs) var(--space-xs);
  margin-bottom: var(--space-xxs);
}
.tag-head:target {
  background-color: rgba(255, 0, 212, 0.25);
}

/* ===========================================================
   GRIDS / MEDIA
=========================================================== */
.grid {
  column-count: 3;
  column-gap: var(--space-xs);
}
@media (max-width: 568px) {
  .grid {
    column-count: 1;
  }
}

.news-widget {
  font-size: smaller;
}
.news-widget #news-date {
  text-align: center;
  border-bottom: 1px solid #c3cbc9;
}
.news-widget p {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ===========================================================
   LINKS / UTILITIES
=========================================================== */
a {
  color: #ff00d4;
  text-decoration: none;
}
a:hover {
  font-style: italic;
  font-family: "Lausanne-500";
}

.toggle {
  display: inline-block;
  transition: transform 0.1s;
}

.rotated {
  transform: rotate(-90deg);
}

.back-button {
  display: grid;
  place-items: center;
  width: 100%;
  font-size: var(--fluid-2);
  margin-top: var(--space-lg);
}

/* ===========================================================
   FOOTER
=========================================================== */
footer.site-footer {
  font-size: smaller;
  display: flex;
  opacity: 0.75;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
  text-align: center;
}

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