#titlebar {
  display: block;
  position: fixed;
  height: 32px;
  width: 100%;
  background: #22282E;
  user-select: none;
  z-index: 100;
  border-bottom: 1px solid #373f49;
}

#titlebar-content {
  height: 30px;
}

#titlebar-content .drag-region {
  -webkit-app-region: drag;
}

#window-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

#window-controls {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 10px;
}

#window-controls .button {
  grid-row: 1 / span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#window-controls #min-button {
  grid-column: 1;
}

#window-controls #max-button, #window-controls #restore-button {
  grid-column: 2;
}

#window-controls #close-button {
  grid-column: 3;
}

.button:hover {
  cursor: pointer;
  background: #1d2126;
}

#close-button:hover {
  background: #E1071B;
}

.icon {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

#root {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
}
