/*  Custom CSS for Reveal site  */

@font-face {
    font-family: 'MarkWebPro';
    src: url('fonts/MarkWebPro-LightW01Regular.woff');
    font-style: normal;
}

html {
  color: #fff;
  background-color: #000;
  font-family: 'MarkWebPro', sans-serif;
}

body {
  font-family: 'MarkWebPro', sans-serif;
  opacity: 1;
  transition: 1s opacity;
}

textarea {
  font-family: sans-serif; 
}

body.fade-out {
    opacity: 0;
    transition: none;
}

.logo {
    content: url(../img/logo.png);
    display: inline-block;
    position: relative;
    height: 44px;
    width: auto;
}

#copyright {
    font-size: .25em;
    color: white;
    position:relative;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    text-align: center;
}

#loading {
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   position: fixed;
   opacity: 1;
   background-color: #000;
   z-index: 99;
}

#loading-parent {
  background-color: #000;
  height: 95%;
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  resize:none;
  overflow:hidden;
}

#loading-child {
    width:100px;
    height: auto;
    z-index: 100;
}

/* resume modal */

#resume {
   display: none;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   position: fixed;
   opacity: .8;
   background-color: #000;
   z-index: 97;
}

#modal {
  background-color: #000;
  height: 95%;
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  resize:none;
  overflow:hidden; 
  z-index: 98;
}

#modal-box {
 height: 200px;
 width: 400px;
 outline: 2px solid #fff;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 1em;
}

#modal-title {
   color:white;
   padding:0;
   margin:0;
   font-size:2em;
}

#modal-text {
   color:white;
   padding:0;
   margin:0;
   font-size:1em;
}

/* ios adjustment for visible audio controls */
.moveAudio {
    display:none;
}

/* remove video fullscreen btn 

video::-webkit-media-controls-fullscreen-button {
    display: none;
}

video::-moz-media-controls-fullscreen-button {
    display: none;
}

video::-ms-media-controls-fullscreen-button {
    display: none;
}
*/

/* remove all video controls 

video {
  pointer-events: none;
}
*/

/*  ----- adjust Reveal CSS -----  */

.reveal section img { 
    background:none; 
    border:none; 
    box-shadow:none; 
}

.reveal .controls button {
    color: white;
    filter: drop-shadow(0 0 .5rem black);
}

.reveal .slides .header{
  position:absolute;
  top: 10px;
  left: 10px;
}

.reveal .slides .footer{
/*
  position:relative;
  bottom: -120px
*/
  position:absolute;
  top: 10px;
  z-index:999;
}

.progress { pointer-events: none; }

/*  -----------------------------  */

.text-left {
    text-align: left;
}

.dark-container {
  background-color: rgba(0, 0, 0, .3);
  outline: 1px solid #fff;
}

.clear-container {
  background: none;
  outline: 2px solid rgba(255, 255, 255, .2);
}

.flex-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-container > div p, img {
    filter:none;
    color: white;
}

.flex-container > div img {
    border:0;
}

.flex-container > div {
  height: auto;
  max-width: 300px;
  margin: 0 .5em;
  filter: none;
}

#continue {
    height: 40px;
    margin: .8em;
    filter: drop-shadow(0 0 .5rem black);
}

button {
    width: auto;
    height: auto;
    padding: 4px 30px;
    margin: 10px;
    display: inline;
    background: rgb(0, 0, 0); /* fallback */
    background-color: rgba(0, 0, 0, .3);
    color: white;
    border: none;
    outline: 1px solid #fff;
    font-size: .7em;
    text-transform: uppercase;
    cursor: pointer;
    text-overflow: hidden;
    text-decoration: none;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button:disabled {
    opacity: .2;
    cursor: default;
}

button:hover {
    background: rgb(0, 0, 0); /* fallback */
    background: rgba(0, 0, 0, .5);
    transform: scale(1.05);
}

#exit-btn {
    font-size: .7em;
    display: block;
    opacity: 0;
    margin: 1.1em auto;
}

