* {
    font-family: "Noto Sans Thai", sans-serif !important;
  }

  body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
  }

  #bgIMG {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transition: opacity 1s ease;
    opacity: 1;
 }

 .center-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.white-text{
    color: white;
}

.image-center img {
    max-width: 80vw;
    height: auto;
}

.btn {
    transition: transform 0.8s ease; /* Smooth transition */
    max-width: 50vw;
}

.btn:hover {
    transform: scale(1.15); /* Scale up on hover */
}


img:active,
img:focus {
  border: none; /* Removes the border when clicked */
  outline: none; /* Removes any default outline for focus */
}

#colorPalette {
  display: flex;
  margin-bottom: 10px;
}
.color {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}
#clearButton {
  margin-top: 10px;
  cursor: pointer;
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  filter: invert(100);
  transition: .2s ease-in-out;
}

#clearButton:hover {
  transform: scale(1.1);
}

#eraserButton {
  margin-top: 10px;
  cursor: pointer;
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  transition: .2s ease-in-out;
}

#eraserButton:hover {
  transform: scale(1.1);
}

#colorPicker {
  background-image: url("../media/icon/images.webp");
  cursor: pointer;
  /* background: none; */
	color: inherit;
	/* border: none; */
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  transition: .2s ease-in-out;
}

#picker-img {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  pointer-events: none;
  transition: .2s ease-in-out;
}

#picker-img:hover {
  transform: scale(1.1);
}


#slideImage {
  cursor: grab;
  transition: transform 10s ease; /* Increased duration for a smoother transition */
}

#slideImage.dragging {
  cursor: grabbing;
}

#whiteOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  display: none;
  z-index: 9999; /* Make sure it covers all other elements */
}

#colorWheel {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: conic-gradient(red, yellow, green, cyan, blue, magenta, red);
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
}
#palette {
  display: flex;
  gap: 10px;
}
.color-box {
  width: 50px;
  height: 50px;
  border: 1px solid #000;
  background-color: #fff; /* Default color */
}