/* Copyright 2021 MuseMaze Inc. All Rights Reserved */

body {
  margin: 0;
  height: 100%;
  background-color: black;
}

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

.header-link  {
  color: #bbb;
}

.gradient-underline {
    padding-bottom: 5px;
    position: relative;
    text-decoration: none;
}

.gradient-underline::after {
    background: linear-gradient(to right, #5b6, #56f);  
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

#content-container {
  display: flex;
  height: 100vh;
}

#right-container {
  margin-top: 6px;
  margin-right: 6px;
  flex: 0;
  min-width: 390px;
  display: none;
  flex-direction: column;
  align-items: stretch;
}

.simulator-container {
  line-height: 0;
}

.header {
  display: flex;
  border-top-right-radius: 22px;
  border-top-left-radius: 22px;
}

.header-title {
  flex: 1;
}

.header-button {
  flex: 0;
}

#simulator-container {
  flex: 1;
}

#simulator-header-text {
  font-size: 18px;
  color: #bbb;
}

#left-container {
  flex: 2;
  overflow: scroll;
  position: relative;
  background: black;
}

#circuits-image {
  display: block;
  cursor: pointer;
  background-color: #080808;
}

#marker {
  position: absolute;
  display: none;
  background: transparent;
  border: 3px solid;
  border-image: linear-gradient(45deg, #5b6, #56f) 1;
  box-sizing: border-box;
  cursor: pointer;
}

#loading {
  width: 180px;
  height: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -90px 0 0 -50px;
}

#loading_plus {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  right: 10%;
  margin-top: -40px;
}

#loading_minus {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 10%;
  margin-top: -20px;
}

#loading_text {
  position: absolute;
  top: 4px;
  left: 34px;
  transform: rotate(-12deg);
  color: #ddd;
  font-family: arial;
  font-weight: normal;
  font-size: 16px;
  letter-spacing: 0.2em;
}

.rotate_plus{
  animation: rotate 4s linear infinite; 
}

.rotate_minus{
  animation: rotate 1.5s linear infinite; 
}


@keyframes rotate{
  to{ transform: rotate(360deg); }
}

#zoom-buttons-container {
  position: fixed;
  bottom: 128px;
  z-index: 9999;
}

.button {
  width: 36px;
  height: 36px;
  padding: 6px;
  outline: none;
}

.edge-button {
  float:left;
  z-index: 9999;
}

.title-button {
  float: right;
}

#zoomout {
  clear:left;
}

#coordinates-container {
  position: fixed;
  bottom: 0px;
  left: 0px;
  display: flex;
  padding-left: 3px;
  padding-right: 3px;
  background: black;
}

.coordinate {
  flex: 1;
  line-height: 14px;
  color: #888;
  font-family: monospace;
  font-size: 10px;
}

#coordinate-x {
  margin-right: 4px;
}

.shaded {
  box-shadow: 0px 0px 6px 4px #000;
}

#info-container {
  position: fixed;
  top: 6px;
  left: 6px;
  width: 310px;
  background: #444;
  z-index: 9998;
}

#info-expand, #info-collapse {
  position: absolute;
  right: 0px;
}

#info-expand {
  display: none;
}

#info-header, #simulator-header {
  height: 48px;
  line-height: 48px;
  color: #ddd;
  background: #272727;
  font-family: arial;
  font-weight: normal;
  font-size: 16px;
  padding-left: 16px;
}

#info-description {
  font-family: arial;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
  padding: 6px 12px 0px 12px;
}

.rounded {
  border-radius: 22px;
}

.rounded-bottom {
  border-bottom-right-radius: 22px;
  border-bottom-left-radius: 22px;
}

.rounded-small {
  border-radius: 14px;
}

.rounded-small-top-right {
  border-top-right-radius: 14px;
}

.rounded-small-top-left {
  border-top-left-radius: 14px;
}

.rounded-small-bottom-right {
  border-bottom-right-radius: 14px;
}

.rounded-small-bottom-left {
  border-bottom-left-radius: 14px;
}

.unselectable {
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 12px;
  background-color: #272727;
}

.column {
  flex: 25%;
  max-width: 25%;
}

.icon {
  vertical-align: middle;
  width: 100%;
  border: 3px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.icon:hover {
  padding: 3px;
  border: 0px solid transparent;
  background: linear-gradient(45deg, #5b6, #56f);
}

h1 {
  font-weight: bold;
  font-size: 24px;
}

.gradient-text {
  background-image: linear-gradient(to right, #5b6, #56f);
  background-size: 100%;
  margin: 0px;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}  

@media (pointer:none) or (pointer:coarse) {
  body{
     overflow: hidden;
  }

  #zoom-buttons-container {
    top: initial;
    right: 0px;
    bottom: 220px;
  }

  .button {
    width: 42px;
    height: 42px;
  }
}