#fixed-play {
    display: flex;
    align-items: center;
    color: white;
    position:fixed;
    width: 100%;
    height: auto;
    bottom: 16px;
    z-index:33;
}

#fixed-play-btn {
    display: block;
    opacity: 0;
    position: relative;
    margin: 0 auto;
    height: 36px;
    width: 36px;
    object-fit: contain;
    outline: none;
    background:none;
}

#play-pause {
    display: inline;
    position: relative;
    transform: translate(-50%, -10%);
    -ms-transform: translate(-50%, -10%);
    width: 32px;
    height: 32px;
    margin: 0 auto;
    padding: 0;
    border:none;
    outline: none;
    background: none;
    pointer-events: none;
}

#start-btn {
   display: block;
   opacity: 0;
}

#start-back {
  position: absolute;
  left: -15px;
  top: -22px;
  z-index: -1;
  opacity: .6;
}

#start-object {
  display: inline-block;
  position: relative;
  margin: 0 auto;
}

.scrollable {
    bottom: 0px;
    top: 0px;
    overflow-y: scroll !important;
    overflow-wrap: break-word;
    background-color: #4444;
}

h1,
h2,
h3,
h4,
p {
    filter: drop-shadow(0 0 .5rem black);
}

.word-break {
   word-break: break-all; 
}

.remove-caps {
    text-transform: none;
}

.highlight-text {
    color: lightgreen;
}

.yellow-text {
    color: yellow;
}

.text-container p {
    font-size: .8em;
    margin: 2em auto;
    max-width: 900px;
    display: block;
}

#byline {
    font-size: .5em;
    margin-top: -2em;
}

.iframe-video {
    width: 1239px;
    height: 697px;
}

/*  Blocks Demo  */

#block1-rightpic, #block2-rightpic, #block3-rightpic {
    margin-left:-16px;
}

#blocks-frame {
    width: 100%;
    height: 260px;
}

/*  GOOGLE content  */

#google-frame {
    width: 100%;
    height: 100%;
}

.text-fragment-holder {
    position: relative;
    margin: 0 auto;
}

#blocks-second-text {
    position: absolute;
    top: -90px;
    left: 80px;
}

#blocks-third-text {
    position: absolute;
    top: -40px;
    left: 80px;
}

/*  HASH content  */

#hash-title {
    margin-bottom: 1.5em;
}

#HashInput {
    width: 400px;
    margin: 0 auto;
    font-size: .7em;
    border: none;
    padding: 10px;
}

#HashOutput {
    margin: 0 auto;
    padding: 1em;
    max-width: 20em;
}

#hash-second-text {
    position: absolute;
    top: -50px;
    left: 76px;
    margin: 0 auto;
}

#hash-third-text {
    position: absolute;
    top: -68px;
    left: 76px;
    margin: 0 auto;
}

/*  QUIZ content  */

#quiz {
    width: 700px;
    height: 700px;
    margin: 0 auto;
    font-size: .7em;
}

#quiz h2 {
    font-size: 2em;
    padding: .3em;
    margin: 0;
}

/* VIDEO */

.video-container {
    width: 100%;
    height: 100%;
}

#video1 {
    object-position: 50% 50%;
    object-fit: contain;
}



/* BROWSER */

.browser-container {
    width: 100%;
    max-width: 20em;
    height: auto;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
}

.browser-container p {
    margin: 1em auto;
    max-width: 30em;
}

.browser-container h4 {
    margin: .8em .5em;
}

p.browser-instruction {
    font-size: .7em;
}

p.small-type {
    font-size: .55em;
    margin-bottom: 1em;
}

ul.small-type {
    font-size: .55em;
    margin-bottom: 1.5em;
    padding: 1em;
}

ul.small-type li {
    margin: .5em;
}

p.small-btn {
    font-size: .7em;
    margin-bottom: 1em;
}

#browser-title {
    font-family: sans-serif;
    font-size: 22px;
    text-align: center;
    margin: 4px;
    padding: 0;
}

/*  ----- Greensock -----  */

