﻿html,
body {
  height: 100%;
  margin: 0;
}

#main-container {
  font-family: 'verdana';
}

body {
  overflow: hidden;
}

canvas[resize] {
  height: 100%;
  width: 100%;
}

#textDiv {
  position: fixed;
  background: transparent;
  text-align: center;
}

#textDiv:focus {
  outline: none;
}

#toolbar.expanded {
  max-width: 1000px;
  transition: max-width 0.3s ease;
}

#toolbar.shrink {
  max-width: 20px;
  transition: max-width 0.3s ease;
}

#toolbar {
  position: fixed;
  top: 20px;
  left: 120px;

  background-color: #d6d6d6;
  border: 1px solid #838893;
  border-radius: 20px;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 14px;

  overflow: hidden;
}

#toolbar_select_area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

#toolbar_main_options {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sub_toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.toolbar_label_group {
  display: flex;
  gap: 14px;
}

.toolbar_label {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial,
    sans-serif;
  color: #838893;
}

#toolbar_increment {
  width: 40px;
}

#toolbar_tolerance {
  width: 40px;
}

#hidden-container {
  display: none;
}

#toolbar_undo_icon {
  transform: scaleX(-1);
}

.toolbar_icon {
  width: 20px;
  height: 20px;
}
.rotate-180 {
  transform: rotateY(180deg);
  transition: transform 0.3s ease;
}

.rotate-180-back {
  transform: rotateY(0deg);
  transition: transform 0.3s ease;
}

.active-button {
  cursor: pointer;
}

.inactive-button {
  display: none;
}

.hidden {
  display: none;
}

.popup_win {
  display: none;
  position: fixed;
  z-index: 2001;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: scroll;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.7);
  overscroll-behavior: none;
}

.popup_content {
  background-color: #ffffff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 1200px;
  margin-top: 30px;
  border-radius: 5px;
  margin-bottom: 100px;
  position: relative;
}

.popup_content h3 {
  text-align: center;
}

.bt_popup_close {
  margin-top: -20px;
  color: #aaaaaa;
  float: right;
  font-size: 37px;
  font-weight: bold;
}

.bt_popup_close:hover,
.bt_popup_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.blue_button {
  text-align: center;
  background-color: #5bb3ff;
  color: #ffffff !important;
  cursor: pointer;
  margin-top: 0px;
  border: 1px solid #72a3ce;
  margin-bottom: 10px;
  box-shadow: 0px 2px 2px 0px #aaaaaa;
  border-radius: 5px;
  padding: 10px 40px;
  font-size: 1rem;
  height: auto;
  width: auto;
}

.red_button_sec {
  text-align: center;
  margin-right: 5px;
  background-color: #ffffff;
  color: red !important;
  cursor: pointer;
  margin-top: 0px;
  border: 1px solid red !important;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 4px 15px;
  font-size: 0.9rem;
  width: auto;
}

.welcome_title {
  text-align: center;
  font-size: 22px;
  padding: 20px 20px 50px 20px;
}

.welcome_why {
  padding: 20px 0px;
  color: #bbbbbb;
  font-style: italic;
}

.welcome_why span {
  font-weight: bold;
  color: #2b2b2b;
  font-style: normal;
}
.welcome_icon {
  margin-top: 20px;
}
#install-button {
  margin: 40px auto 30px auto;
  display: block;
}

font {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}
