body {
  user-select: none;
  margin: 0;
}
#app {
  border: 1px solid black;
}
.text {
  font-size: 18px;
  text-align: center;
  width: inherit;
  border: none;
  box-shadow: #ccc 0 0 2px 0;
  height: 100%;
}
.sizes {
  padding: 2px;
  font-size: 18px;
  border: none;
  box-shadow: #ccc 0 0 2px 0;
  height: 100%;
}
.name_bingo {
  border: 1px solid;
  padding: 2px 8px 2px 8px;
  font-weight: bold;
}
/* Define different padding values for different textarea sizes */
.mini-menu label{
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: 2px;
  padding: 3px;
}
.mini-menu label:hover{
  font-weight: bold;
  border: 1px solid black;

}
.mini-menu img{
  padding: 3px;
  border: 1px solid transparent;
}
.mini-menu img:hover{
  border: 1px solid black;
}
.boxes {
 
  border: 2px solid black; /* Set a constant black border */
}
.add_more_textarea .row {
  border: 2px solid black; /* Set a constant black border */

}

/*textareas*/
/* Add this CSS to draw grid lines */
textarea {
  width: 100px;
  aspect-ratio: 1 / 1;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  font-family: Arial, sans-serif;
  font-size: 14px;
  resize: none;
  outline: none;
  direction: rtl;
}

.row {
  display: flex;
}
button {
  padding: 10px 20px;
  color: white;
  background:  #2ecc71;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s ease; /* Transition for opacity */
}

button:hover {
  opacity: 0.8; /* Lower opacity on hover */
}
textarea {
  flex: 1;
/*  border-right: solid 1px #000;*/
/*  border-bottom: solid 1px #000;*/
}

.mini-menu {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  width: 120px;
  flex-wrap: wrap;
  background-color: white;
  border: 2px solid black;
  justify-content: center;
}
.options img {
  height: 20px;
  width: 20px;
}
textarea:hover,
textarea:focus {
  border-color: #555;
}

.preview {
  background-color: white;
}
.tittle input,
.tittle select {
  background-color: white;
}

#swatch {
  background: white;
  /*  box-shadow: 1em 1em 1em rgba(0, 0, 0, .1);*/
  display: flex;
  flex-direction: column;
  align-items: center;
}

#swatch .info {
  padding: 1em;
}

#swatch h1 {
  margin: 0;
  text-transform: uppercase;
}

#swatch h2 {
  font-weight: normal;
  margin: 0;
}

input[type="color"] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  height: 3em;
  padding: 0;
  width: 3em;
  border: 1px solid black;
}

*:focus {
  border-radius: 0;
  outline: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-color-swatch {
  border: 0;
  border-radius: 0;
}

::-moz-color-swatch,
::-moz-focus-inner {
  border: 0;
}

::-moz-focus-inner {
  padding: 0;
}

.grid-width select {
  height: 24px;
  width: 122px;
}
input[type="color"] {
  width: 100%;
  max-width: 200px; /* Set maximum width */
  height: 30px; /* Set height */
  transition: width 0.3s, height 0.3s; /* Add transition effect */
}
@media only screen and (max-width: 600px) {
  #app {
    width: 90%;
  }
  .grid-width select {
      height: 24px !important;
      width: 79px !important;
  }
    input[type="color"] {
    max-width: 50px !important; /* Adjust maximum width for smaller screens */
  }
  .mini-menu{
    padding: 0px !important;
    font-size: small !important;
    width: 98px !important;
  }
    input[type="color"].opened {
    width: 150px !important; /* Adjust width for smaller screens when opened */
    height: 20px !important; /* Adjust height for smaller screens when opened */
  }
  .d-flex.justify-content-space-evenly.align-items-center.gap-35.pt-1{
    gap: 10px !important;
    padding-right: 0px !important;
    font-size: x-small !important;
  }

.d-flex.justify-content-space-evenly.align-items-center{
  font-size: x-small !important;
}
/* */
}

/* CSS for mobile devices */
@media only screen and (max-width: 1200px) {
      .d-flex.justify-content-space-evenly.align-items-center.gap-35.pt-1{
    gap: 10px !important;
    padding-right: 0px !important;
    font-size: x-small !important;
  }

.d-flex.justify-content-space-evenly.align-items-center{
  font-size: x-small !important;
}
}
@media only screen and (max-width: 300px) {
      .d-flex.justify-content-space-evenly.align-items-center.gap-35.pt-1{
    gap: 10px !important;
    padding-right: 0px !important;
    font-size: x-small !important;
  }
   .grid-width select {
      height: 24px !important;
      width: 45px !important;
  }
    input[type="color"] {
    max-width: 30px !important; /* Adjust maximum width for smaller screens */
  }
  .font-small {
    font-size: x-small !important;
}
  .mini-menu{
    padding: 0px !important;
    font-size: small !important;
    width: 98px !important;
  }
    input[type="color"].opened {
    width: 150px !important; /* Adjust width for smaller screens when opened */
    height: 20px !important; /* Adjust height for smaller screens when opened */
  }
  #app {
    width: 90%;
  }
 
.d-flex.justify-content-space-evenly.align-items-center{
  font-size: x-small !important;
}
.line-thickness{
  font-size: x-small !important;
}
button{
      padding: 6px 8px !important;

}
}