
body {
  background-color: #ffffe6;
  color: black;

}

h1
{
  font-size: large;
  color: #d3358c;
}

h3
{
  font-size:medium;
  color: #354dd3;
  text-align: center;
}

.ticket-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20px; 
    text-align: center;
}

.ticket-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

h2 {
    font-size: 20px;
    color: #7D5A5A;
    margin: 0;
    display: inline;
}

img
{
  width:180px;
  height:180px;

  display: block;
  margin-left: auto;
  margin-right: auto;


}

.ibutton {
  background-color: #d3358c;
  border: none;
  color: white;
  width: 100px;
  height: 80px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  margin: 8px 4px;
  cursor: pointer;
}

.jbutton {
  background-color: #B82132;
  border: solid #D6CFB4 3px;
  color: #FFF;
  width: 60px;
  height: 60px;

  text-align: center;

  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  margin: 6px 4px;
  cursor: pointer;
  float: left;
}

.tbutton {
  background-color: #10af72;
  border: solid #06439e 3px;
  border-radius: 50%;
  color: rgb(5, 5, 5);
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  display:inline-block;
  float: left;
}

.rbutton {
  background-color: #f70b0b;
  border: solid #06439e 3px;
  border-radius: 50%;
  color: rgb(5, 5, 5);
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  display:inline-block;
  float: left;
}

.cbutton {
  background-color: #5E686D;
  border: solid #D6CFB4 3px;
  border-radius: 5px;
  color: white;
  width: 35px;
  height: 35px;
  /* padding: 0px; */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  margin-left: 20%;
  /* margin-right: 8%;  */
}

.button-container {
  display: flex;
  justify-content: flex-end; /* Moves buttons to the right */
  gap: 5px; /* Adds space between buttons */
  padding-right: 15px; /* Optional: Adds some space from the border */
}

.table-box {  /*1*/

  /* margin-left: 30%;
  margin-right: 4%;
  margin-top: 8%;
  border-style: double;
  border-width: 5px;
  border-color: rgb(66, 8, 228);
  width: 450px;
  height: 310px;
  padding: 30px; */

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr); /* This needs height to work properly */
  gap: 5px;
  width: 100%;
  max-width: 420px;
  height: 340px; /* Set equal height to match max-width */
  margin: 5% auto 0;
  border: 5px double rgb(66, 8, 228);
  padding: 10px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1; /* Backup for square ratio */

}


.table-box-t {

  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;              /* Adjust width to be flexible */
  max-width: 550px;        /* Prevent it from getting too big */
  margin: left;            /* Center it */
  border-style: double;
  border-width: 5px;
  border-color: #D39D55;
  padding: 10px;

}
.table-box-view {

  margin-left: 1%;
  margin-right: 4%;
  border-style: double;
  border-width: 5px;
  border-color: rgb(228, 8, 81);
  width: 900px;
  height: 200px;
  padding: 10px;
  margin-top: 0%;
}

.reset-button {
  background-color: #0b1bf7;
  border: solid #d7e4f8 3px;
  border-radius: 50%;
  color: rgb(240, 231, 231);
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
}


.lstlab {


  margin-right: 2px;
  display:inline-block;
  text-align: center;
  font-size: 30px;

}

.displaylabel  {
  border-style: double;
  border-color: rgb(181, 3, 187);
  border-width: 5px;
  margin-right: 2px;
  color: black;

    width: 350px;
    height: 180px;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 50px;
    margin-left: 8%;

}

.label1  {
  border-style: double;
  border-color: #D39D55;
  border-width: 5px;
  margin-right: 2px;
  color: black;

    width: 150px;
    height: 105px;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 30px;
    padding: 15px;


}

.label2  {
  border-style: double;
  border-color: rgb(74, 56, 236);
  border-width: 5px;
  margin-right: 2px;
  color: black;

    width:180px;
    height: 105px;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 30px;

}
.label3  {
  border-style: double;
  border-color: rgb(0, 128, 64);
  border-width: 5px;
  margin-right: 2px;
  color: black;
    width:180px;
    height: 105px;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 30px;
}
.label4  {
  border-style: double;
  border-color: rgb(128, 119, 0);
  border-width: 5px;
  margin-right: 2px;
  color: black;
    width:180px;
    height: 105px;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 30px;
}

