body {
  font-family:sans-serif;
  background-color:#2D2D2D;
  color:#b3b3b3;
  margin:0 auto;
  padding:0;
  width:100vw;
  height: 100vh;
  max-height: -webkit-fill-available;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  z-index:2;
  position:relative;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  overflow:hidden;
}

.top-container {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}

.sticky {
  position: fixed;
  top: 0;
}

.sticky + .content {
  padding-top: 102px;
}

.corner-left {
  position: absolute;
  top: 0;
  left: 0;
  padding:24px;
}

.corner-right {
  position: absolute;
  top: 0;
  right: 0;
  padding:24px;
}

#composer-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 96px;
  color: white;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


:modal {
  display:flex;
  max-width: none !important;
  width: 100%;
  max-height: none !important;
  height:100%;
  margin: 0;
  padding: 0;
  border: none;
  background:lightyellow;
}

/*::backdrop {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background:red;
}*/

::backdrop {
  display:none;
}

.title {
  font-weight:300;
  font-size:31px;
  margin-top:8px;
  margin-bottom:8px;
  padding-left: 16px;
  padding-right: 16px;
}

.content {
  font-weight:300;
  font-size:19px;
  padding-left: 16px;
  padding-right: 16px;
}

#openContact {
  margin: 0;
  padding: 0;
  border: none;
  background:none;
  cursor:pointer;
}

input[type='text'],
input[type='email'],
input[type='msg'],
textarea {
  font-size: 1em;
}

.hero {
  width:100%;
}

.illy {
  width:100%;
}

#close {
  margin: 0;
  padding: 0;
  border: none;
  background:none;
  height:3em;
  display:flex;
  flex-direction:row;
  align-items:center;
  cursor:pointer;
}

#contact {
  display:flex;
  flex-direction:column;
}

h1 {
  font-weight: 400;
  font-size: 17px;
  color:#E4AF0A;
  width:100%;
  margin:0;
  padding:0;
}

.notes {
  padding-left:16px;
  padding-top:16px;
}

.email {
  padding-right:16px;
  padding-top:16px;
}

.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin:0;
  padding-top:1em;
  background:none;
  border:none;
  font-size:inherit;
}

.heading {
  padding-top:1em;
  padding-left:1em;
}

.thumbnail {
  width:100%;
}

header {
  display:flex;
  flex-direction:row;
  align-items:center;
  width:100vw;
  height:3em;
  z-index:1;
  position:fixed;
  top:0;
}

#pageHeader {
  display:flex;
  flex-direction:row;
  align-items:center;
  width:100vw;
  height:3em;
}

#page {
  display:flex;
  height:100%;
}

main {
  width:100%;
  max-width:540px;
  height:100%;
  margin: 0 auto;
  background-color:#121212;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bottom-sheet {
  background-color:red;
}

h2 {
  font-weight:normal;
  font-size: 1.2em;
  padding-left: 16px;
}

h3 {
  font-weight:500;
  font-size:20pt;
  padding-left: 16px;
}

h4 {
  color:#888888;
  font-weight:normal;
  font-size:15px;
  padding-left: 16px;
  margin-top: 8px;
  line-height:100%;
}

h6 {
  color:#888888;
  font-weight:normal;
  font-size:15px;
  padding-left: 0px;
  padding-right: 0px;
  text-align:center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.buoy {
  bottom:0;
  right:0;
}

/*note title*/
h5 {
  color:#ffffff;
  font-weight:400;
  font-size:20px;
  padding-left: 16px;
  margin-top: 16px;
  margin-bottom: 8px;
}

ul {
    list-style: none;
    padding: 1em;
    background-color: #181818;
    margin: 0px;
    border-radius: 0;
}

ul:hover {
  border-color:#2A2A2A;
  color:white;
  cursor:pointer; 
}

.zoom:hover {
  cursor:zoom-in;
}

li {
  padding-right:16px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

hr {
  border: 0.05em solid #333;
}

a {
  color:#BBBBBB;
  text-decoration:none;
}

a:hover {
  text-decoration:none; 
  cursor:pointer;  
}

body {
  display:flex;
  height:100vh;
}

span {
  width:100%;
}

.content {
  width:100%;
}

.timestamp {
  color:#2f3939;
  font-size:0.9em;
  text-align:center;
  padding-bottom:1em;
}

p {
  letter-spacing: 0.02em;
  line-height: 22px;
  font-size: 17px;
  margin-left:16px;
  margin-right:16px;
  margin-top:0px;
  margin-bottom:0px;
}

.chinese {
  font-weight: 300;
}

.cred {
  font-size:1em;
  color:dimgrey;
  font-weight:normal;
}

/*big screen style*/
@media (min-width:36em)  {
  main {
  }
  p {
    margin-right: 150px;
  }
  h2 {
    padding-bottom:0px;
  }
  h6 {
    text-align: left;
    padding-left: 16px;
  }
  ul:hover {
  color:#darkslategray;
  background-color:#1c2125;
  cursor:pointer; 
  }
  .thumbnail {
    width:50%;
  }
  .timestamp {
    text-align:center;
  }
  .illy {
    width:50%;
  }
}
