@import url("https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Source+Code+Pro");
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

#app-wall {
  min-height: 100vh;
  padding: 5rem 0;
  transition: background 0.4s;
}
#app-wall.full {
  padding: 0;
}
#app-wall.full #app {
  width: 100%;
  height: calc(100vh - 40px);
  padding: 0;
  font-size: 100%;
}

#app {
  width: 40rem;
  max-width: 100%;
  height: 400px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 70%;
  transition: all 0.4s;
}

header {
  position: relative;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 0.75em;
  color: rgba(0, 0, 0, 0.8);
  background: lightgray;
  border-radius: 5px 5px 0 0;
}
header .buttons {
  position: absolute;
  top: 6px;
  left: 22px;
  width: 8px;
  height: 8px;
  background: rgba(255, 153, 0, 0.5);
  border-radius: 50%;
  box-shadow: -12px 0 0 rgba(204, 0, 0, 0.6), 12px 0 0 rgba(0, 204, 0, 0.4);
}

.editor {
  position: relative;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  overflow: hidden;
}
.editor .code,
.editor .result,
.editor .settings {
  width: 50%;
  padding: 1rem;
}
.editor .code {
  resize: none;
  border: none;
  font-family: "Source Code Pro", monospace;
  background: rgba(0, 0, 0, 0.8);
  outline: none;
  transition: color 0.4s;
}
.editor .result {
  background: #fff;
}
.editor .result hr {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.editor .result img {
  max-width: 100%;
  height: auto;
}
.editor .result ul, .editor .result ol {
  margin-left: 0;
  padding-left: 20px;
}
.editor .result ul li, .editor .result ol li {
  margin-left: 0;
}
.editor .settings {
  position: absolute;
  top: 0;
  right: 0;
  width: 51%;
  height: 100%;
  color: #fff;
  background: #000;
  transform: translateX(101%);
  transition: transform 0.4s;
}
.editor .settings.active {
  transform: translateX(0);
}
.editor .settings h2 {
  position: relative;
}
.editor .settings h2 .fa {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: transform 0.3s;
  font-size: 0.85em;
  cursor: pointer;
}
.editor .settings h2 .fa:hover {
  transform: translateY(-50%) rotate(-180deg);
}
.editor .settings h3 {
  margin-top: 2rem;
  padding: 0.25rem 0.2rem 0.2rem;
  font-weight: normal;
  background: rgba(255, 255, 255, 0.2);
}
.editor .settings .skin {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.4s;
}
.editor .settings .skin:hover, .editor .settings .skin.active {
  opacity: 1;
}
.editor .settings .search,
.editor .settings .toggleView {
  cursor: pointer;
  font-size: 0.85em;
}
.editor .settings .search .fa,
.editor .settings .toggleView .fa {
  margin-right: 0.5rem;
}
.editor .settings .toggleView:hover .fa-window-maximize {
  -webkit-animation: pulse 1s linear infinite;
          animation: pulse 1s linear infinite;
}
.editor .settings .toggleView:hover .fa-window-restore {
  animation: pulse 1s linear infinite reverse;
}
.editor .settings .search:hover .fa {
  -webkit-animation: rotation 1s linear infinite;
          animation: rotation 1s linear infinite;
}
.editor .settings .alert {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-100%);
  transition: transform 0.4s;
}
.editor .settings .alert.updating {
  transform: translateY(0);
}
.editor .settings .alert .text {
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  background: #000;
  line-height: 1.4;
}

footer {
  position: relative;
  height: 20px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.75em;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 12px 15px -8px rgba(0, 0, 0, 0.9);
  transition: background 0.4s;
}
footer .fa {
  position: absolute;
  right: 10px;
  top: 3px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.4s;
}
footer .fa:hover {
  color: rgba(0, 0, 0, 0.8);
}
footer .fa.lookme {
  -webkit-animation: blink 1s linear infinite alternate;
          animation: blink 1s linear infinite alternate;
}

@-webkit-keyframes blink {
  from {
    color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 7px rgba(255, 255, 0, 0.2);
  }
  to {
    color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px 7px rgba(255, 255, 0, 0.8);
  }
}

@keyframes blink {
  from {
    color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 7px rgba(255, 255, 0, 0.2);
  }
  to {
    color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px 7px rgba(255, 255, 0, 0.8);
  }
}
@-webkit-keyframes rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes pulse {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1.1);
  }
}
@keyframes pulse {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1.1);
  }
}