.label5  {
  border-style: double;
  border: 5px solid rgb(235, 147, 32);
    width:180px;
    height: 70px;
   padding: 10px;

    display:inline-block;
    text-align: center;
    font-size: 60px;
}

.label6  {
    border-style: double;
    border-color: #D39D55;
    border-width: 5px;
    margin-right: 3px;
    color: black;
    width: 180px;
    height: fit-content;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 22px;
    /* margin-left: 1%; */

}

.label8  {
  border-style: double;
  border-color: rgb(10, 165, 23);
  border-width: 5px;
  margin-right: auto;
  margin-top: auto;
  margin-left: auto;
  color: black;
  width: 300px;
  text-transform: uppercase;
  text-align: center;
}


.label7  {
  border-style: double;
  border-color: rgb(10, 165, 23);
  border-width: 5px;
  margin-right: 2%;
  margin-top: -220%;
  margin-left: auto;
  color: black;
  width: 300px;
  text-transform: uppercase;
  text-align: center;
}

#jstext {
  border-style: double;
  border: 5px solid rgb(200, 31, 223);
    width:180px;
    height: 70px;
   padding: 10px;

    display:inline-block;
    text-align: center;
    font-size: 60px;

    position: absolute;
        top: 70%;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
}

.box {
  display: block;
  margin-left: 2%;
}
.box-pad {

  margin-left: 4%;
  margin-right: auto;
  border-style: double;
  border-width: 5px;
  border-color: rgb(66, 8, 228);
  width: 350px;
  padding: 10px;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

.modal-content {
  background-color: #FFFBDA;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 300px;
  height: 300px;
  text-align: center;
  border-radius: 8px;
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.numpad button {
  width: 55px;
  height: 55px;
  font-size: 20px;
  border-radius: 10px;
  border: solid 3px #86A788 ;
  background: #D0DDD0;
  cursor: pointer;
}

.numpad button:hover {
  background: #aaa;
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr)); /* Adjusts column width */
  width: 100%;
  gap: 10px; /* Adds spacing between buttons */
}


