@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');

body {
  padding: 0;
  margin: 0;
}

.mainContainer {
  /* position: relative; */
  /* padding-top: 2%; */
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
}

#drawingCanvas {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* position: absolute; */
  position: relative;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  padding: 1%;
  border: 3px solid black;
  font-family: 'Montserrat', sans-serif;
}

.rect {
  display: flex;
  position: absolute;
  border: 3px solid black;
  background-color: lightgray;
}

#sidebar {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background-color: lightblue;
  padding: 1%;
  font-family: 'Montserrat', sans-serif;
}

.functionButtons {
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: 20%;
}

.funcBtn {
  cursor: pointer;
  padding: 3%;
  margin-bottom: 1%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.rectangleData {
  height: 80%;
  background-color: white;
  color: black;
  padding: 2%;
}

.rectangleData ul {
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.rectangleData h4 {
  text-align: center;
  margin: 0;
}

#rectList {
  list-style-type: none;
  padding: 0;
}

.selected {
  border: 3px solid blue;
  cursor: pointer;
  z-index: 1;
}

.draggingElement {
  cursor: all-scroll;
  z-index: 99;
}

li {
  padding: 1%;
}

.htmlElementMenu {
  justify-content: flex-start;
  display: flex;
  flex-direction: row;
  height: 20%;
  width: 100%;
  /* padding-bottom: 1%; */
}

.col {
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.elementBtn {
  cursor: pointer;
  padding: 5%;
  margin: 1%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

/* classesForHTMLElementsAddedUsingMenuList */

/* div */
.newlyCreatedDivElement {
  border: 2px solid black;
  background-color: gray;
  height: 50px;
  width: 100px;
}

/* heading/h3 */
.newlyCreatedHeadingElement {
  font-weight: bold;
  margin: 0.5%;
  height: fit-content;
  width: fit-content;
}

/* paragraph/p */
.newlyCreatedParagraphElement {
  font-weight: bold;
  margin: 0.5%;
  height: fit-content;
  width: fit-content;
  font-size: 15px;
  color: black;
}

/* image */
.newlyCreatedImageElement {
  height: 100px;
  width: 200px;
}

/* table */
.newlyCreatedTableElement {
  width: 200px;
  height: 100px;
  border-collapse: collapse;
  border: 2px solid black;
}

td {
  padding: 1px;
  font-size: 10px;
  border: 1px solid black;
}

/* form */
.newlyCreatedFormElement {
  display: flex;
  flex-direction: column;
  width: fit-content;
  height: fit-content;
  border: 2px solid black;
  /* display: none; */
  margin: 1%;
  padding: 1%;
  font-family: 'Montserrat', sans-serif;
}

.newlyCreatedFormElement label {
  display: block;
  margin-bottom: 1px;
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
}

.newlyCreatedFormElement input[type='text'],
.newlyCreatedFormElement input[type='password'] {
  align-items: center;
  width: inherit;
  padding: 5px;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.newlyCreatedFormElement button {
  padding: 2px 5px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
