body, buttons {
	font-family: 'Arimo';
}
		
#dropdown #size1:hover {
	background:red;
}


.container{
	width: 100%;
	background:#fff;
	max-width: 350px;
}

.plus-sign {
    position: absolute;
    top: -9px;
    left: 48.5%;
    transform: translateX(-50%);
    font-size: 36px;
    color: white;
    text-shadow: 0px 0px 4px rgb(0 0 0 / 62%);
}

section {
	border-radius: 9px;
    box-shadow: 0px 0px 0px;
    border: 1px solid #e5e5e5;
}

.ui-input-text.ui-custom {
   border: none;
   box-shadow: none;
}

.tools-board {
	background: #fff;
    width: 99%;
	height: 36px;
    padding: 6px 1px 10px 0;
    box-shadow: 0px 0px 0px;
	box-shadow: 0px 0px 0px;
}

/*.tools-board .row{
  margin-bottom: 20px;
}*/
.tools-board2{
background: white;
    width: 115px;
    padding: 15px 22px 0;
    box-shadow: 0px 0px 0px;
    border: 1px solid #e5e5e5;
}
.tools-board2 .row{
  margin-bottom: 20px;
}
.row .options{
  list-style: none;
  margin: 10px 0 0 5px;
}
.row .options .colorbox{
  display: flex;
  cursor: pointer;
  align-items: center;
  margin-bottom: 10px;
}
.colorbox:is(:hover, .active) img {
  filter: invert(17%) sepia(90%) saturate(3000%) hue-rotate(900deg) brightness(100%) contrast(100%);
}
.colorbox :where(span, label){
  color: #5A6168;
  cursor: pointer;
  padding-left: 10px;
}
.colorbox:is(:hover, .active) :where(span, label){
  color: #4A98F7;
}
.colorbox #fill-color{
  cursor: pointer;
  height: 14px;
  width: 14px;
}
#fill-color:checked ~ label{
  color: #4A98F7;
}
.colorbox #size-slider{
  width: 100%;
  height: 5px;
  margin-top: 10px;
}
.colorsDiv .options{
	display: grid;
	grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    justify-content: center;
    background: transparent;
    padding: 8px;
    height: 28px;
    box-shadow: 0px 0px 0px;
    border-radius: 25px;
    flex-direction: column;
    align-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
}
.colorsDiv .colorbox{
    height: 26px;
    width: 26px;
    border-radius: 50%;
    position: relative;
    border: 2px solid #ffffff;
}

/*
.colorsDiv .colorbox:nth-child(1){
  background-color: #fff;
  border: 1px solid #bfbfbf;
}
.colorsDiv .colorbox:nth-child(2){
  background-color: #000;
}

.colorsDiv .colorbox:nth-child(3){
  background-color: #b3b3b3;
}
.colorsDiv .colorbox:nth-child(4){
  background-color: #0000ff;
}
.colorsDiv .colorbox:nth-child(5){
  background-color: #0052cc;
}
.colorsDiv .colorbox:nth-child(6){
  background-color: #99d6ff;
}
.colorsDiv .colorbox:nth-child(7){
  background-color: #ff0000;
}
.colorsDiv .colorbox:nth-child(8){
  background-color: #e63900;
}
.colorsDiv .colorbox:nth-child(9){
  background-color: #ff9999;
}
.colorsDiv .colorbox:nth-child(10){
  background-color: #008000;
}
.colorsDiv .colorbox:nth-child(11){
  background-color: #98ff98;
}

.colorsDiv .colorbox:nth-child(12){
  background-color: #40e0d0;
}

.colorsDiv .colorbox:nth-child(13){
  background-color: #ffff00;
}

.colorsDiv .colorbox:nth-child(14){
  background-color: #ffd700;
}

.colorsDiv .colorbox:nth-child(15){
  background-color: #fff5b3;
}
.colorsDiv .colorbox:nth-child(16){
  background-color: #ff6600;
}
.colorsDiv .colorbox:nth-child(17){
  background-color: #ff9933;
}

.colorsDiv .colorbox:nth-child(18){
  background-color: #ffcc99;
}

.colorsDiv .colorbox:nth-child(19){
  background-color: #800080;
}


.colorsDiv .colorbox:nth-child(20){
  background-color: #c837ed;
}
.colorsDiv .colorbox:nth-child(21){
  background-color: #e0b3e0;
}
.colorsDiv .colorbox:nth-child(22){
  background-color: #ff1493;
}
.colorsDiv .colorbox:nth-child(23){
  background-color: #ff69b4;
}
.colorsDiv .colorbox:nth-child(24){
  background-color: #ffcce5;
}
.colorsDiv .colorbox:nth-child(25){
  background-color: #8b4513;
}
.colorsDiv .colorbox:nth-child(26){
  background-color: #c56c39;
}
.colorsDiv .colorbox:nth-child(27){
  background-color: #f5deb3;
}
.colorsDiv .colorbox:nth-child(28){
  background-color: #4d4d4d;
}
.colorsDiv .colorbox:nth-child(29){
  background-color: #00FFFF;
}

.colorsDiv .colorbox:nth-child(30){
  background: linear-gradient(to right, rgb(255, 41, 102), rgb(66, 128, 255), rgb(12, 255, 201));
}
*/

