
* { box-sizing: border-box; }

@font-face {
  font-weight: 400;
  font-style: normal;
  font-family: 'Ubuntu';
  src: url(fonts/Ubuntu.woff);
}

@font-face {
  font-weight: 400;
  font-style: normal;
  font-family: 'Ultra';
  src: url(fonts/Ultra.woff);
}

@font-face {
  font-style: normal;
  font-family: 'Chunk';
  src: url(fonts/Chunk.woff);
}

@font-face {
  font-style: normal;
  font-family: "Bebas Neue";
  src: url(fonts/BebasNeue.woff);
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#markdowneditor textarea {
  margin: 0;
  width: 100%;
  height: 100%;
  resize: none;
  border: none;
  outline: none;
  padding: 10px;
  display: block;
  font: normal 14px Inconsolata, monospace;
}

#markdowneditor {
  width: 50%;
  float: left;
  height: 100%;
  border-right: 1px solid rgb(190, 190, 190);
  padding-top: 50px;
}

#livepreview {
  width: 50%;
  height: 100%;
  overflow-y: scroll;
  float: right;
  padding: 10px 30px;
  padding-top: 50px;
  font-family: 'Ubuntu';
  position: relative;
}

.label {
  position: absolute;
  top: 20px;
  left: 10px;
  font-family: sans-serif;
  color: rgb(170, 170, 170);
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0);
}

#livepreview h1 {
  text-align: center;
  margin: 20px 0 40px 0px;
  font: normal 2.3rem'Bebas Neue';
}

#livepreview h2,
 #livepreview h3,
 #livepreview h4,
 #livepreview h5,
 #livepreview h6 {
  border-top: 1px solid rgb(230, 230, 230);
  font-family: Arial;
  padding-top: 50px;
}

#livepreview p {
  margin-top: 20px;
  font-size: 0.96rem;
  line-height: 1.8rem;
  margin-bottom: 20px;
}

#livepreview a { color: cornflowerblue; }

#livepreview img { max-width: 100%; }
