@media screen and (orientation: landscape) {
  #game_Rules_Page {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    visibility: hidden;
  }

  ::-webkit-scrollbar {
    width: 17px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background-image: url("./assets/InfoWindow/Scroll/ScrollBG.png");
    background-repeat: no-repeat;
    background-position: 40%;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    width: 1;
    min-height: 10px;
    max-height: 20px;
    background-image: url("./assets/InfoWindow/Scroll/Scroll.png");
    background-repeat: no-repeat;
    background-position: initial;
    background-size: contain;
    border-radius: 5px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-image: url("./assets/InfoWindow/Scroll/Scroll.png");
  }

  .btn {
    width: 4%;
    height: 7%;
    position: absolute;
    margin-top: -47%;
    margin-left: 85%;
    cursor: pointer;
  }

  /* Style the tab */
  #tabGrey {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.356);
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
  }

  .tab {
    background-color: rgb(3, 3, 3);
    width: 94%;
    height: 90%;
    margin-left: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    z-index: 3;
    color: #ffcc00;
    position: absolute;
    overflow: hidden;
  }

  /* Style the buttons inside the tab */
  .tab img {
    margin-top: 1%;
    margin-left: 2%;
    position: relative;
    z-index: 3;
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
  }

  .CloseBtn {
    width: 3%;
    height: 4.5%;
    position: absolute;
    margin-top: 1%;
    margin-left: 97%;
    cursor: pointer;
  }

  /* Change background color of buttons on hover */

  #Paytable:hover {
    src: "./assets/InfoWindow/Paytable/paytable_selected.png";
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }

  /* Style the tab content */
  .tabcontent {
    position: absolute;
    z-index: 3;
    display: none;
    border-top: none;
  }

  #Game_Rules {
    overflow-y: scroll;
    overflow-x: unset;
    width: 77%;
    height: 62%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0005;
    color: #bdc9c6;
    max-width: calc(100% - 4%);
    word-break: break-word;
    font-size: 1.2vw;
    margin-top: 17%;
    margin-left: 10%;
    max-height: 70%;
    padding-right: 7%;
  }

  #pay_table {
    width: 75%;
    height: 76%;
    font-size: 1.5vw;
    margin-top: 17%;
    margin-left: 21%;
    max-width: 75%;
    max-height: 76%;
    padding-right: 7%;
  }

  #history_1 {
    width: 75%;
    height: 76%;
    color: #ffcc00;
  }

  #pay_table table {
    position: absolute;
    border-collapse: separate;
    border-spacing: 0px 10px;
    width: 60%;
    height: 60%;
    padding-left: 8%;
  }

  #pay_table th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    color: #a0d8cb;
    text-align: left;
  }

  #pay_table td {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #00627b;
    color: #cafdff;
    padding: 1%;
  }

  #pay_table h4 {
    margin-top: 35%;
    margin-left: 9%;
    padding-right: 33%;
    color: white;
  }

  #preload {
    visibility: hidden;
  }

  .selected {
    border: solid 7px;
    margin: 10px;
    border-image: url("./assets/InfoWindow/CloseBtn/Close_Hover.png") 11% round;
  }

  .txtCenter {
    text-align: center;
    line-height: 1.2;
    margin: 10px;
    margin-top: 0px;
  }

  h4 {
    color: yellow;
  }

  li {
    padding-bottom: 1%;
    line-height: 1.6;
  }
  #history_1 {
    overflow-y: scroll;
    overflow-x: unset;
    scroll-behavior: smooth;
    width: 75%;
    height: 76%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0005;
    color: #bdc9c6;
    max-width: calc(100% - 4%);
    word-break: break-word;
    font-size: 1.2vw;
    margin-top: 16%;
    margin-left: 19%;
    max-height: 63%;
    padding-right: 0%;
  }

  #history_1 table {
    border-collapse: separate;
    border-spacing: 4px 10px;
    width: 83%;
  }

  #history_1 th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    text-align: center;
    color: #a0d8cb;
  }

  #history_1 td {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #b1b11b;
    color: black;
    padding: 1%;
  }

  button {
    font-size: 1vw;
    width: 80%;
    height: 100%;
    padding: 2%;
  }

  #history_2 {
    width: 75%;
    height: 76%;
    position: absolute;
    z-index: 3;
    font-size: 1.2vw;
    margin-top: 15%;
    margin-left: 17.5%;
    max-width: 70%;
    max-height: 63%;
    padding-right: 7%;
  }

  #history_2 table {
    position: absolute;
    border-collapse: separate;
    border-spacing: 4px 10px;
    width: 83%;
    height: 12%;
  }

  #history_2 th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    text-align: center;
    color: #a0d8cb;
  }

  #history_2 td {
    font-family: Arial, Helvetica, sans-serif;
    z-index: 4;
    text-align: center;
    background-color: #b1b11b;
    color: black;
  }

  #history_2 h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: #a0d8cb;
    margin-top: 22%;
    margin-left: 32%;
  }

  #history_2 h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #a0d8cb;
    margin-top: 0%;
    margin-left: 1%;
  }

  .history_outcome {
    display: none;
  }

  #history_3 {
    width: 75%;
    height: 76%;
    position: absolute;
    z-index: 3;
    font-size: 1.5vw;
    margin-top: 15%;
    margin-left: 17.5%;
    max-width: 70%;
    max-height: 63%;
    padding-right: 7%;
  }

  #Player0card {
    padding-right: 2%;
  }
  #Player1card {
    padding-right: 2%;
  }
  #Player2card {
    margin-right: 19%;
  }
  #Banker3card {
    padding-right: 2%;
  }
  #Banker4card {
    padding-right: 2%;
  }
  #Player_name {
    width: 15%;
    height: 8%;
    margin-left: 10.5%;
    padding-bottom: 1%;
  }
  #Banker_name {
    width: 15%;
    height: 8%;
    margin-left: 39%;
    padding-bottom: 1%;
  }

  .Player_cards {
    width: 10.5%;
    height: 30%;
  }
  .Banker_cards {
    width: 10.5%;
    height: 30%;
  }

  #table-id table tbody tr {
    display: none;
  }

  .pagination li {
    display: inline-block;
    cursor: pointer;
    color: white;
    float: left;
    padding: 1.5% 3%;
    text-decoration: none;
  }

  .pagination li.active {
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
  }

  .pagination li:hover:not(.active) {
    background-color: #ddd;
    color: black;
    border-radius: 1%;
  }

  #maxRows {
    font-size: 1.2vw;
    width: 30%;
    height: 100%;
  }

  ul {
    padding-inline-start: 5%;
  }

  .slidecontainer {
    visibility: hidden;
    width: 100%;
    z-index: 3;
    top: 34%;
    position: absolute;
  }

  .range-slider {
    -webkit-appearance: none;
    position: absolute;
    appearance: none;
    width: 22%;
    height: 13px;
    outline: none;
    margin-left: 50%;
  }

  .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 29px;
    height: 29px;
    background: #e8960a;
    border-radius: 50%;
  }

  .range-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
  }

  .range-slider::-webkit-slider-thumb:active {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.5);
  }

  @media only screen and (max-width: 1400px) {
    

    .slidecontainer {
      margin-top: 2%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  }

  @media only screen and (max-width: 1300px) {

    .slidecontainer {
      margin-top: 4%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  }

 

   @media only screen and (max-width: 1200px) {

    .slidecontainer {
      margin-top: 3%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  }

  @media only screen and (max-width: 1150px) {

    .slidecontainer {
      margin-top: 5%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  }

  @media only screen and (max-width: 1190px) {

    .slidecontainer {
      margin-top: 5%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  }

@media only screen and (max-width: 1100px) {

    .slidecontainer {
      margin-top: 5%;
    }
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
  } 

  

  @media only screen and (max-width: 1000px) {
    .range-slider {
      height: 10px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 22px;
      height: 22px;
      border-radius: 140px;
    }

    #history_1 table {
      border-spacing: 3px 8px;
    }

    #history_2 table {
      border-spacing: 3px 8px;
    }

    #pay_table table {
      border-spacing: 0px 8px;
    }
  }

  @media only screen and (max-width: 800px) {

    .slidecontainer {
      margin-top: 0.5%;
    }
    .range-slider {
      height: 9px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 20px;
      height: 20px;
      border-radius: 120px;
    }

    #history_1 table {
      border-spacing: 2.5px 7px;
    }

    #history_2 table {
      border-spacing: 2.5px 7px;
    }

    #pay_table table {
      border-spacing: 0px 7px;
    }
  }

  /* Extra small devices (phones, 600px and down) */
  @media only screen and (max-width: 600px) {
    .range-slider {
      height: 7px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 15px;
      height: 15px;
      border-radius: 100px;
    }

    #history_1 table {
      border-spacing: 2px 5px;
    }

    #history_2 table {
      border-spacing: 2px 5px;
    }

    #pay_table table {
      border-spacing: 0px 5px;
    }
  }

  @media only screen and (max-width: 396px) {
    .range-slider {
      height: 5px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 10px;
      height: 10px;
      border-radius: 30px;
    }

    #history_1 table {
      border-spacing: 1.5px 4px;
    }

    #history_2 table {
      border-spacing: 1.5px 4px;
    }

    #pay_table table {
      border-spacing: 0px 4px;
    }
  }

  @media only screen and (max-width: 300px) {
    .range-slider {
      height: 4px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 8px;
      height: 8px;
      border-radius: 20px;
    }

    #history_1 table {
      border-spacing: 1px 3px;
    }

    #history_2 table {
      border-spacing: 1px 3px;
    }

    #pay_table table {
      border-spacing: 0px 3px;
    }
  }

  @media only screen and (max-width: 160px) {
    .range-slider {
      height: 3px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 5px;
      height: 5px;
      border-radius: 10px;
    }

    #history_1 table {
      border-spacing: 0.5px 2px;
    }

    #history_2 table {
      border-spacing: 0.5px 2px;
    }

    #pay_table table {
      border-spacing: 0px 2px;
    }
    .slidecontainer {

      margin-top: -25.5%;
  
    }
  
  }
}


