
:root
{
  --cw: 1920px;
  --ch: 1080px;
}

@font-face {
    font-family: 'vcr_osd_monoregular';
    src: url('vcr_osd_mono_1.001-webfont.woff2') format('woff2'),
         url('vcr_osd_mono_1.001-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
font-family: sans-serif;

margin: 0px;
padding: 0px;

background: black;
width: 100vw;
height: 100vh;
color: white;
}

#loading{position:absolute; width:100%; height:100%; background-color: black; top:0;  background-image: url(spin.gif); background-repeat: no-repeat; background-size: 90px 90px; background-position: center center; filter: brightness(0.1);}

.choice
{
  padding: calc(var(--ch)/48);
border: 3px solid white;
height: calc(var(--ch)/12);
margin: calc(var(--ch)/48);
border-radius: 18px;
background-color: #00000040;
flex-grow: 1;
}
.choice:hover .passageLink
{
    color:white;
}
.choice:hover
{
  border: 3px solid #ffffff82;
}

/*colors here, layout below*/
.passageLink, .inactiveLink {
    text-decoration: none;
    color: yellow;
}

.passageLink:hover, .passageLink.active {
    /* background-color:#FFFFFF; */
}

#bar {
    background-color: #FF6D00;
}

#barBackground {
    background-color: white;
    opacity: 0;
}



#choices{width:100%; height:100%; margin: auto;}


#container {
    position: absolute;
    margin: auto;
    top:0;bottom:0;
    left:0;right:0;
    overflow: hidden;
}


#poster{
  width:100%;
  height:100%;
  position:absolute;
  background-image: url(preview.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/* choices are overlaid */
.passageVideo {
    width: 100%;
    max-height: 100%;
}


#choicesContainer {
    font-size: calc(var(--ch)/18);
    width: 100%;
    height:100%;
    position: absolute;
    margin: auto;
    bottom:0;
    left:0;right:0;
    vertical-align: middle;
    z-index:2147483647 !important;
}

#choicesContainer {
    position: absolute;
    /* bottom: -160px; */
    /* -webkit-animation: slide 0.5s forwards;
    animation: slide 0.5s forwards;
} */
}
.choices{display:flex !important; position:absolute; bottom:0px; width:100%;}


.hiddenChoice div:first-of-type{display: none;}
.hiddenChoiceAndFull div:first-of-type{display:none;}
.hiddenChoiceAndFull{height:100%;}
.hiddenChoiceAndFull .choice{height:100%; padding: 0px; margin:0px; border:none; opacity:0;}

.col{flex-direction: column;}

@-webkit-keyframes slide {
    100% { bottom: 0; }
}

@keyframes slide {
    100% { bottom: 0; }
}

.jokes{display:block !important; position:absolute !important; top:15% !important; height:85% !important; width:89%; left:5.5%;}
/* .jokes .choice::before{
  content: "";
      background-image: url(icon.png);
      display: block;
      width: calc(var(--ch)/10);
      height: calc(var(--ch)/10);
      background-size: calc(var(--ch)/10);
      margin: auto;
      background-repeat: no-repeat;
} */

.jokes .choice{
  display:inline-grid;
  font-size: calc(var(--ch)/40);
  border:none;
  background-color:transparent;
  background-image: url(icon.png);
  width: calc(var(--ch)/10);
  height: calc(var(--ch)/10);
  background-size: calc(var(--ch)/10);
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
  margin: calc(var(--ch)/30) calc(var(--ch)/24)
  /* padding-top: calc(var(--ch)/10); */


}
.jokes .choice:hover{
  border:none;
}

.jokes div:nth-child(even){transform:translateY(calc(var(--ch)/40));}

.home img{ width: calc(var(--ch)/10); }



/* optional, different layouts for different number of choices
.choicesContainer.layout1 {
}

.choicesContainer.layout2 {
}
*/

/* classes for table layout */
.tableChoices {

width: 100%;
height: 150px; /* must be specified in pixels because CSS in 2020 still sucks*/
table-layout:fixed;
border-collapse:collapse;
border-spacing: 0px;
border: 0;
}

.tableChoice, .tableChoices tbody, .tableChoices tr {
    border: none;
    border-spacing: 0px;
}


#barBackground {
    display: block;
    width: 100%;
    height: 0px;
}

#bar {
    display: block;
    height: 100%;
    width: 10px;
    margin: auto;
}

.passageLink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

}

.layout22 .passageLink
{
  /* display: flex;
align-items: baseline;
justify-content: center; */
height: 100%;
width: 100%;
text-align: center;
padding-top: calc(var(--ch)/12);
display: block;
}
#intro h1
{
  font-family: 'vcr_osd_monoregular';
  font-size: calc(var(--cw)/10);
  text-align:center;
  text-transform: uppercase;

}
.green{color: green; text-decoration: none;
}
.yellow{color:yellow; text-decoration: none;
}
#intro a:hover{color:white;}

.title{display:block;}
.title img{width:40%; display:block; margin:auto;}

.splashPage{
  display:flex;
  flex-flow:column;
  justify-content: center;
  background-image: url(original.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size:contain;
  position:absolute;
  top:0px;
  width:100%;
  height:100%;
  }


/* for placeholder text */
#passage {
}

#passage a {
    color: #999999;
}


/* for placeholder text */
.passageBody {
}


/* classes for div layout

.choice {

    display: inline-block;
    text-align: center;
    margin-top: 1em;

}


.choice.layout1 {
    width: 100%;
}
.choice.layout2 {
    width: 50%;
}

*/

/***** CONTROLS ****/

#menuContainer {
    width: 100%;
    height: 40px;
    position: absolute;
    margin: auto;
    bottom:0;
    left:0;right:0;
    vertical-align: middle;
    padding-left: 10px;
    padding-bottom: 10px;

    z-index:1 !important;
    user-select: none
}

.button {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    opacity: 0.7;
}

.button:hover {
    opacity: 1;
}


#play {
    background-image: url(icons/play.svg);
}

#pause {
    background-image: url(icons/pause.svg);
}

#next {
    background-image: url(icons/next.svg);
}

#previous {
    background-image: url(icons/previous.svg);
}

#ffd10 {
    background-image: url(icons/ffd10.svg);
}

#rewind10 {
    background-image: url(icons/rewind10.svg);
}

#fullscreen {
    background-image: url(icons/fullscreen.svg);
    float: right;
    margin-right: 20px;
}

video::-webkit-media-controls {
    display:none !important;
  }
