:root {
  font-size: 20px;
}

html, body, .code, #render, #render_output, iframe, .cm-editor, .content, .greeter {
  width: 100%;
  height: 100%;
  margin: 0;
}

.greeter {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.island {
  width: 50%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #55aa44;
  border-radius: 40px;
}

.login {
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#username, #confirm_login, #password {
  padding: 6px;
  border-radius: 15px;
  border-width: 0;
  margin: 5px;
}

#publish_site {
  margin-left: auto;
}

iframe {
  border: none;
}

.code {
  display: flex;
  flex-direction: column;
}

.codemirror {
  margin-top: 50px;
  height: 50%;
}

.content {
  display:flex;
  flex-direction: column;
}

@media screen and (min-width: 800px) {
  .code {
    flex-direction: row;
  }
  #render, #html, .codemirror {
    width: 50%;
    height: calc(100% - 50px);
    margin-top: 50px;
  }
}

.navbar {
  width: 100%;
  height: 50px;

  background-color: #55aa44;
  display: flex;
  align-content: center;

  position: fixed;
  z-index: 100;
}

a.nav_button {
  margin: 0 20px;
  height: 50px;
}

img.nav_button {
  height: 100%;
  filter: invert(42%) sepia(15%) saturate(1374%) hue-rotate(96deg) brightness(56%) contrast(86%);

  -webkit-transition: -webkit-filter 0.2s ease;
}

img.nav_button:hover {
  filter: invert(42%) sepia(15%) saturate(1374%) hue-rotate(96deg) brightness(0%) contrast(86%);
}
