*, *:before, *:after {
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
}

main {
  display: flex;
}

aside {
  padding: 1% 2%;
  width: 20vw;
}

.border-glow {
  border: 1px solid black;
  box-shadow: 0 0 5px grey;
}

.container {
  height: 75vh;
  width: 75vw;
  cursor: crosshair;
}

#btn-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 75vw;
  padding-top: 1%;
}

#btn-container div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 13vh;
}

.btn {
  display: inline-block;
  outline: 0;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  font-size: 13px;
  height: 30px;
  padding: 0 20px;
  color: #0e0e10;
}

input {
  font-size: 14px;
  border-radius: 6px;
  line-height: 1.5;
  padding: 5px 10px;
  transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
  border: 2px solid #dee1e2;
  color: rgb(14, 14, 16);
  background: #fff;
  height: 36px;
  width: 100%;
}

input:hover {
  border-color: #ccc;
}

input:focus {
  border-color: #9147ff;
  background: #def4fb;
}

label {
  text-align: center;
}

.rectangle {
  position: absolute;
  border-radius: 2%;
  cursor: pointer;
}

.resizer {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: orange;
  z-index: 2;
}

.resizer.nw {
  top: -2px;
  left: -2px;
  cursor: nw-resize;
}

.resizer.ne {
  top: -2px;
  right: -2px;
  cursor: ne-resize;
}

.resizer.sw {
  bottom: -2px;
  left: -2px;
  cursor: sw-resize;
}

.resizer.se {
  bottom: -2px;
  right: -2px;
  cursor: se-resize;
}

.selected {
  box-shadow: 0 0 15px #0ff;
  /* in order: x offset, y offset, blur size, spread size, color */
  cursor: grab;
}

tr, td {
  margin: 1vw;
  padding: 0.3vw;
  text-align: center;
}

#modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

#modal-info {
  padding: 2%;
  background-color: aliceblue;
  flex-direction: column;
}

.flex-ctr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.del {
  background-color: lightcoral;
}

.del:hover {
  background-color: red;
}

.saved {
  background-color: lightblue;
}

.saved:hover {
  background-color: rgb(124, 153, 163);
}