@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://db.onlinewebfonts.com/c/fbf4b903ab671383e79e189b4e1f356e?family=Architype+Stedelijk+W00');
/* source: https://www.onlinewebfonts.com/download/fbf4b903ab671383e79e189b4e1f356e */

@font-face {
  font-family: 'Minecraftia';
  src: url('/assets/fonts/Minecraftia-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Stedelijk';
  src: url('/assets/fonts/Stedelijk Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Gridular';
  src: url('/assets/fonts/Gridular-Regular.otf') format('opentype');
}

:root {
  /* == palette one === */
  /* = "summer dream" = */
  --darkest-blue: #0081A7;
  --somewhat-teal: #00AFB9;
  --off-white: #FDFCDC;
  --somewhat-cream: #FED9B7;
  --funny-red: #F07167;

  /* === palette two ===== */
  /* "summer ocean breeze" */
  --pastel-red: #E63946;
  --blue-white: #F1FAEE;
  --light-blue: #A8DADC;
  --darkish-blue: #457B9D;
  --insanely-dark-blue: #1D3557;

  /* === palette three === */
  /* == "ocean sunset" === */
  --pastel-dark-blue: #355070;
  --pastel-purple: #6D597A;
  --funny-maroon: #B56576;
  --pastel-cream-red: #E56B6F;
  --dark-cream: #EAAC8B;

  --black: #000000;
  --white: #ffffff;

  /* === for the card (temp) === */
  --light-orange: #ffbf00;
  --orange: #ff930e;
}

/* ======================== */
/*  REALLY FUNNY COOL IDEA  */
/* what if the palette switches colors per page load */


html {
  background-color: var(--black);
  color: var(--white);
}

body {
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

html,
body {
  height: 100%;
}

.main-stuf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 80%;
  flex: 1 0 auto;
}

.main-stuf,
.box {
  position: relative;
  z-index: 1;
}

.horizontal-boxes {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
}

.horizontal-boxes .box {
  flex: 1;
  width: 100%;
}

#banner {
  max-height: 240px;
}

.box {
  flex: 1;

  box-shadow:
    -5px 0 0 0 var(--white),
    5px 0 0 0 var(--white),
    0 -5px 0 0 var(--white),
    0 5px 0 0 var(--white);

  margin: 10px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  /* width: 65%; */
  margin: 0 auto;
}

.text-box {
  padding: 8px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* max-width: 65% */
}

.navbox {
  margin-bottom: 20px;
  margin-top: -25px;
  max-height: fit-content;
  flex: none;
  padding-left: 55px;
  padding-right: 55px;
  font-size: 1rem;
}

.no-pixel-border, .no-border {
  box-shadow: none;
}

.no-border {
  border: none;
}

p {
  padding: 5px;
  color: white;
}

.transparent {
  background-color: transparent;
}

img,
.image {
  border-radius: 15px;
  max-height: inherit;
}


a {
  color: var(--light-blue);
  text-decoration: none;
}


a:link {
  color: var(--light-blue);
}

a:visited {
  color: var(--somewhat-teal);
}

a:hover {
  color: var(--funny-red);
  text-decoration: underline;
}

a:active {
  color: #00FF00;
}

/* ==== libraries and other stuff for aesthetics ==== */
#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 0;
}


/* ======== POLAROID ======== */
.wrapper {
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  flex-direction: row;
  gap: 5px;
  border-radius: 12px;
}

.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  text-align: center;
  flex: 1 1 auto;
}

.polaroid>img {
  max-width: 100%;
  height: auto;
}

.caption {
  font-size: 0.7rem;
  text-align: center;
  line-height: 2em;
}

.item {
  width: 30%;
  display: flex; /* was: inline-block before commit 4afc949 */
  margin-top: 2rem;
  flex: 1 1 auto;
  border-radius: 12px;
  z-index: 1
}

.item:hover {
  z-index: 20;
}

.polaroid:hover {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.8);
}


footer {
  flex-shrink: 0;
  font-size: 0.6rem;
  text-align: center;
  margin-top: 20px;
}

/* === Headings === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Minecraftia";
  font-style: normal;
}

.polaroid,
.caption,
caption {
  font-family: "Minecraftia";
  font-style: normal;
  color: var(--black);
}

p {
  /* font-family: "Architype Stedelijk W00"; */
  font-family: "Minecraftia";
  font-style: normal;
  /* letter-spacing: 1px;
  font-size: 1.2rem; */
}

/* masonry from https://codepen.io/qq7886/pen/MypEvw */
.masonry {
  /* Masonry container */
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
  margin: 1.5em;
  padding: 0;
  -moz-column-gap: 1.5em;
  -webkit-column-gap: 1.5em;
  column-gap: 1.5em;
  font-size: .85em;
}

.m-item {
  display: inline-block;
  background: #fff;
  padding: 1em;
  margin: 0 0 1.5em;
  width: 100%;
  -webkit-transition: 1s ease all;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-shadow: 2px 2px 4px 0 #ccc;
}

.m-item img {
  max-width: 100%;
}

@media only screen and (max-width: 320px) {
  .masonry {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .masonry {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {
  .masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}

@media only screen and (min-width: 1201px) {
  .masonry {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
  }
}

@media screen and (max-width: 600px) {
  .horizontal-boxes {
    flex-direction: column;
    align-items: center;
  }

  .horizontal-boxes .box {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .main-stuf {
    width: 90%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #banner {
    max-height: 140px;
  }

  .wrapper {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }

  .item,
  .polaroid,
  .wrapper,
  .caption {
    flex: 0 0 auto;
  }
}

@media screen and (max-width: 450px) {
  /* html {
    margin-top: 160px;
    /* i mean it works but i don't really like it
  }
  */

  html,
  body {
    /* was: body */
    align-items: flex-start;
    overflow-x: hidden;
  }
}

/* === Courier Prime Classes === */
.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}

.courier-prime-bold {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}

.courier-prime-regular-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}

.courier-prime-bold-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: italic;
}

/* === Nunito Classes === */
.nunito-regular {
  font-family: "Nunito", sans-serif;
  font-weight: 450;
  font-style: normal;
}

.nunito-bold {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.nunito-regular-italic {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.nunito-bold-italic {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-style: italic;
}