:root {
    --text-color: #fffdeb;
    --text-color-flipped: #242319;
    --muted-text-color: #fffdeb8f;
    --heading-color: #ff45f9;
    --link-color: #0084ff;
    --background-color: #212329;
    --BORE-background: url(images/BOREDOME_gradient.jpg);
  
    --heading-font: 'inconsolata', sans-serif;
    --body-font: 'inconsolata', sans-serif;
    --basic-shadow: 0px 3px 20px rgba(0, 0, 0, 0.401);
  }

main {
/*passed styling to div.maincentered*/
  margin:3%
  }

div.maincentered {
  margin-inline: auto;
  max-width: 80ch;
}

div.maincentered > img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

h1 {
  border-block-end: 5px solid var(--heading-color);
  margin-block-start: 1rem;
  margin-block-end: 2rem;
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 450;
  font-size: 2vw;
  font-size: 1vmin;
  font-size: 3vmax;
}

h1.lessmargin {
  border-block-end: 5px solid var(--heading-color);
  margin-block-start: 3.5rem;
  margin-block-end: 0rem;
  font-family: var(--heading-font);
  font-weight: 650;
  font-size: 4vw;
  font-size: 20vmin;
  font-size: 5vmax;
}

h2 {
  border-block-end: 1px solid var(--heading-color);
  margin-block-start: 1.5rem;
  margin-block-end: 1rem;
  font-family: var(--heading-font);
  font-size: 2vw;
  font-size: 20vmin;
  font-size: 2vmax;
  font-weight: normal;
  color: var(--heading-color);
}

.between_line{
  border-block-end: 1px solid var(--heading-color);
  margin-bottom: 6%;
}

/*img {
    margin-inline: auto;
    max-width: 100%;
    box-shadow: var(--basic-shadow)
  }*/



/*img:hover {
  animation: 3s 1 normal image-anim;
}*/

figure {
  margin-inline: 0px;
}

figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

figcaption {
  font-size: 85%;
  line-height: 1.3;
  margin-left: 0%;
  margin-right: 0%;
  margin-top: 0%;
  color: var(--muted-text-color);
}

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

a:hover {
  text-decoration:underline;
}

ul, ol {
  padding-inline-start: 2rem;
}

li {
  margin-block: 0 0.5rem;
}
li::marker {
  color: var(--heading-color);
}

html {
  font-family: var(--body-font);
  font-size: 110%;
  line-height: 1.45;
  color: var(--text-color);
  background-color: var(--background-color);  
  }

html.BOREDOME {
    font-family: var(--body-font);
    font-size: 150%;
    line-height: 1.45;
    color: var(--text-color-flipped);
    height: 1080px;
    background: repeating-linear-gradient(180deg, rgba(255,204,190,1) 0%, rgba(255,249,189,1) 20%, rgba(29,255,189,1) 40%, rgba(0,216,255,1) 60%, rgba(255,204,252,1) 80%, rgba(255,204,192,1) 100%); 
    }

footer * {
  margin: 0.5%;
  font-size: 0.7rem;
}

  footer {
  margin-block-start: 3rem;
  margin-inline: auto;
  max-width: 60ch;
  text-align: center;
  margin-block-end: 2rem;
  border-block-start: 1px solid var(--heading-color);
  color: var(--muted-text-color)
  }



  ------------------------------------

  .annotation > p {
    font-size: 0.7rem;
    margin-block-start: 3rem;
    margin-inline: auto;
    max-width: 60ch;
    text-align: center;
    margin-block-end: 2rem;
    color: var(--text-color-flipped)
    }

.grid-wrapper > div {
    display: grid;
    justify-content: center;
    align-items: center;
}

.grid-wrapper > div > a, .grid-focused > div > a {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-wrapper > div > a > img, .grid-focused > div > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(6, auto);
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    margin-left: 0%;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.grid-focused {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(1, auto);
  grid-auto-rows: auto;
  grid-auto-flow: dense;
}

.grid-focused > p, .grid-wrapper > p, .comment {
  font-size: 75%;
  line-height: 1.3;
  margin-left: 0%;
  margin-right: 0%;
  margin-top: 0%;
  color: var(--muted-text-color);
}

.basic > a {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-wrapper .small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: span ;

}

.grid-wrapper .wide {
  grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 3;
    grid-row: span 2;
}

.grid-wrapper .cover {
    grid-column: span 6;
    grid-row: span 3;
}

.grid-wrapper .side {
  grid-column: span 4;
  grid-row: span 2;
}

.grid-wrapper .half {
  grid-column: span 2;
  grid-row: span 1;
}

.grid-wrapper > div > a > iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-wrapper > div > a > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.auto-resizable-iframe {
  max-width: 600px;
  margin: 0px auto;
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 60%;
  height: 0px;
}

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
    
@media only screen and (max-width: 1000px) {
    .grid-wrapper .cover {
      grid-column: span 4;
      grid-row: span 2;
    }
    .grid-wrapper {
      grid-template-columns: repeat(4, auto);
      grid-auto-rows: 200px;
    }
    .grid-wrapper .small {
      width: 100%;
      height: auto;
      object-fit: cover;
      grid-column: span 1;
    }
    .grid-wrapper .big {
      grid-column: span 4;
      grid-row: span 2;
  }
  }
  
@media only screen and (max-width: 600px) {
    .grid-wrapper .cover {
      grid-column: span 4;
      grid-row: span 2;
    }
    .grid-wrapper {
      grid-template-columns: repeat(2, auto);
      grid-auto-rows: 200px;
    }
    .grid-wrapper .small {
      width: 100%;
      height: 100%;
      object-fit: cover;
      grid-column: span 1;
    }
  }
  

