html {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background-color: ivory;
}

.container {
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
}

.container img {
  /* object-fit: contain; */
  width: 30%;
}
h3 {
  background-color: rgb(217, 224, 224);
  color: darkblue;
  text-align: left;
  line-height: 140%;
}

.container p {
  /* object-fit: contain; */
  /* margin-left: 10%; */
  text-wrap: wrap;
  background-color: ivory;
  /* border: #040494;
  border-width: 1px;
  border-style: solid; */
  /* width: 50%; */
  /* word-wrap: wrap;
  word-break: break-word; */
}

h1 {
  font: bold;
  text-align: center;
  background-color: rgb(217, 224, 224);
  color: darkblue;
  line-height: 200%;
  /* width: 80%; */
  /* margin-left: 10%; */
  text-wrap: wrap;
}

h2 {
  background-color: rgb(217, 224, 224);
  color: darkblue;
  text-align: center;
  /* padding-left: 2%; */
  line-height: 120%;
}

ul {
  /* margin-left: 10%; */
  line-height: 120%;
  color: grey;
  font-size: medium;
}

/* p {
  color: grey;
  font-size: large;
  padding-left: 0%;
  width: 80%;
  text-wrap: wrap;
  word-break: break-word;
} */

img {
  width: 50%;
}

.navbar {
  line-height: 120%;
  display: inline-flex;
  /* align-content: flex-start; */
  /* font-size: normal; */
  width: 70%;
  margin-left: 15%;
  /* align-items:center; */
  /* margin-right: 15%; */
  background-color: #faf4dc;
}

.navbarbottom {
  line-height: 80%;
  display: inline-flex;
  /* font-size: normal; */
  width: 70%;
  margin-top: 100px;
  margin-left: 15%;
}

a:link {
  color: red;
  text-align: center;
  margin-right: 5px;
}

a:visited {
  color: green;
}

a:hover {
  color: hotpink;
}

a:active {
  color: blue;
}

#renderCanvas {
  width: 100%;
  height: 100%;
  touch-action: auto;
}

#canvasZone {
  width: 100%;
  height: 100%;
}

.toolbar {
  display: flex;
  gap: 10px;
  background: #f0f0f0;
  padding: 5px;
  border: 1px solid #ccc;
  border-bottom: none;
  width: 71%;
}

.toolbar button {
  border: none;
  background: #040494;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.2s;
}

.toolbar button:active {
  background-color: #c5c7c9;
  transform: translateY(2px);
}

.toolbar button:hover {
  background: #e0e0e0;
}

.titletextbox {
  width: 70%;
  height: 20px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 16px;
  resize: none;
}

button {
  /* width: 70%; */
  /* display: block; */
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
   display: inline-block;
}

button:focus {
  background-color: orange;
}

.button:hover {
  background-color: #3e8e41
}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.select {
  font-size: 16px;
  resize: none;
  border: 1px solid #ccc;
  height: 40px;

  width: 265px;
  padding: 10px;
}

.textbox {
  width: 70%;
  height: 150px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 16px;
  resize: none;
  overflow: scroll;
}

select {
  width: 200px;
  padding: 10px;
  border: 2px solid #4CAF50;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}

select.space::after {
  content: " ";
  white-space: pre;
}

select:focus {
  outline: #3c22ff;
  border-color: #3c22ff;
  box-shadow: 0 0 5px rgba(255, 87, 34, 0.5);
}

.custom-file-input {
  width: 70%;
  display: block;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
}

.custom-file-input:hover {
  background-color: #0056b3;
}

.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.custom-file-input::before {
  content: 'Choose File';
  display: inline-block;
  background: #007bff;
  color: white;
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
}

.custom-file-input:active::before {
  background-color: #0056b3;
}



.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
}

.alert.success {
  background-color: #04AA6D;
}

.alert.info {
  background-color: #2196F3;
}

.alert.warning {
  background-color: #ff9800;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}