html {
  --scan-height: calc(100vh - 132px);
}

body {            
	font-family: hershey, Helvetica, Arial, sans-serif;
	font-size: 30px;
	line-height: 36px;	
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-text-size-adjust: 100%;
    /* -webkit-text-stroke: 1px #000; */
    color: #00F;
    background-color: #FFF;
    margin: 0;
    padding: 0;
  
}

canvas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

p {
    position: relative;
    margin-block-start: 0em;
    z-index: 1;
}

a {
    color: #00F;
    text-decoration: none;
    border-bottom: 1px solid #00F;
}

a:hover {
    border-bottom: none;
}

a.no-underline {
    border-bottom: none;
}

#slideshow {

}

#slideshow img {
    /* border: 1px solid blue; */
}

#slideshow .slide {
  opacity: 0;
  transition: opacity 1s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

#slideshow .slide iframe {
  width: 100vw;
  height: 100vh;
  border: none;
  object-fit: cover;
}

#slideshow .slide video {
  width: 100vw;
  height: 100vh;
  border: none;
  object-fit: cover;
  background: black;
}

#slideshow .slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

#slideshow .slide.previous {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

#overlay {
  /* position: absolute; */
  /* left: 0; */
  /* width: auto; */
  background: #FFF;
  padding: 96px 36px 36px 36px;
  /* color: #000; */
  opacity: 1.0;
  /* z-index: 1; */
  transition: opacity 0.75s ease; 
}

#timestamp {
    position: fixed;
    top: 35px;
    left: 35px;
    color: #00F;
    transition: opacity 750ms ease;
}
#timestamp[data-visible="0"] {
  opacity: 0;
}
#about {
  width: 700px;
  transition: opacity 750ms ease; 
}
#about[data-visible="0"] {
  opacity: 0;
}
#colophon { 
  display: none;
  width: 100%;
  padding-bottom: 300px;
}

#colophon .header {
  margin-bottom: 10px;
}

#colophon .content {
  columns: 300px 6;
  column-gap: 44px;
  column-fill: balance;
}

#schedule {
  display: none;
  opacity: 1 !important;
  padding-bottom: 300px;
}

#schedule-grid {
  columns: 300px 6;
  column-gap: 44px;
  column-fill: balance;
  opacity: 1;
  color: white;
}

#schedule .item {
  color: white;
  line-height: 1;
  break-inside: avoid; /* Prevent items from splitting across columns */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}

#schedule .item.current {
  opacity: 1;
}

#schedule .item.past {
  opacity: 0.4;
}

#channel-info {
    position: fixed;
    top: 20px;
    left: 20px;
}

#copyleft-download {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: inline-block;
}

#copyleft-download img {
    height: 30px;
    padding-right: 10px;
    vertical-align: middle;
}

#download-link {
}

.popup::after {
    padding-right: 10px;
    content: "";
    display: inline-block;
    height: 14px;
    width: 14px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-image: url('/static//media/svg/arrow-up-right-1-w.svg');
}

.x {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
}

.no-underline a{
  border-bottom: none;
}

.no-break {
    break-inside: avoid;
    page-break-inside: avoid; 
    display: block;           
    /* margin-bottom: 1em; */
    /* padding: 1em; */
}
#scan-container {
  width: 700px;
  padding: 96px 36px 36px 36px;
  position: relative;
}
#scan-sticky-wrapper {
  position: sticky;
  top: 40px;
  height: var(--scan-height);
}
.scan-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--scan-height);
  transition: opacity 250ms;
}
.scan-wrapper img {
  display: block;
  /* width: 100%; */
  height: 100%;
  object-fit: contain;
}
.scan-wrapper[data-visible="0"] {
  opacity: 0;
  
}
/* mobile */

@media screen and (max-width: 500px) {

  body {
    font-size: 24px;
    line-height: 27px;	
  }

  #overlay {
    /* position: relative; */
    height: initial;
    min-height: 100vh;
  }
  
  #about,
  #scan-container {
    width: 100%;
    box-sizing: border-box;
  }

  #scan-container {
    padding-left: 18px;
  }

  #download-link {
      display: none;
  }

  #scan-sticky-wrapper {
    top: 18px;
  }

}
