* {
  margin: 0;
  padding: 0;
}
body,
html {
  overflow: hidden;
}
.box {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  height: 100%;
}
.content .left {
  width: calc(51vw - 1px);
  height: 70%;
  border-right: 1px solid #ddd;
}
.content .right {
  width: 49vw;
  height: 70%;
  position: relative;
  overflow: hidden;
}
.content .right .operation {
  width: 115px;
  height: 30px;
  margin: 0px auto;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
  z-index: 999;
  position: absolute;
  left: calc(40%);
}

.content .right .operation > button {
  width: 22px;
  height: 22px;
  text-align: center;
  background-color: transparent;
  border: 1px solid transparent;
  background-size: 22px 22px;
  outline: none;
  cursor: pointer;
  margin: 4px 0;
  display: inline-block;
}
.content .right .operation > button:disabled {
  cursor: not-allowed;
  background-color: rgba(175, 175, 175, 0.6);
  filter: grayscale(80%);
}
.content .right .operation > button:hover {
  background-color: rgba(201, 201, 201, 0.6);
}
.content .right .operation > button:first-child {
  background-image: url("start.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/start.svg*/;
}
.content .right .operation > button:nth-child(2) {
  background-image: url("stop.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/stop.svg*/;
}
.content .right .operation > button:nth-child(3) {
  background-image: url("reload.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/reload.svg*/;
}
.content .right .operation > button:last-child {
  background-image: url("share.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/share.svg*/;
}
.content #container {
  width: 100%;
  height: 100%;
}
.box .log {
  width: calc(100%);
  height: calc(30%);
  border-top: 1px solid #ddd;
}
.box .log > textarea {
  resize: none;
  height: 100%;
  width: 100%;
  outline: none;
  border: 1px solid transparent;
  padding: 10px;
  font-family: Consolas,"Ubuntu Mono",Monaco,Menlo,"Andale Mono","Liberation Mono",'微软雅黑',Courier,monospace;
  background-color:rgb(255, 247, 227);
  color: rgb(135, 143, 136);
}
@media (max-width: 980px) {
  body,
  html {
    overflow: visible;
    height: auto;
    overflow-x: hidden;
  }
  .content {
    height: 100%;
  }
  .content .left {
    width: calc(100% - 25px);
    height: 33%;
  }
  .content .right {
    width: calc(100% - 25px);
    height: 33%;
  }
  .content .log {
    height: 33%;
  }
}

.content .operation > button:first-child {
  background-image: url("add.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/add.svg*/;
}
.content .operation > button:last-child {
  background-image: url("min.svg")/*tpa=https://wiki.luatos.com/_static/luatos-emulator/css/icon/min.svg*/;
}

.content .operation > button:hover {
  background-color: rgba(201, 201, 201, 0.6);
}

.content .operation {
  width: 57px;
  height: 30px;
  margin: 0px auto;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
  z-index: 999;
  position: absolute;
  left: calc(45%);
}

.content .operation > button {
  width: 22px;
  height: 22px;
  text-align: center;
  background-color: transparent;
  border: 1px solid transparent;
  background-size: 22px 22px;
  outline: none;
  cursor: pointer;
  margin: 4px 0;
  display: inline-block;
}

.show-things-div {
  background-image: linear-gradient(90deg, rgba(180, 180, 180, 0.15) 10%, rgba(0, 0, 0, 0) 10%),
    linear-gradient(rgba(180, 180, 180, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
  background-size: 20px 20px;
  position: relative;
}

.luatos-url {
  position: absolute; right: 0; bottom: 0;
}

.page-title {
  position: absolute;
  color: #7d7d7d;
}

.main-svg-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}


#main-svg {
  border-style: solid;
  border-width: 1px;
  border-color: #00000038;
  background-color: #0000000a;
}

.item-float {
  display: block;
  position: absolute;
  text-decoration:none;
}

.key-float {
  display: block;
  position: absolute;
  text-decoration:none;
  width: 26px;
  height: 11px;
}

@keyframes rotate{
  0%{
      transform: rotate(0);
    }
  50%{
    transform:rotate(200deg);
  }
  100%{
    transform: rotate(360deg);
  }
}
.rotate{
  transition: 0.5s;
  transform-origin: 20px 20px;
  animation: rotate 0s linear infinite;  /*开始动画后无限循环，用来控制rotate*/
}