#hash-btn1 {
    display: block;
    opacity: 0;
    margin: 0 auto;
}

#hash-btn2, #hash-btn3 {
    display: none;
    opacity: 0;
    margin: 0 auto;
}

#blocks-btn1 {
    display: block;
    opacity: 0;
    margin: 0 auto;
}

#blocks-btn2, #blocks-btn3 {
    display: none;
    opacity: 0;
    margin: 0 auto;
}

#solution-text1, #distributed-text1, #distributed-text2, #hash-text1, #HashInput, #digital1-text1, #digital1-text2, #digital2-pic, #digital2-text1, #digital2-text2, #blockchain1-pic, #blockchain1-text1, #blockchain2-pic, #blockchain2-text1, #blockchain2-text2, #blockchain3-pic, #blockchain3-text1, #blocks-text1, #blocks-frame, #wrap1-pic, #wrap1-text1, #wrap1-text2, #wrap2-pic, #wrap2-text1, #wrap2-text2, #wrap2-text3, #future-text1, #future-text2, #future-text3, #future-pic1, #question-text1, #question-text2, #question-text3, #question-btn, #complete-text1, #resources-content {
    display: block;
    opacity: 0;
}

#question-btn, #blocks-btn {
    margin: 40px auto 1px auto;
}

#hands-pic, #map, #app {
    margin: 0 auto;
}

#google-text1 {
   display: block;
   transform: scale(0.8);
}

#google-text3 {
   display: block;
}

/*  -----------------------------  */

.speech-bubble {
    display: inline-block;
    top: -260px;
    left: 30px;
    max-width: 180px;
    position: relative;
    background: #00aabb;
    border-radius: .4em;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 28px solid transparent;
    border-right-color: #00aabb;
    border-left: 0;
    border-top: 0;
    margin-top: -14px;
    margin-left: -28px;
}

p.bubbletext {
    font-size: .4em;
    padding: 14px;
    filter: none;
}

#bubble1,
#bubble2 {
    opacity: 0;
    transform: scale(0.5);
}

#bubble1 {
    left: 400px;
    width: 200px;
}

#bubble2 {
    width: 400px; 
}

.browser-search {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.slides {
    padding: 10px;
}

#frm,
#frm2 {
    width: 800px;
    height: 180px;
    padding: 0;
    margin: 0 auto;
    display: block;
    background-color: white;
    border: 1px solid black;
}

#urlclick {
    height: 112px;
    width: 76px;
    margin: 0;
    font-size: 30px;
    float: left;
}

iframe {
    padding: 1px;
    margin: 1px;
}

#map {
    width: 100%;
    height: 320px;
}

#app {
    width: 100%;
    height: 400px;
}

/* more resources */

#resources-content {
    font-size:.5em;
    padding:1em 2em;
    border:1px solid white;
    margin: 2em;
}

#resources-item {
   width: 110px;
   height: 160px;
   display:inline-block;
   padding: .3em;
}

#resources-item p {
   margin: .2em;
   font-size: .6em;
   overflow: hidden;
}


#resources-item img {
   width: 100px;
   height: 100px;
   background-color: gray;
   margin: .2em;
}


/* pipwerks debug */

#debugConsole {
    display:none;
    position: absolute;
    top:0px;
    background: #FFFFFF;
    font-family: "Courier New", Courier, monospace;
    font-size: small;
    color: #666666;
    border: 1px solid #999999;
    z-index: 999;
}

#debugConsole h1 {
    font-size: small;
    margin: 0;
    padding: .25em 1em;
    background: #CCCCCC;
    color: #666666;
    border-bottom: 1px solid #999999;
}

#debugConsole p {
    margin: 0px;
    padding: .25em 1em;
    color: #990000;
}

#debug-content {
    font-size: .4em;
    padding: 1em;
    border: 1px solid white;
    margin: 2em;
}

#debug-content p {
   margin:0 0 .5em; 
}



/*  ----- Media Queries -----  */
/*  -------------------------  */
/*  ---------- xs -----------  */

