* {
  box-sizing: border-box;
  font-family: "Noto Sans SC", PingFang SC, Helvetica Neue, Hiragino Sans GB,
    Segoe UI, Microsoft YaHei, 微软雅黑, sans-serif;
}

body {
  margin: auto;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 0 20px;
}

.drag-area {
  flex: 1;
  background: #fff;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  border: 1px dashed #555;
  overflow: hidden;
  position: relative;
  margin: 10px 0 10px;
  min-height: 200px;
  transition: border-color 0.2s ease;
}

.section {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 1em;
}

.main {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 100px);
  padding: 10px 0;
}

.drag-area:hover {
  border: 1px dashed #2d8cf0;
  color: #2d8cf0;
}

.drag-area.drag-over,
.drag-area:active {
  border: 2px dashed #2d8cf0;
  color: #2d8cf0;
}

.drag-title {
  position: absolute;
  top: 0;
  bottom: 0;
  font-size: 2em;
  width: 100%;
  left: 0;
  display: inline-block;
  margin: auto;
  height: 110px;
}

.drag-title i {
  font-size: 1.5em;
}

.view {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.header {
  text-align: center;
  height: 100px;
}
.header .logo {
  font-family: "Noto Serif SC", PingFang SC, Helvetica Neue, Hiragino Sans GB,
    Segoe UI, Microsoft YaHei, 微软雅黑, sans-serif;
  vertical-align: text-top;
}
.header .logo .fa {
  font-family: FontAwesome;
  font-size: 1.5em;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0);
  border-left: 1px solid #fff;
}

.water img {
  width: 100%;
}

.mark-box {
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.water {
  text-align: center;
}

.control {
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
}

.control .control-item {
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
}

.control-item label {
  margin-right: 5px;
}

.mark-box .mark {
  position: absolute;
  top: -100%;
  right: -100%;
  width: 300%;
  height: 300%;
  overflow: hidden;
}

.mark-text {
  transform: rotate(45deg);  
  display: inline-flex;
  opacity: 30%;
  color: #fff;
  align-items: center;
}

#size {
  width: 50px;
  text-align: center;
}

button {
  border: 0;
  background-color: #242526;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 5px;
}

input[type=color] {
  border: 1px solid #ddd;
  width: calc(2em + 2px);
  height: 2em;
  border-radius: 50%;
  overflow: hidden;
}

input[type="color" i]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}

input[type="color" i]::-webkit-color-swatch-wrapper {
  padding: 0;
}