/*##############################small screen##################################################*/
@media (max-width: 768px) {



  .label1  {
    border-style: double;
    border-color: #D39D55;
    border-width: 5px;
    margin-right: 3px;
    margin-top: 5px;
    margin-left: 3px;
    color: black;
      width:123px;
      height: 115px;
      text-transform: uppercase;
      display:inline-block;
      text-align: center;
      font-size: 30px;
  }

  .table-box {  /*2*/

    margin-left: auto;
    margin-right: auto;
    margin-top: 15%; 
    border-style: double;
    border-width: 5px;
    border-color: rgb(66, 8, 228);
    max-width: 380px;
    height: 360px;
    padding: 10px;
    

    }

  .displaylabel  {
    border-style: double;
    border-color: rgb(149, 233, 39);
    border-width: 5px;
    margin-right: 1px;
    margin-left: 2px;
    color: black;
      width:165px;
      height: 110px;
      text-transform: uppercase;
      display:inline-block;
      text-align: center;
      font-size: 30px;
  }
  .label2  {
    border-style: double;
    border-color: rgb(74, 56, 236);
    border-width: 5px;
    margin-right: 2px;
    color: black;

      width:170px;
      height: 120px;
      text-transform: uppercase;
      display:inline-block;
      text-align: center;
      font-size: 30px;
  }
  .label3  {
    border-style: double;
    border-color: rgb(0, 128, 64);
    border-width: 5px;
    margin-right: 2px;
    color: black;
      width:170px;
      height: 120px;
      text-transform: uppercase;
      display:inline-block;
      text-align: center;
      font-size: 30px;
  }
  .label4  {
    border-style: double;
    border-color: rgb(128, 119, 0);
    border-width: 5px;
    margin-right: 2px;
    color: black;
      width:170px;
      height: 120px;
      text-transform: uppercase;
      display:inline-block;
      text-align: center;
      font-size: 30px;
  }

.label6  {
  border-style: double;
  border-color: rgb(187, 130, 23);
  border-width: 5px;
  margin-right: 3px;
  color: black;

    width: 160px;
    height: fit-content;
    text-transform: uppercase;
    display:inline-block;
    text-align: center;
    font-size: 18px;
  margin-left: 2%;
}

  .label8  {
    border-style: double;
    border-color: rgb(165, 10, 10);
    border-width: 5px;
    margin-right: auto;
    margin-top: auto;
    margin-left: auto;
    color: black;
    width: 300px;
    text-transform: uppercase;
    text-align: center;
  }

  .reset-button {
    background-color: #0b1bf7;
    border: solid #d7e4f8 3px;
    border-radius: 50%;
    color: #FFF;
    width: 80px;
    height: 80px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
  }

  .tbutton {
    background-color: #10af72;
    border: solid #06439e 3px;
    border-radius: 50%;
    color: rgb(5, 5, 5);
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
  }

  .rbutton {
    background-color: #f70b0b;
    border: solid #06439e 3px;
    border-radius: 50%;
    color: rgb(5, 5, 5);
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
  }

  .ibutton {
    background-color: #d3358c;
    border: none;
    color: white;
    width: 100px;
    height: 80px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    margin: 8px 4px;
    cursor: pointer;

  }

  .jbutton {
  background-color: #8D0B41;
  border: solid #D6CFB4 3px;
  color: white;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 1px;
}

  .box-pad {

    margin-left: 0.5%;
    margin-right: auto;
    border-style: double;
    border-color: rgb(66, 8, 228);
    width: 333px;
    padding: 6px;
  }

.table-box-t {

  /* margin-left: 3%;
  margin-right: 3%;
  border-style: double;
  border-width: 5px;
  border-color:  #D39D55;
  width: 380px;
  height: 130px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap; */

  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;              /* Adjust width to be flexible */
  max-width: 380px;        /* Prevent it from getting too big */
  margin: 1%;            /* Center it */
  border-style: double;
  border-width: 5px;
  border-color: #D39D55;
  padding: 10px;

}

  img
  {
    width:135px;
    height:135px;

    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #jstext {
    border-style: double;
    border: 5px solid rgb(200, 31, 223);
      width:180px;
      height: 70px;
      padding: 10px;

      display:inline-block;
      text-align: center;
      font-size: 60px;

      position: absolute;
      top: 65%;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
  }
  .label7  {
    border-style: double;
    border-color: rgb(199, 240, 86);
    border-width: 5px;
    margin-right: 8%;
    margin-top: -220%;
    margin-left: auto;
    color: black;
    width: 300px;
    text-transform: uppercase;
    text-align: center;
  }

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px,1fr));
  /* grid-column: span 2; */
  width: 100%;
}


}

  /*################################################################################*/
  /*ipad*/
  @media screen and (max-width: 1024px) {
    #jstext {
      border-style: double;
      border: 5px solid rgb(200, 31, 223);
        width:180px;
        height: 70px;
        padding: 10px;

        display:inline-block;
        text-align: center;
        font-size: 60px;

        position: absolute;
        top: 5%;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }
    img
    {
      width:135px;
      height:135px;

      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .label7  {
      border-style: double;
      border-color: rgb(10, 13, 165);
      border-width: 5px;
      margin-right: 0%;
      margin-top: -200%;
      margin-left: auto;
      color: black;
      width: 300px;
      text-transform: uppercase;
      text-align: center;
    }

    .table-box-view {

      margin-left: 1%;
      margin-right: 4%;
      border-style: double;
      border-width: 5px;
      border-color: rgb(228, 8, 81);
      width: 900px;
      height: 180px;
      padding: 10px;
      margin-top: 0%;
    }
    .reset-button {
      background-color: #4427c4;
      border: solid #d7e4f8 3px;
      border-radius: 50%;
      color: rgb(238, 244, 245);
      width: 80px;
      height: 80px;
      text-align: center;
      font-size: 15px;
      font-weight: bold;
      margin-left: 5%;

    }

  }
 /*################################################################################*/
 /*ipad pro*/
 @media screen and (max-width: 1366px) {

  img
    {
      width:135px;
      height:135px;

      display: block;
      margin-left: auto;
      margin-right: auto;
    }

 }