.box.con.frame-normal {
  border-image-source: url("/assets/dwarfs.webp");
}

.box.con.frame-grey {
    border-color: grey;
}

.box.con.frame-ps2 {
    border-image-slice: 250;
    border-image-source: url("/assets/pics/blog/frames/ps2back.webp");
}

.main {
  max-width: 85rem !important;
  margin: 0 auto !important;
  padding: 1rem 2rem !important;
}

.box.con {
  border-style: solid;
  border-width: 80px;
  border-image-source: url("/assets/latest.webp");
  border-image-slice: 80;
  border-image-width: 80px;
  border-image-repeat: round;
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 1.25;
  padding: 10px;
  outline: 8px ridge #2c3e6c;
  box-sizing: border-box;
}

.box.con img,
.box.con picture,
.box.con video,
.box.con canvas,
.box.con svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  border: 7px ridge #355657;

}


.box.con .image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.box.con .image-row img {
  width: 100%;
  margin: 0;
}

.flex.NECK {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.box.forwards {
  flex: 0 0 19rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  box-sizing: border-box;
}

.toprev,
.tonext {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 0.5rem;
}

.nav-text {
  flex: 1;
  min-width: 0;
}

.toprev .arrow,
.tonext .arrow {
  margin-left: auto;
}

.lowOC {
  display: block;
  font-size: 0.9em;
  color: rgba(0, 0, 0, 0.6);
}

.box.forwards:hover,
.box.home:hover,
.box.home:focus-within,
.box.forwards:focus-within {
  background: linear-gradient(180deg, #3e71cd, #2c3e6c);
}

.box.home {
  text-align: center;
  padding: 5px;
  text-decoration: none;
}

.empty {
  text-align: center;
}

@media (max-width: 900px) {
  .main {
    padding: 0.75rem 1rem !important;
  }

  .box.con {
    border-width: 48px;
    border-image-slice: 48;
    border-image-width: 48px;
    padding: 0.75rem;
    outline-width: 5px;
  }

  .box.forwards {
    flex-basis: 14rem;
    padding: 0.65rem 1rem;
  }

  .box.con .image-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .main {
    padding: 0.5rem 0.75rem !important;
  }

  .box.con {
    border-width: 2px;
    border-style: solid;
    border-color: #2c3e6c;
    border-image: none;
    outline-width: 3px;
    line-height: 1.2;
  }

  .box.con,
  .box.con * {
    font-size: 1.25rem !important;
  }

  .flex.NECK {
    flex-direction: column;
    align-items: stretch;
  }

  .box.forwards,
  .box.home {
    width: 100%;
    flex: 1 1 auto;
  }

  .box.forwards {
    padding: 0.65rem 0.8rem;
  }

  .toprev,
  .tonext {
    min-height: 44px;
  }

  .lowOC {
    font-size: 0.74rem !important;
  }

  .box.con .image-row {
    grid-template-columns: 1fr;
  }

  .box.con img,
  .box.con picture,
  .box.con video,
  .box.con canvas,
  .box.con svg {
    padding: 0;
  }

  .box.con img,
  .box.con video,
  .box.con canvas {
    border-width: 3px;
  }
}
