body {margin: 0px; padding: 0px; overflow: hidden; font-family: serif;}
a {font-style: italic; text-decoration: none; color: #333;}
canvas {cursor: pointer;}

#container {display: none; position: relative; z-index: 0;}
#hud {display: none; }

#instructions-wrapper {position: absolute; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); transform: translateY(-50%); left: 50%; z-index: 999; pointer-events: none;}
#instructions-wrapper a {pointer-events: auto;}
#instructions {position: relative; left: -50%; text-align: center;}
#instructions h1 {text-align: center; width: 300px; text-transform: uppercase; margin: 0px auto; padding: 0px;}

#methods {width: 300px;list-style-type: none; margin: 0px; padding: 10px;}
#methods li fieldset {border: 0px; border-top: 1px solid #333; margin: 0px;}
#methods li fieldset legend {margin: 0 auto; padding: 0 10px; font-style: italic; font-variant: small-caps}
#methods li canvas {margin: 10px; cursor: auto; margin: 10px auto; display: block;}
#cardboard-toggle {pointer-events: auto;}
#cardboard-button {width: 35%; margin: 10px auto; border-radius: 10px; border: 1px solid #000; padding: 5px; text-transform: lowercase; font-variant: small-caps}
#cardboard-button img {width: 70%; display: block; margin: 10px auto;}

#controls {bottom: 0px; top: auto; background: none; font-variant: small-caps;}
#controls ul li ul {margin-bottom: -10px; }

#hint {position: absolute; bottom: 10px; left: 10px; color: #555; z-index: 999; opacity: 0;}
#hint2 {position: absolute; bottom: 10px; right: 10px; color: #555; z-index: 999; display: none; }

#photo-roll {position: absolute; bottom: -10px; right: 40px; width: 10%; z-index: 999}
#photo-roll > ul {list-style: none; margin: 0px; padding: 0px; text-align: center;}
#photo-roll > ul li {margin-bottom: 30px;}
#photo-roll img {border: 10px solid #fff; width: 100%; box-shadow: 0px 5px 10px rgba(0,0,0,.3)}
#photo-roll > ul li {position: relative;}
/* small white corner icons on the thumbnails, like the original 2015 share widget */
#photo-roll .share-actions {top: 14px; bottom: auto; left: 14px; right: auto; gap: 2px;}
#photo-roll .share-actions .button {background: #fff; border-radius: 0; padding: 2px;}
#photo-roll .share-actions .button:hover, #photo-roll .share-actions .button:active {background: #4CAF50;}
#photo-roll .share-actions .icon {width: 18px; height: 18px;}


@media only screen and (max-device-width: 800px){
    .hide-mobile {display: none;}
}
@media only screen and (max-height: 300px){
    #instructions-wrapper {left: auto;}
    #instructions {left: auto;}
    #instructions h1 {width: 100%;}
    #methods {width: 100%;}
    #methods:after {content:""; display:table; clear:both;}
    #methods li {float: left; width: calc(50% - 20px); margin-left: 10px;}
    #methods li:first-child {margin-left: 0px;}
}
.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
