html {
  padding: 1em;
}
@media screen and (min-width: 60em) {
  html {
    padding: 3em;
  }
}

.home h1 {
  display: none;
}
.home .u-lMasthead {
  font-family: RadioGrotesk-Regular;
  margin-bottom: 50vmin;
  font-size: 4em;
}
.home .summary {
  font-family: HappyTimesattheIKOBNewGamePlusEdition-Regular;
  max-width: 40em;
}

.page--site .u-lMasthead,
.page--permalink .u-lMasthead {
  padding: 3em;
  position: absolute;
  top: 0;
  left: 0;
}

.u-lMasthead a,
.nav a {
  font-family: RadioGrotesk-Regular;
  text-decoration: none;
  color: #f00;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav {
  padding: 3em;
}
.nav ul {
  margin: 0;
}

.page {
  padding: 2em;
}
@media screen and (min-width: 60em) {
  .page {
    padding: 6em 8em;
  }
}
.page .content {
  max-width: 44em;
}
.page .content p {
  font-family: HappyTimesattheIKOBNewGamePlusEdition-Regular;
  font-size: 1.3em;
  line-height: 1.4;
  letter-spacing: -0.016em;
  -webkit-font-smoothing: antialiased;
}

.page--permalink .content {
  margin: 0 auto;
}

.media {
  margin: 0 auto;
}
.landscape .media {
  max-width: 44em;
}
.portrait .media {
  max-width: 40em;
}

.post-nav {
  display: flex;
  align-items: unset;
  justify-content: center;
}
.post-nav > * {
  padding: 2em;
}

.page h1 {
  font-family: RadioGrotesk-Regular;
  font-size: 3em;
  font-weight: normal;
  -webkit-text-stroke: 1px #fff;
}

.page--site h1 {
  font-size: 5em;
  margin-top: 20vmin;
}

.page--permalink h1 {
  transform: rotateZ(-90deg);
  position: fixed;
  left: -3em;
  top: 8em;
  -webkit-text-stroke: 1px #2d2db7;
  color: transparent;
}

.container {
  border-top: 4px solid #000;
  padding-top: 3em;
}

.bob {
  border: 1em solid #f00;
}

img {
  background: #aaa;
}

.nav {
  position: absolute;
  top: 0;
  right: 0;
}

.nav li {
  display: inline;
  margin-right: 1em;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  top: 0;
  left: 0;
  display: none;
  padding: 1em;
}

.modal__image {
  height: 100%;
  width: auto;
  margin: 0 auto;
  display: block;
}

.modal-is-open {
  overflow: hidden;
}

.modal-is-open .modal {
  display: block;
}

@media screen and (min-width: 40em) {
  .item {
    width: calc(50% - (30px * (1/2)));
  }
}
@media screen and (min-width: 60em) {
  .item {
    width: calc(33.3% - (30px * (2/3)));
    margin-bottom: 30px;
  }
  .item .wide {
    width: 66.6%;
  }
}

.item {
  transition: 0.4s all ease;
}
.item:hover {
  filter: invert(100%);
}

/*
.container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2em;
}
*/
img {
  width: 100%;
  height: auto;
}

.flickity-slider .item {
  width: 20em;
  height: 100% !important;
}

.main-carousel {
  /*		display: none; */
}

input.nav.nav--prev {
  left: 0;
  top: 50%;
}

input.nav.nav--next {
  right: 0;
  top: 50%;
}

.modal {
  padding: 0;
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
.infinite-scroll-request {
  animation-name: spin;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
  border-radius: 50%;
  height: 3em;
  width: 3em;
  margin: 2em auto;
}

.infinite-scroll-last {
  color: #aaa;
  font-family: HappyTimesattheIKOBNewGamePlusEdition-Regular;
  font-size: 3em;
  font-style: italic;
  -webkit-text-stroke: 0.4px #fff;
  letter-spacing: -0.04em;
  text-align: center;
  display: none;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
