::-webkit-scrollbar {
  display: none;
}

html {
  font-family: "Helvetica Neue",Arial,sans-serif;
  font-size: 1rem;
  height:100vh;
  background: linear-gradient(to bottom, #fcffd3 5%, #bbffc6 53%, #a1fff0 91%);
}

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body {
  height:780px;
  transform:scale(1);
  transform-origin:top center;
}

hr {
  border: 0;
  height: 1px;
  background: #fff;
  padding:1px 0;
  margin:0;
}

.phone {
  position: relative;
  width: 421px;
  height: 780px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size:contain;
  background-position:center center;
  background-image: url(https://i.imgur.com/Zmc47bw.png);
}

.screen {
  position: absolute;
  left: 50px;
  top: 100px;
  width: 318px;
  height: 566px;
  overflow: hidden;
  background:white;
}

header {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 65px;
  overflow: hidden;
  background: #f8f8f8;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

header a {
  color:black;
}

a {
  text-decoration:none;
}

header h1 {
  position: relative;
  font-family: Arial,sans-serif;
  font-weight: normal;
  font-size: 10px;
  margin: 0;
  padding: 0 0 5px 0;
  line-height: 1px;
  text-align: center;
  z-index: 2;
  font-weight: 300;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

.content-blurred {
  margin-top: 44px;
  padding: 0 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  -webkit-filter: blur(10px);
          filter: blur(10px);
  opacity: .35;
  z-index: 1;
}

.content-blurred .content {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.content-wrapper {
  position: relative;
  padding: 0 1rem;
  z-index: 1;
  height: 100%;
  overflow: auto;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.content-wrapper .content {
  margin-top: 64px;
}

.content {
  display: block;
  padding-top: 1em;
}

.messages {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ol center {
    font-size:10px;
    padding:10px 0 15px 0;
    color:#aaa;
    letter-spacing:0.5px;
}

.messages li {
  display: block;
  margin: 0 0 .8rem 0;
  padding: 0;
}

.messages p {
  display:inline-block;
  clear:both;
  border-radius: .8rem;
  max-width:214px;
  background: #e6e5eb;
  color: #383641;
  padding: 0.4rem .6875rem;
  margin: 0 0 .2rem 0;
  font-size: .875rem;
}



/*.messages li:nth-child(even) {
  float: right;
}

.messages li:nth-child(even) img {
  float: right;
}

.messages li:nth-child(even) p {
  background: #158ffe;
  color: #fff;
}
*/

.messages img {
  display: block;
  max-width: 214px;
  border-radius: .8rem;
  margin:0 0 0.2rem 0;
}

iframe {
  border-width: 0px;
}

.video, .video:before, .video iframe {
  width:214px;
  height:120px;
}
audio {
  width:185px;
  height:33px;
}
.square, .square:before, .square iframe {
  width:214px;
  height:214px;
}
.video:before {
  content: '';
  pointer-events: none;
  z-index: 200;
  position: absolute;
  -webkit-box-shadow: 0 0 0 .8rem #fff;
     -moz-box-shadow: 0 0 0 .8rem #fff;
          box-shadow: 0 0 0 .8rem #fff;
  -webkit-border-radius: .8rem;
     -moz-border-radius: .8rem;
          border-radius: .8rem;
}
audio {
  width:214px;
  height:33px;
}
audio::-webkit-media-controls-panel{
    background:#e6e5eb;
}
small {
  color:#999;
}

.emph {
    position:relative;
}
.emph:after {
    content:' ';
    display:block;
    background:url(../assets/emph.png) center center /cover;
    width:25px;
    height:25px;
    position:absolute;
    right:-13px;
    top:-12px;
    z-index:100;
}

.overlay {
    z-index:5000;
    margin:-1px;
    padding:1px;
    background: black url(../assets/screen.jpg)center center /cover;
    opacity:1;
    transition:1s opacity linear;
}

.hidden {
    opacity:0;
    transition:1s opacity linear;
    pointer-events:none;
}


.container {
    padding:7vh 8px;
    text-align:center;
    color:white;
    box-sizing:border-box;
}
.container #clock {
    font-size:10vh;
    font-family:roboto;
    font-weight:100;
}
.container #date {
    font-size:2.3vh;
    letter-spacing:1px;
    font-family:roboto;
    font-weight:300;
}
@media (max-device-width:500px) {
    .container #clock {
        font-size:5vh;
    }
    .container #date {
        font-size:1.7vh;
    }
}
.alert {
    background:rgba(255,255,255,0.8);
    border-radius:0.8rem;
    text-align:left;
    padding:15px;
    color:black;
    letter-spacing:.5px;
    font-size:12px;
    margin-top:30px;
    line-height:1.5;
}
.alert img {
    height:20px;
    display:inline-block;
    vertical-align:middle;
    margin-top:-3px;
    margin-right:5px;
}
.alert b {
    font-size:16px;
    line-height:2;
}
.alert small {
    font-size:12px;
    color:black;
    display:block;
    margin-top:10px;
}
