body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #000;
  overflow: auto;
}

h1 {
  color: #000;
}

#content p {
  color: #fff;
  font-size: 1.2em;
}

#header {
  position: fixed;
  top: 10px;
  left: 10px;
  margin: 0;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0); /* Gör den lite transparent */
  border: 0px solid #ccc;
  border-radius: 5px;
  z-index: 1000;
  color: rgba(225, 225, 225, 1);
  font-size: 25px;
  font-weight: normal;
}

#myCanvas {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000; /* Själva canvasen svart */
}

#resetButton {
  position: fixed;
  top: 50px;
  left: 20px;
  z-index: 1001; /* Ovanpå bilder och canvas */
  padding: 8px 16px;
  background-color: rgba(163,145,171,1);
  color: black;
  font-size: 14px;
  font-weight: normal;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#resetButton:hover {
  background-color: #6e5a75;
  color: white;
}


img{
	position: absolute;
	z-index: 2;
	cursor: grab
}

img.grabbing {
  cursor: grabbing;
}

.hidden {
  display: none;
}

#confirmOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(100, 100, 100, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmBox {
  background: lightgrey;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
  font-family: sans-serif;
  border: 3px solid #222; 
}

.confirmBox p {
  font-size: 16px;
  margin-bottom: 20px;
}

.confirmBox .buttons button {
  margin: 0 10px;
  padding: 8px 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#confirmYes {
  background-color: rgba(85,130,88,1);
  color: white;
}

#confirmNo {
  background-color: rgba(170,25,34,1);
  color: white;
}

#confirmOverlay.hidden {
  display: none !important;
}
#infoBox {
  position: absolute;
  top: 20px;
  left: 150px;
  width: 400px;
  background-color: #fff;
  color: #000;
  padding: 10px 15px;
  border: 2px solid #333;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 14px;
  z-index: 9999;
}

#infoBox button#closeInfoBox {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

#infoBox button#closeInfoBox:hover {
  color: red;
}

#infoBox.hidden {
  display: none;
  
  
}

#infoBox h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #222;
}

#infoBox p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

#myInputBox {
  position: absolute;
  top: 1080px;    /* justera efter behov */
  left: 90px;   /* justera efter behov */
  width: 200px;
  height: 50px;
  font-size: 14px;
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 6px;
  resize: none;
  z-index: 5; /* ovanpå canvas, under ev. bekräftelser */
  background-color: rgba(255, 255, 255, 0.9);
}
#exportButton {
  position: fixed;
  top: 50px;
  left: 120px;
  z-index: 1001; /* Ovanpå bilder och canvas */
  padding: 8px 16px;
  background-color: rgba(163,145,171,1);
  color: black;
  font-size: 14px;
  font-weight: normal;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fixedText {
  position: absolute;
  top: 150px;
  left: 100px;
  width: 400px;
  background-color: #f0f0f0;
  color: #000;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  font-family: sans-serif;
  font-size: 15px;
  z-index: 5;
  max-height: 300px;
  overflow-y: auto;
}
