* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#span-tip {
  position: absolute;
  font-size: 1rem;
  color: #fe8e14;
  top: 1vh;
}

h1 {
  font-size: 1.5em;
}

a {
  color: #fe8d14;
}

a:hover {
  color: #fe8d14a1;
}

strong {
  color: rgb(254, 142, 20);
}

#svg-start {
  width: 100px;
  height: 100px;
  fill: #aaa;
  cursor: pointer;
}

#main-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 50vw;
  height: 60vh;
}

.dce-bg-camera {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 40%;
  height: 40%;
  fill: #aaa;
}

#camera-view-container {
  display: none;
  width: 100%;
  height: 100%;
}

#result-container {
  display: none;
  position: fixed;
  width: 50vw;
  height: 70vh;
  z-index: 10;
  color: white;
  font-size: small;
  background: #222222;
  margin-top: 30px;
}

#result-container .result-header {
  width: 100%;
  height: 30px;
  background-color: #000;
  font-size: 16px;
  line-height: 30px;
  padding-left: 10px;
  box-sizing: border-box;
}

#result-container .result-body {
  height: calc(70vh - 30px);
  overflow-y: auto;
  padding: 5px;
  box-sizing: border-box;
}

#result-container p {
  padding: 5px;
  margin: 0;
}

#message-container {
  display: none;
  align-items: center;
  width: 50vw;
  padding: 8px 16px;
  margin: -92px 0 10px 0;
  box-sizing: border-box;
  border-radius: 4px;
  position: relative;
  background-color: #f4f4f5;
  color: #909399;
  overflow: hidden;
  transition: opacity 0.2s;
}

#message-container .message-icon {
  font-size: 28px;
  width: 28px;
  line-height: 0;
  padding-right: 1rem;
}

#message-container .div-message-content {
  display: table-cell;
  padding: 0 8px;
}

.message-content > span {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
}

.message-content > p {
  font-size: 13px;
  margin: 5px 0 0;
  line-height: 20px;
}

.api_highlight {
  font-weight: 700;
  background-color: #ddd;
  border-radius: 4px;
  padding: 2px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 15px;
  cursor: pointer;
  line-height: 0;
}

/* Small devices */
@media only screen and (max-width: 1000px) {
  #message-container {
    width: 90vw;
  }

  #main-container {
    width: 80vw;
  }

  #result-container {
    width: 80vw;
  }
}