/* For portrait, we want the tool bar on top */

@media screen and (orientation: portrait) {
  #game_Rules_Page {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  #overlay {
    display: none;
    word-break: break-word;
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
  }

  #overlayChild {
    overflow-y: scroll;
    overflow-x: unset;
    width: 68%;
    height: 76%;
    background-color: #0005;
    color: #ffcc00;
    font-size: 1.6vw;
    margin-top: 13%;
    margin-left: 17%;
    max-height: 63%;
    padding-right: 1.5%;
  }

  ::-webkit-scrollbar {
    width: 17px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background-image: url("./assets/InfoWindow/Scroll/ScrollBG.png");
    background-repeat: no-repeat;
    background-position: 40%;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    width: 1;
    min-height: 10px;
    max-height: 20px;
    background-image: url("./assets/InfoWindow/Scroll/Scroll.png");
    background-repeat: no-repeat;
    background-position: initial;
    background-size: contain;
    border-radius: 5px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-image: url("./assets/InfoWindow/Scroll/Scroll.png");
  }

  .btn {
    width: 4%;
    height: 7%;
    position: absolute;
    margin-top: -47%;
    margin-left: 85%;
    cursor: pointer;
  }

  /* Style the tab */
  #tabGrey {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.356);
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
  }

  .tab {
    background-color: rgb(3, 3, 3);
    width: 94%;
    height: 90%;
    margin-left: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    z-index: 3;
    color: #ffcc00;
    position: absolute;
    overflow: hidden;
  }

  /* Style the buttons inside the tab */
  .tab img {
    margin-top: 1%;
    margin-left: 2%;
    position: relative;
    z-index: 3;
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    object-fit: cover;
    max-width: 28%;
    max-height: 9%;
  }

  .CloseBtn {
    width: 8%;
    height: 4.5%;
    position: absolute;
    margin-top: 1%;
    margin-left: 97%;
    cursor: pointer;
  }

  /* Change background color of buttons on hover */
  #Paytable:hover {
    src: "./assets/InfoWindow/Paytable/paytable_selected.png";
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }

  /* Style the tab content */
  .tabcontent {
    position: absolute;
    z-index: 3;
    display: none;
    border-top: none;
  }

  #Game_Rules {
    overflow-y: scroll;
    overflow-x: unset;
    width: 77%;
    height: 62%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0005;
    color: #bdc9c6;
    max-width: calc(100% - 4%);
    word-break: break-word;
    font-size: 3vw;
    margin-top: 41%;
    margin-left: 10%;
    max-height: 70%;
    padding-right: 7%;
  }

  #pay_table {
    width: 100%;
    height: 76%;
    font-size: 3vw;
    margin-top: 26%;
    margin-left: 1.5%;
    max-width: 97%;
    max-height: 76%;
    padding-right: 20%;
  }

  #history_ {
    width: 75%;
    height: 76%;
    color: #ffcc00;
  }

  #pay_table table {
    position: absolute;
    border-collapse: separate;
    border-spacing: 0px 10px;
    width: 75%;
    height: 60%;
    padding-left: 8%;
  }

  #pay_table th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    color: #a0d8cb;
    text-align: left;
  }

  #pay_table td {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #00627b;
    color: #cafdff;
    padding: 0%;
  }

  #pay_table h4 {
    margin-top: 89%;
    margin-left: 9%;
    padding-right: 6%;
    color: white;
  }

  #preload {
    visibility: hidden;
  }

  .selected {
    border: solid 7px;
    margin: 10px;
    border-image: url("./assets/InfoWindow/CloseBtn/Close_Hover.png") 11% round;
  }

  .txtCenter {
    text-align: center;
    line-height: 1.2;
    margin: 10px;
    margin-top: 0px;
  }

  h4 {
    color: yellow;
  }

  li {
    padding-bottom: 1%;
    line-height: 1.6;
  }

  #history_1 {
    overflow-y: scroll;
    overflow-x: unset;
    scroll-behavior: smooth;
    width: 75%;
    height: 76%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0005;
    color: #bdc9c6;
    max-width: calc(100% - 4%);
    word-break: break-word;
    font-size: 3vw;
    margin-top: 22%;
    margin-left: 19%;
    max-height: 70%;
    padding-right: 0%;
  }

  #history_1 table {
    border-collapse: separate;
    border-spacing: 4px 10px;
    width: 83%;
  }

  #history_1 th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    text-align: center;
    color: #a0d8cb;
  }

  #history_1 td {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #b1b11b;
    color: black;
    padding: 1%;
  }

  button {
    font-size: 2vw;
    width: 85%;
    height: 100%;
    padding: 2%;
  }

  #history_2 {
    width: 100%;
    height: 76%;
    position: absolute;
    max-width: calc(100% - 4%);
    word-break: break-word;
    z-index: 3;
    font-size: 2.5vw;
    margin-top: 25%;
    margin-left: 5.5%;
    max-width: 87%;
    max-height: 93%;
    padding-right: 22%;
  }

  #history_2 table {
    position: absolute;
    border-collapse: separate;
    padding-top: 10px;
    width: 83%;
    height: 12%;
  }

  #history_2 th {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    text-align: center;
    color: #a0d8cb;
  }

  #history_2 td {
    font-family: Arial, Helvetica, sans-serif;
    z-index: 4;
    text-align: center;
    background-color: #b1b11b;
    color: black;
  }

  #history_2 h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: #a0d8cb;
    margin-top: 43%;
    margin-left: 28%;
  }

  #history_2 h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #a0d8cb;
    margin-top: 0%;
    margin-left: 1%;
  }

  .history_outcome {
    display: none;
  }

  #history_3 {
    width: 75%;
    height: 76%;
    position: absolute;
    z-index: 3;
    font-size: 1.5vw;
    margin-top: 15%;
    margin-left: 17.5%;
    max-width: 70%;
    max-height: 63%;

    padding-right: 7%;
  }

  #Player0card {
    padding-right: 2%;
    margin-left: 18%;
  }
  #Player1card {
    padding-right: 2%;
  }
  #Player2card {
    margin-right: 15%;
  }
  #Banker3card {
    padding-top: 25%;
    padding-right: 2%;
    padding-left: 18%;
  }
  #Banker4card {
    padding-top: 20%;
    padding-right: 2%;
  }
  #Player_name {
    width: 20%;
    height: 6%;
    margin-left: 40%;
    padding-bottom: 2%;
  }
  #Banker_name {
    position: absolute;
    width: 14%;
    height: 3.5%;
    top: 71%;
    margin-left: -15%;
  }

  .Player_cards {
    width: 20%;
    height: 20%;
  }
  .Banker_cards {
    width: 20%;
    height: 20%;
  }

  #table-id table tbody tr {
    display: none;
  }

  .pagination li {
    display: inline-block;
    cursor: pointer;
    color: white;
    float: left;
    padding: 1.5% 3%;
    text-decoration: none;
  }

  .pagination li.active {
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
  }

  .pagination li:hover:not(.active) {
    background-color: #ddd;
    color: black;
    border-radius: 1%;
  }

  #maxRows {
    font-size: 3vw;
    width: 30%;
    height: 100%;
  }

  ul {
    padding-inline-start: 5%;
  }

  .slidecontainer {
    visibility: hidden;
    width: 100%;
    z-index: 3;
    margin-top: -22.5%;
    position: absolute;
  }

  .range-slider {
    -webkit-appearance: none;
    position: absolute;
    appearance: none;
    width: 30%;
    height: 13px;
    outline: none;
    margin-left: 50%;
  }

  .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 29px;
    height: 29px;
    background: #e8960a;
    border-radius: 50%;
  }

  .range-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
  }

  .range-slider::-webkit-slider-thumb:active {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.5);
  }

  @media only screen and (max-height: 1400px) {
    .slidecontainer {
      margin-top: -16.5%;
    }
  }
  @media only screen and (max-height: 800px) {
    .slidecontainer {
      margin-top: -22.5%;
    }
  }

  @media only screen and (max-width: 1200px) {
    .range-slider {
      height: 12px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 26px;
      height: 26px;
      border-radius: 160px;
    }

    #history_1 table {
      border-spacing: 3.5px 9px;
    }

    #history_2 table {
      border-spacing: 3.5px 9px;
    }

    #pay_table table {
      border-spacing: 0px 9px;
    }
    #pay_table {
      font-size: 2.5vw;
    }
    #history_1 {
      font-size: 2.2vw;
    }
    #Game_Rules {
      font-size: 2.5vw;
    }
  }

  @media only screen and (max-width: 1000px) {
    .range-slider {
      height: 10px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 22px;
      height: 22px;
      border-radius: 140px;
    }

    #history_1 table {
      border-spacing: 3px 8px;
    }

    #history_2 table {
      border-spacing: 3px 8px;
    }

    #pay_table table {
      border-spacing: 0px 8px;
    }
    #pay_table {
      font-size: 2.5vw;
    }
    #history_1 {
      font-size: 2.2vw;
    }
    #Game_Rules {
      font-size: 2.5vw;
    }
  }

  @media only screen and (max-width: 720px) {
    .range-slider {
      height: 9px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 20px;
      height: 20px;
      border-radius: 120px;
    }

    #history_1 table {
      border-spacing: 2.5px 7px;
    }

    #history_2 table {
      border-spacing: 2.5px 7px;
    }

    #pay_table table {
      border-spacing: 0px 7px;
    }
    #pay_table {
      font-size: 2.5vw;
    }
    #history_1 {
      font-size: 2.2vw;
    }
    #Game_Rules {
      font-size: 2.5vw;
    }
  }

  /* Extra small devices (phones, 600px and down) */
  @media only screen and (max-width: 600px) {
    .range-slider {
      height: 7px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 15px;
      height: 15px;
      border-radius: 100px;
    }

    #history_1 table {
      border-spacing: 2px 5px;
    }

    #history_2 table {
      border-spacing: 2px 5px;
    }

    #pay_table table {
      border-spacing: 0px 5px;
    }
    #pay_table {
      font-size: 3vw;
    }
    #history_1 {
      font-size: 3vw;
    }
    #Game_Rules {
      font-size: 3vw;
    }
  }

  @media only screen and (max-width: 396px) {
    .range-slider {
      height: 5px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 10px;
      height: 10px;
      border-radius: 30px;
    }

    #history_1 table {
      border-spacing: 1.5px 4px;
    }

    #history_2 table {
      border-spacing: 1.5px 4px;
    }

    #pay_table table {
      border-spacing: 0px 4px;
    }
    #pay_table {
      font-size: 3vw;
    }
    #history_1 {
      font-size: 3vw;
    }
    #Game_Rules {
      font-size: 3vw;
    }
  }

  @media only screen and (max-width: 300px) {
    .range-slider {
      height: 4px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 8px;
      height: 8px;
      border-radius: 20px;
    }

    #history_1 table {
      border-spacing: 1px 3px;
    }

    #history_2 table {
      border-spacing: 1px 3px;
    }

    #pay_table table {
      border-spacing: 0px 3px;
    }
    #pay_table {
      font-size: 3vw;
    }
    #history_1 {
      font-size: 3vw;
    }
    #Game_Rules {
      font-size: 3vw;
    }
  }

  @media only screen and (max-width: 160px) {
    .range-slider {
      height: 3px;
    }

    .range-slider::-webkit-slider-thumb {
      width: 5px;
      height: 5px;
      border-radius: 10px;
    }

    #history_1 table {
      border-spacing: 0.5px 2px;
    }

    #history_2 table {
      border-spacing: 0.5px 2px;
    }

    #pay_table table {
      border-spacing: 0px 2px;
    }
    #pay_table {
      font-size: 3vw;
    }
    #history_1 {
      font-size: 3vw;
    }
    #Game_Rules {
      font-size: 3vw;
    }
  }
}
