@charset "UTF-8";
span.h {
  line-height: 8px;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body {
  background: #fff;
  font-family: "Poppins", sans-serif; 
}

.rainbow {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(255, 255, 255) 90%, rgba(255, 255, 255, 0.6) 100%);
  z-index: -1;
  display: none;
}

#i {
  margin-top: 50px;
  padding: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: auto;
  font-size: 0.75em;
  counter-reset: boxes;
}

@media only screen and (max-width: 768px) {
  #i {
    margin-top: 10px;
    padding: 0.75rem;
  }
}

#i a,
#i .box {
  display: inline-block;
  width: 24%;
  min-height: 145px;
  height: auto;
  margin-bottom: 1em;
}

@media only screen and (max-width: 600px) {
  #i a,
  #i .box {
    margin-bottom: 1.5rem;
  }
}

@media only screen and (max-width: 768px) {
  #i a,
  #i .box {
    width: 50%;
    min-height: 110px;
  }
}

@media only screen and (min-width: 1200px) {
  #i a,
  #i .box {
    width: 20%;
  }
}

@media only screen and (min-width: 1600px) {
  #i a,
  #i .box {
    width: 16.5%;
  }
}

#i a .box {
  width: 100%;
}

#i a[href*=http] > .box {
  cursor: ne-resize;
}

#i .box a h2 {
  text-decoration: none;
}

#i .box * {
  margin: 0;
  padding: 0;
}

#i .box {
  position: relative !important;
  cursor: pointer;
}

#i .box h1 {
  width: 90%;
  letter-spacing: -0.2px;
  padding-right: 1em;
  line-height: 110%;
  font-size: 0.8rem;
  font-family: "Poppins", sans-serif; 
  font-weight: 300;
  opacity: 1;
  margin-bottom: 0.3em;
}

@media only screen and (max-width: 768px) {
  #i .box h1 {
    width: 75%;
    line-height: 105%;
  }
}

#i .box p {
  font-size: 0.55rem;
  line-height: 140%;
  width: 75%;
  opacity: 0.6;
  margin-top: auto;
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  #i .box p {
    font-size: 0.8em;
    width: 88%;
  }
}

#i .box a,
#i .box p a {
  display: inline;
  width: auto;
  height: auto;
}

#i .box p:first-of-type {
  margin-bottom: 0.5em;
}

#i .box p:not(:first-of-type) {
  font-size: 0.55rem;
  opacity: 0.6;
  letter-spacing: 0;
  line-height: 140%;
}

#i .box p span:after {
  content: " — ";
  font-size: 0.3em;
}

#i .box p span:last-child:after {
  content: "";
}

#i .box p span.h:after {
  content: none;
}

#i .box._newsletter input[type=text] {
  font-family: "Poppins", sans-serif; 
  font-size: 0.6rem;
  border: 0;
  padding: 0.5em 0;
}

#i .box._newsletter input[type=submit] {
  font-family: "Poppins", sans-serif; 
  font-size: 0.6rem;
  background: none;
  border: none;
  padding: 0.15em;
  padding-left: 0;
  cursor: pointer;
  font-weight: normal;
  color: #000;
  opacity: 0.8;
}

#i .box._newsletter input[type=submit]:hover {
  opacity: 1;
}

#i .box[ascii] {
  white-space: pre-line;
  font-family: "Poppins", sans-serif; 
  font-size: 1.25rem;
  cursor: auto;
}

#i .box[image] {
  text-align: center;
}

#i .box[image] img {
  margin-left: -20%;
  max-width: 80%;
  max-height: 80%;
}

#i .box[year] h2 {
  font-size: 0.8rem;
  font-family: "Poppins", sans-serif; 
  line-height: 90%;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

#i .box[info] {
  cursor: help;
}

#i a:not([info]) {
  counter-increment: boxes;
}

#i a:not([info]) .box::after,
#i .box[data-type]::after {
  position: absolute;
  top: 0;
  right: 16px;
  padding: 0.1em 0;
  font-family: "Poppins", sans-serif; 
  content: "( " counter(boxes) " )";
  font-size: 0.5rem;
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  #i a:not([info]) .box::after,
  #i .box[data-type]::after {
    right: 1em;
  }
}

#i a[data-type=graphic][data-url*="."] > .box {
  cursor: zoom-in;
}

#i .box[data-url*="."] {
  cursor: zoom-in;
}

#i .box._longer,
#i a .box._longer ~ a,
#i a._longer {
  width: 50%;
}

@media only screen and (max-width: 768px) {
  #i .box._longer,
  #i a .box._longer ~ a,
  #i a._longer {
    width: 100%;
  }
}

@media only screen and (min-width: 1200px) {
  #i .box._longer,
  #i a .box._longer ~ a,
  #i a._longer {
    width: 40%;
  }
}

@media only screen and (min-width: 1600px) {
  #i .box._longer,
  #i a .box._longer ~ a,
  #i a._longer {
    width: 33%;
  }
}

#i a._longer > .box {
  width: 100%;
}

#i a {
  color: inherit;
}

#i.view-list {
  display: flex;
}

#i.view-list a, #i.view-list .box {
  width: 100%;
  min-height: 0 !important;
  height: auto;
  margin-bottom: 0.25rem;
}

#i.view-list a h1, #i.view-list .box h1 {
  margin-left: 0em;
}

#i.view-list a p, #i.view-list .box p {
  display: none;
}

#i.view-list a p._type, #i.view-list .box p._type {
  display: inline-block;
  position: absolute;
  right: 3em;
  width: auto;
  top: 0;
}

#i.view-list a > .box {
  width: 100%;
}

#i.view-list a:not([info]) .box::after,
#i.view-list .box[data-type]::after {
  position: absolute;
  top: 0;
  right: 0px;
  padding: 0.2em 0;
  font-family: "Poppins", sans-serif; 
  content: "( " counter(boxes) " )";
  font-size: 0.5rem;
  opacity: 5;
}

#i.view-list .box[image], #i.view-list .box[info], #i.view-list .box[ascii] {
  display: none;
}

#i .box.view-image {
  height: 180px;
}

@media only screen and (max-width: 768px) {
  #i .box.view-image {
    height: 150px;
  }
}

a.view-image {
  display: inline-block;
  height: 100%;
  min-height: 100%;
  width: 100%;
  background: transparent;
}
