body {background: #263238; margin: 0px; padding: 0px;}
.clearfix:after { content:""; display:table; clear:both; }
.left {float: left;}

#controls {background: #fff; box-shadow: 0px 30px 40px rgba(0,0,0,.4); padding: 20px;  text-align: center; position: fixed; top: 0px; left: 0px; right: 0px; z-index: 99}
#controls ul {list-style: none; margin: 0px; padding: 0px; }
#controls ul li {background: #FFEB3B; border-radius: 30px; padding: 10px; display: inline-block; margin-right: 10px;}
#controls ul li:last-child {margin-right: 0px;}
#controls ul li.button:hover {background: #F44336;}
#controls ul li.button:active {background: #B71C1C;}
#controls ul li ul {margin: -10px 0 -15px 0; padding: 0px;}
/*#controls ul li ul li:hover { margin-left: -3px;border: 0px; border-radius: 0px; border-right: 1px solid #ccc;}*/
#controls ul li ul li:nth-child(2) {border: 0px; margin-right: 0px;}
#controls ul li ul li:first-child {margin: 0 0 0-10px;}
#controls ul li ul li:last-child {border-right: 0px; margin-right: -10px;}

#controls ul #take-picture { background-color: #4CAF50;}

.icon { width: 24px; height: 24px; }
.off {opacity: .5;}

/* white text on the background, laid out like the desktop instructions: title, rule, italic small-caps hint.
   The whole background (below the controls) is the tap target. */
#enable-motion {position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 98; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; background: none; border: 0; padding: 0; color: #fff; font-family: serif; font-size: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent;}
#enable-motion .title {display: block; width: 300px; max-width: 80%; font-size: 2em; font-weight: bold; text-transform: uppercase; line-height: 1.15;}
#enable-motion .rule {display: block; width: 300px; max-width: 80%; border-top: 1px solid #fff; margin: 15px 0 10px;}
#enable-motion .hint {display: block; font-style: italic; font-variant: small-caps; font-size: 1.1em;}
#enable-motion[hidden] {display: none;}

#photo-roll {margin: 130px 0 0 0; }
#photo-roll ul {list-style: none; margin: 0px; padding: 0px; text-align: center;}
#photo-roll ul li {margin-bottom: 30px; position: relative;}
#photo-roll img {border: 20px solid #fff; width: 80%;}

#photo-roll .share-actions {position: absolute; bottom: 40px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px;}
#photo-roll .share-actions .button {display: block; background: #FFEB3B; border: 0; border-radius: 30px; padding: 10px; line-height: 0; cursor: pointer;}
#photo-roll .share-actions .button:hover {background: #F44336;}
#photo-roll .share-actions .button:active {background: #B71C1C;}
#photo-roll .share-actions .icon {display: block; width: 24px; height: 24px; border: 0; box-shadow: none;} /* not a photo: undo the #photo-roll img frame */

