* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--text);
}

#root {
  height: 100%;
  max-height: 100vh;
  overflow: auto;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

a {
  font-weight: normal;
}

body.lock-scroll {
  overflow: hidden;
}

body canvas.dcl-canvas {
  display: none;
}

.text {
  color: var(--text);
}

.link {
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
}

.is-uploading {
  animation: uploading 0.5s ease-in-out infinite alternate;
}

.Navigation .dcl.tabs > .ui.container,
.dcl.navbar.fullscreen .ui.container,
.dcl.footer.ui.container,
.dcl.navbar.sign-in .ui.container {
  width: 100%;
  box-sizing: border-box;
  max-width: 100% !important;
}

.Navigation,
.dcl.navbar.fullscreen,
.dcl.footer.ui.container,
.dcl.navbar.sign-in,
.dcl.page.fullscreen {
  padding: 0 24px;
  box-sizing: border-box;
}

.dcl.page.fullscreen .Navigation {
  padding: 0;
}

.ui.container {
  width: 100%;
}

@keyframes uploading {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/*
ISSUE 329: https://github.com/decentraland/builder/issues/329

Hides intercom's "Hey do you need help?" thingy that shows up when you enter the editor
and every time after exiting preview mode.

*/

[name='intercom-launcher-discovery-frame'] {
  display: none !important;
}
