@font-face {
    font-family: Fira Code;
    src: url(../assets/fonts/FiraCode-Light.woff2) format("woff2");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: Fira Code;
    src: url(../assets/fonts/FiraCode-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Fira Code;
    src: url(../assets/fonts/FiraCode-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Fira Code;
    src: url(../assets/fonts/FiraCode-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: Fira Code;
    src: url(../assets/fonts/FiraCode-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
}

.h-center {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
}
.b-space {
    padding-bottom: 2vh;
    padding-top: 2vh;
}

.p-space {
    padding-bottom: 3vh;
    text-align: center;
}

body {
    font-family: Fira Code, monospace;
    -webkit-font-smoothing: antialiased;
    background-color: #1F2023;
    color: #b0b0b0;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

a:visited {
  color: inherit;
}


.board{
  --cols: 1;
  --col-gap: clamp(10px, 1.5vw, 24px);
  --row-gap: 16px;
  --row-size: 6px;

  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: var(--row-size);
  gap: var(--row-gap) var(--col-gap);
  grid-auto-flow: dense;
  margin: 0;
  padding: 0;
  list-style: none;
}


@media (min-width: 615px)  { .board { --cols: 2; } }
@media (min-width: 920px)  { .board { --cols: 3; } }
@media (min-width: 1300px) { .board { --cols: 4; } }
@media (min-width: 1600px) { .board { --cols: 5; } }
@media (min-width: 1900px) { .board { --cols: 6; } }
@media (min-width: 2200px) { .board { --cols: 7; } }


.pin { 
  grid-row-end: span 1; 
}


.card { 
  display: grid; 
  gap: .6rem; 
  background: var(--card-bg, rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; 
  padding: 10px; 
  overflow: hidden; 
  margin: 0;
}

.card > img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.card > figcaption{
  margin: 0;
  padding: .6rem .5rem .7rem;
  text-align: center;
  line-height: 1.45;
}

/* highlight when navigated via #hash or after copying */
/*:target .card { outline: 2px solid var(--accent, #A7C7E7); outline-offset: 2px; }*/
.flash-highlight .card { box-shadow: 0 0 0 3px var(--accent, #A7C7E7) inset; }