@media (max-width: 576px) {
    
    #modal {
        width:100%;
    }
    
    #modal-box {
        width:300px;
    }
    
    h1.remove-caps {
        font-size: 1.3em;
    }
    
    .video-container > div {
        padding: 0;
    }
    
    .browser-container {
        width: 100%;
        height: auto;
        padding: 1em;
    }
    
    .browser-container h4 {
        font-size: .8em;
        margin: .2em;
        margin-bottom: .6em;
    }

    p.small-type {
        font-size: .4em;
        margin: .2em auto;
        margin-bottom: .3em;
        max-width: 85%;
        line-height: 1.15em;
        padding: 0px;
    }
    
    p.small-btn {
        font-size: .4em;
        margin: .2em auto;
        margin-bottom: .3em;
        padding: 0px;
    }

    p.browser-instruction {
        font-size: .45em;
        margin: .3em auto;
        max-width: 85%;
        line-height: 1.2em;
        padding: 0px;
    }

    .speech-bubble {
        display:none;
    }
    
    #app {
        display: inline-block;
        width: 100%;
        height: 410px;
        margin: 0;
        margin-top: -.6em;
        padding: 0;
    }
    
    #locations-text1 {
        display:none;
    }
    
    #locations-btn {
        margin-top: 10px;
    }

    #map {
        width: 100%;
        height: 250px;
    }

    .slides {
        padding: 10px;
    }
    
    #content {
        font-size: .6em;
        margin: 0 auto;
        padding: 10px;
    }
    
    #quiz {
        font-size: .7em;
    }

    #quiz h2 {
        font-size: 2em;
        padding: 0;
        margin: 0 10px;
    }

    #quiz p {
        margin: 5px 10px;
        font-size: .8em;
    }

    #google-frame {
        width: 100%;
        height: 100%;
        margin-top: -.7em;
    }
    
    #blocks-frame {
    width: 100%;
    height: 7.5em;
    overflow: hidden;
}

    .text-fragment-holder {
        position: relative;
    }

    #second-text {
        position: absolute;
        top: 0px;
        width: 100%;
        margin: 0 auto;
    }
    
    #blocks-second-text {
        position: absolute;
        font-size: .88em;
        top: -50px;
        left: 0px;
    }

    #blocks-third-text {
        position: absolute;
        font-size: .88em;
        top: -10px;
        left: 0px;
    }
    
    #blockchain2-text1, #blockchain2-text2 {
        font-size: .36em;
    }
    
    #blockchain1-pic img, #blockchain2-pic img, #blockchain3-pic img {
        margin: 0;
        padding: 0;
    }
    
    #block1-rightpic, #block2-rightpic, #block3-rightpic {
        margin:0;
    }
    
    #hash-second-text {
        position: absolute;
        font-size: .88em;
        top: -30px;
        left: 0;
        margin: 0 auto;
    }

    #hash-third-text {
        position: absolute;
        font-size: .88em;
        top: -38px;
        left: 0;
        margin: 0 auto;
    }
    
    #HashInput {
        width: 80%;
        margin: .4em auto;
        font-size: .7em;
        border: none;
        padding: 10px;
    }
    
    .word-break {
       word-break: break-all; 
    }
    
    #wrap1-pic, #wrap2-pic, #wrap3-pic {
        margin: .1em .6em;
    }
    
    #resources-content {
    font-size: .4em;
    padding: .5em;
    border:1px solid white;
    margin: 1em .2em;
    }
    
    #resources-content p {
    margin: 0 0 1em;
    font-size: .8em;
    }

    #resources-item {
       width: 90px;
       height: 120px;
       display:inline-block;
       padding: .1em;
    }

    #resources-item p {
       margin: .1em;
       font-size: .5em;
       overflow: hidden;
    }

    #resources-item img {
       width: 80px;
       height: 80px;
       background-color: gray;
       margin: .1em;
       padding: 0;
    }
    
    #exit-btn {
        font-size: .5em;
        margin: 1em auto;
    }
    
    #copyright {
        position:relative;
        padding-top:0;
    }
}







