.dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #222;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  z-index: 1000;
}

.dialog-header {
  background-color: #333;
  padding: 15px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-header h3 {
  margin: 0;
  color: white;
}

.dialog-body {
  padding: 20px;
}

#textInput {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  background-color: #333;
  border: 1px solid #444;
  color: white;
  border-radius: 4px;
  font-size: 22px;
  font-family: 'Roboto', sans-serif;
}

#fontSelector, #fontSizeSelector {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  background-color: #333;
  border: 1px solid #444;
  color: white;
  border-radius: 4px;
}

#textColorPicker {
  width: 100%;
  height: 40px;
  margin-bottom: 15px;
  background-color: #333;
  border: 1px solid #444;
  border-radius: 4px;
}

.dialog-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 999;
}

#closeDialog {
  position: fixed;
  top: 5%;
  left: 5%;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

#fontSelector:hover {
  cursor: pointer;
  background-color: purple;
  color: white;
  border: 1px solid #555;
  border-radius: 5px;
}

#fontSizeSelector:hover {
  cursor: pointer;
  background-color: purple;
}

#strokeWidthValue {
  font-size: 50px;
}

#strokeWidthValue:hover {
  cursor: pointer;
  background-color: #444;
  color: purple;
}

#textDialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  padding: 20px;
  border-radius: 8px;
  z-index: 1000;
  width: 300px;
  color: white;
}

#fontSizeSelector {
  width: 100%;
  margin: 10px 0;
}

#textInput {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  background: #444;
  border: 1px solid #555;
  color: white;
  border-radius: 4px;
}

#fontSelector {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  background: #444;
  border: 1px solid #555;
  color: white;
  border-radius: 4px;
}