.color-options .color-box:nth-child(1){
  background-color: #000;
  border: 1px solid #bfbfbf;
}

.color-options .color-box:nth-child(2){
  background-color: #b3b3b3;
}
.color-options .color-box:nth-child(3){
  background-color: #fff;
  border: 1px solid #d7d7d7;
}
.color-options .color-box:nth-child(4){
  background-color: #0000ff;
}

.color-options .color-box:nth-child(5){
  background-color: #ff0000;
}

.color-options .color-box:nth-child(6){
  background-color: #008000;
}

.color-options .color-box:nth-child(7){
  background-color: #ffff00;
}

.color-options .color-box:nth-child(8){
  background-color: #ff6600;
}

.color-options .color-box:nth-child(9){
  background-color: #800080;
}

.color-options .color-box:nth-child(10){
  background-color: #ff1493;
}

.color-options .color-box:nth-child(11){
  background-color: #8b4513;
}

.color-options .color-box:nth-child(12) {
    background-color: #4d4d4d;
}
.color-options .color-box:nth-child(13){
  background: linear-gradient(to right, rgb(255, 41, 102), rgb(66, 128, 255), rgb(12, 255, 201));
}

.colorsDiv .colorbox.selectedColor::before{
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  height: 18px;
  width: 18px;
  background: inherit;
  border-radius: inherit;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
}
.colorsDiv .colorbox:first-child.selectedColor::before{
  border-color: #ccc;
}
.colorbox #color-picker{
  opacity: 0;
  cursor: pointer;
}
#changeSizeButton, #changeSizeButton2, #plusSize, #minusSize{
  background: #a5a5a5;
  border: 1px solid #b3b3b3;
  box-shadow: 0px 0px 20px 0px #ffffff14;
  font-family: 'Arimo';
  margin-bottom: 9px;
  color: #fff;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
}
.buttons button{
	width: 148px;
    color: #fff;
    outline: none;
    padding: 3px 0;
    margin-bottom: -5px;
    border-radius: 4px;
    cursor: pointer;
}
.buttons .clear-canvas{
	color: #fff;
    background: #b7b7b7;
    border: 1px solid #c5c5c5;
    transition: all 0.3s ease;
    font-size: 17px;
    font-family: 'Arimo';
    font-weight: bold;
}
/*
.clear-canvas:hover{
  color: #fff;
  background: #6C757D;
}*/

canvas {
	cursor: crosshair;
}

.buttons .change_speed{
	display: inline-block;
    width: 45px;
    height: 24px;
    background: #ffffff;
    border: 1px solid #66abff;
    color: #308eff;
    font-size: 13px;
    font-family: 'Arimo';
    padding: 0px;
    margin-top: 7px;
}
.save-img{
	background: #4384d3;
    border: 2px solid #3475c5;
    box-shadow: 0px 0px 20px 0px #00000059;
    font-size: 17px;
    padding: 5px;
    font-family: 'Arimo';
    color: #fff;
}

.drawing-board{
  overflow: hidden;
}

#live_options {
	width: 736px;
    right: 114px;
    position: relative;
    display: flex;
    place-items: center stretch;
    flex-flow: row;
    place-content: center flex-start;
    margin-bottom: -5px;
    background: rgb(213 213 213 / 5%);
    color: rgb(0, 0, 0);
    padding: 6px;
    box-shadow: 0px 0px 20px 5px #9797970d;
    z-index: -1;
    border-radius: 10px;
}

