body,
html {
  margin: 0;
  height: 100%;
  touch-action: none;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  overflow: hidden;
  color: #f6f6f6;
}

path-designer {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #222;
}

header {
  flex: none;
  height: 35px;
  background-image: linear-gradient(0deg, #333, #404040);
  border-bottom: 1px solid #222;
}

footer {
  flex: none;
  display: flex;
  align-items: center;
  height: 35px;
  background-image: linear-gradient(0deg, #333, #404040);
  border-top: 1px solit #222;
}

footer .mouse-position {
  flex: 1;
  padding-left: 3em;
}

footer .zoom {
  flex: 1;
  width: 200;
}

footer .right {
  flex: 1;
}

main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-content: center;
  background: #222;
}

aside {
  flex: none;
  overflow: hidden;
}

aside.sidebar-left {
  width: 30px;
  background-image: linear-gradient(90deg, #404040, #333);
  border-right: 1px solid #222;
}

aside.sidebar-right {
  display: flex;
  flex-direction: column;
  width: 220px;
  transition: width .5s ease-in-out;
  background-image: linear-gradient(90deg, #333, #404040);
  border-left: 1px solid #222;
}

path-editor {
  display: flex;
  align-items: center;
  overflow: auto;
  width: 100%;
  height: 100%;
}

path-editor::-webkit-scrollbar {
  width: 16px;
  /* for vertical scrollbars */
  height: 16px;
  /* for horizontal scrollbars */
}

path-editor::-webkit-scrollbar-thumb {
  background-color: #808080;
  border-radius: 7px;
  border: 4.5px solid #333;
}

path-editor::-webkit-scrollbar-track {
  background: #333;
  padding: 1px;
}

path-editor::-webkit-scrollbar-corner {
  background: #333;
}

path-editor canvas {
  margin: auto;
  background-color: #fff;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

input[type='range'] {
  width: 90%;
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-appearance: none;
  border-radius: 5px;
  border: 1px solid #222;
  background: #222;
  height: 10px;
  padding: 0;
  cursor: pointer;
  vertical-align: baseline;
  margin: -12px 3px 0;
  outline: none;
}

input[type='range']:focus {
  box-shadow: 0 0 2px #4d90fe;
  border-color: #4d90fe;
}

input[type='range']::-webkit-slider-thumb {
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 5px;
  box-shadow: 2px 0 1px #222, -2px 0 1px #222;
}

input[type='range']::-ms-thumb {
  background: #f6f6f6;
  border: 1px solid #f6f6f6;
  border-width: 1px 1px 0 0;
  border-radius: 5px;
}

input[type='range'], input[type='range']::-ms-fill-lower, input[type='range']::-ms-fill-upper {
  background: transparent;
  border: none;
}

input[type='range']::-ms-track {
  border: none;
  color: transparent;
  background-color: transparent;
}

.path-list {
  padding-left: 0;
}

.path-list li {
  list-style: none;
  padding: 0 .5em;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
}

.path-list li > * {
  vertical-align: middle;
}

.path-list li.active {
  background-color: #618ccc;
  border-color: #618ccc;
}

.path-list input[type='color'] {
  width: 1.7em;
  cursor: pointer;
  padding: 0;
  border: none;
  background-color: transparent;
  margin-right: .3em;
}
