
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.forChart {
  width: 100%;
  overflow-x: auto;
}

#sattaTable {
  min-width: 900px; /* allows mobile scroll */
}

.single-pill {
  width: 100%;
  max-width: 100%;
  white-space: normal;
}

.pills-for-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 15px;
}

.newnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.newnav ul li {
  float: none;
}

/* ================================
   EXTRA SMALL DEVICES (MOBILE)
   0px - 575px
================================ */
@media (max-width: 575px) {

  h1 { font-size: 20px !important; }
  h2 { font-size: 16px !important; }


  .pills-for-chart {
    grid-template-columns: 1fr;
  }

  .single-pill {
    font-size: 12px;
    padding: 10px;
  }

  .hintext2 {
    font-size: 14px;
    line-height: 1.4;
  }

  .text_slide p {
    font-size: 12px !important;
  }

  #yeasrChart {
    font-size: 14px;
  }

  .somelinks,
  .somelinks2 {
    font-size: 11px;
    padding: 10px;
    text-align: center;
  }
}

/* ================================
   SMALL DEVICES (LARGE MOBILE)
   576px - 767px
================================ */
@media (min-width: 576px) and (max-width: 767px) {

  .pills-for-chart {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-pill {
    font-size: 13px;
  }

  .newnav ul li a {
    font-size: 13px;
  }
}

/* ================================
   TABLET
   768px - 991px
================================ */
@media (min-width: 768px) and (max-width: 991px) {

  .pills-for-chart {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-pill {
    font-size: 14px;
  }

  #sattaTable th,
  #sattaTable td {
    font-size: 13px;
    padding: 6px;
  }
}

/* ================================
   LAPTOP
   992px - 1199px
================================ */
@media (min-width: 992px) and (max-width: 1199px) {

  .pills-for-chart {
    grid-template-columns: repeat(4, 1fr);
  }

  #sattaTable th,
  #sattaTable td {
    font-size: 14px;
  }
}

/* ================================
   DESKTOP LARGE
   1200px+
================================ */
@media (min-width: 1200px) {

  .pills-for-chart {
    grid-template-columns: repeat(5, 1fr);
  }

  #sattaTable th,
  #sattaTable td {
    font-size: 15px;
  }
}