#name {
	text-align: right;
    width: 197px;
    padding: 7px;
    font-size: 16px;
    font-family: 'Arimo';
    border-radius: 12px;
    border: 0;
    box-shadow: 0px 0px 20px 5px #00000012;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header a {
  color: blue;
  text-decoration: none;
}
.modal-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.modal-footer div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  color: white;
}
.modal-footer div i {
  font-size: 24px;
  margin-bottom: 5px;
}
.whatsapp { background-color: #25D366; }
.facebook { background-color: #3b5998; }
.gmail { background-color: #D44638; }
.private-message { background-color: #0078FF; }
.download { background-color: #4CAF50; }
.print { background-color: #FF9800; }
.view { background-color: #9C27B0; }
.save { background-color: #3F51B5; }
.description { background-color: #E91E63; }
.tags { background-color: #FF5722; }


/* עבור ה-ul הצבעים */
ul.color-options {
	display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    padding: 2px;
    margin: 0;
    white-space: nowrap;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 93%;
    max-width: calc(100%);
    height: 80px;
    list-style: none;
    align-items: center;
    align-content: center;
}

/* קביעת עיצוב עבור כל צבע */
.color-box {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    position: relative;
    border: 2px solid #ffffff;
    cursor: pointer;
}

/* צבעים ספציפיים 
.color-options .color-box:nth-child(1) { background-color: #fff; border: 1px solid #bfbfbf; }
.color-options .color-box:nth-child(2) { background-color: #000; }
.color-options .color-box:nth-child(3) { background-color: #b3b3b3; }
.color-options .color-box:nth-child(4) { background-color: #0000ff; }
.color-options .color-box:nth-child(5) { background-color: #ff0000; }
.color-options .color-box:nth-child(6) { background-color: #008000; }
.color-options .color-box:nth-child(7) { background-color: #ffff00; }
.color-options .color-box:nth-child(8) { background-color: #fff5b3; }
.color-options .color-box:nth-child(9) { background-color: #800080; }
.color-options .color-box:nth-child(10) { background-color: #8b4513; }
.color-options .color-box:nth-child(11) { background-color: #00FFFF; }

.color-options .color-box:nth-child(1) { background-color: #fff; border: 1px solid #bfbfbf; }
.color-options .color-box:nth-child(2) { background-color: #000; }
.color-options .color-box:nth-child(3) { background-color: #b3b3b3; }
.color-options .color-box:nth-child(4) { background-color: #0000ff; }
.color-options .color-box:nth-child(5) { background-color: #0052cc; }
.color-options .color-box:nth-child(6) { background-color: #99d6ff; }
.color-options .color-box:nth-child(7) { background-color: #ff0000; }
.color-options .color-box:nth-child(8) { background-color: #e63900; }
.color-options .color-box:nth-child(9) { background-color: #ff9999; }
.color-options .color-box:nth-child(10) { background-color: #008000; }
.color-options .color-box:nth-child(11) { background-color: #98ff98; }
.color-options .color-box:nth-child(12) { background-color: #40e0d0; }
.color-options .color-box:nth-child(13) { background-color: #ffff00; }
.color-options .color-box:nth-child(14) { background-color: #ffd700; }
.color-options .color-box:nth-child(15) { background-color: #fff5b3; }
.color-options .color-box:nth-child(16) { background-color: #ff6600; }
.color-options .color-box:nth-child(17) { background-color: #ff9933; }
.color-options .color-box:nth-child(18) { background-color: #ffcc99; }
.color-options .color-box:nth-child(19) { background-color: #800080; }
.color-options .color-box:nth-child(20) { background-color: #c837ed; }
.color-options .color-box:nth-child(21) { background-color: #e0b3e0; }
.color-options .color-box:nth-child(22) { background-color: #ff1493; }
.color-options .color-box:nth-child(23) { background-color: #ff69b4; }
.color-options .color-box:nth-child(24) { background-color: #ffcce5; }
.color-options .color-box:nth-child(25) { background-color: #8b4513; }
.color-options .color-box:nth-child(26) { background-color: #c56c39; }
.color-options .color-box:nth-child(27) { background-color: #f5deb3; }
.color-options .color-box:nth-child(28) { background-color: #4d4d4d; }
.color-options .color-box:nth-child(29) { background-color: #00FFFF; }
*/
.color-options .color-box:nth-child(12) {
  background: linear-gradient(to right, rgb(255, 41, 102), rgb(66, 128, 255), rgb(12, 255, 201));
}

/* חיצים */
.scroll-btn {
    position: absolute;
    margin-top: 145px;
    margin-left: 32px;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
}

.left-btn {
  left: 0;
}

.right-btn {
  margin-top: 0px;
}

/* הצגת הצבעים שנבחרים */
.selected-color {
	box-shadow: 0px 0px 7px black;
}

/* הצגת הצבעים שנבחרים */
.color-box.selected-color::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  height: 27px;
  width: 27px;
  background: inherit;
  border-radius: inherit;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
}

.color-box:first-child.selected-color::before {
  border-color: #ccc;
}

/* עבור פקד הצבע */
#color-picker {
  opacity: 0;
  cursor: pointer;
}



.toolbar {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  flex-wrap: wrap; /* תמיכה בשבירה לשורות */
}
.toolbar-btn {
  display: flex;
  align-items: center;
  background-color: #e0e0e0;
  border: none;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.toolbar-btn img {
  width: 20px; /* גודל אייקון */
  height: 20px;
}

.toolbar-btn2 {
  display: flex;
  align-items: center;
  background-color: #e0e0e0;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  margin: 5px;
  cursor: default;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toolbar-btn:hover {
  background-color: #d0d0d0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.like-btn {
  background-color: #ffdddd;
  color: #d9534f;
}
.share-btn {
  background-color: #e6f7ff;
  color: #0275d8;
}
.rate-btn {
  background-color: #fff8e1;
  color: #f0ad4e;
}
.rate-btn2 {
  background-color: #fff8e1;
  color: #f0ad4e;
}
.download-btn {
  background-color: #e5f7e5;
  color: #5cb85c;
}
.draw-btn {
  background-color: #dfe1ff;
  color: #5a5cff;
}
.rate-btn img {
  margin-left: 1px; /* סידור הכוכבים */
}
