* {
  margin: auto;
  padding: auto;
  line-height: auto;
}

html, body { 
  height: 100%; 
}

body {
  background-color: #fff;
  font-size: 100%;
  font-family: calluna, Arial, Georgia;
  font-weight: 400;
  padding: 0 1.0em;
  color: #000;
}

div {
  padding: 2px 0.25px 0.25px 0.25px;
}

.inner-div {
    margin-left: 5px;
    margin-right: 5px;
    width: auto; /* Adjust this as needed */
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
  font-family: adelle, Arial, Georgia;
  font-weight: 600;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: 170%;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 150%;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 130%;
  margin-top: 3.25em;
  margin-bottom: 0.5em;
}

h4 {
  font-size: 90%;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

h5 {
  font-size: 150%;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h6 {
  font-size: 120%;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.col-6.d-flex.justify-content-center.align-items-center {
  width: 50%;
  max-width: 50%;
  min-width: 50%;
}

a {
  color: #000;
}

a:hover {
  color: #000;
}

a:visited {
  color: #000;
}

/* Site */
.site .header a {
  font-weight: bold;
  text-decoration: none;
}

.col-10 {
  color: #000;
  font-size: 90%;
}

.col-1 {
  color: #000;
  text-align: center;
}

.table td {
  color: #000;
  text-align: left;
}

.table th {
  color: #000;
  text-align: left;
}

.nav-link {
  color: #000;
  text-align: left;
}

.col-11 {
  color: #000;
  border-style: none;
  font-size: 100%;
}

.mb-2 {
  text-align: center;
  color: #000;
  width: 100%;
}

.tab-content {
  color: #000;
  width: 100%;
  height: 2.05em;
}

.img-fluid {
    max-width: 100%;
    height: auto;
  }
  
code {
  font-family: 'PT Mono', Consolas, "Inconsolata", "Courier New", monospace;
}

/* Media Queries */
@media screen and (max-width: 1000px) {
  body {
    font-size: 130%;
    padding: 0 4em;
  }
  .post code {
    font-size: 85%;
  }
  pre code {
    line-height: 1.6em;
  }
  .col-1 {
    padding: 0 0.5em;
    margin-top: 2.5em;
  }
}

@media screen and (max-width: 800px) {
  body {
    font-size: 105%;
    padding: 0 1.5em;
  }
  .post code {
    font-size: 80%;
  }
  pre code {
    font-size: 80%;
  }
  .col-1 {
    padding: 0 0.5em;
    margin-top: 2.5em;
  }
}

@media screen and (max-width: 500px) {
  body {
    font-size: 90%;
    padding: 0 1.0em;
    text-align: center;
  }
  .col-1 {
    padding: 0 2em;
    margin-top: 0.5em;
    text-align: center;
    d-flex: center;
  }
}

@media screen and (max-width: 320px) {
  body {
    padding: 1px;
  }
  .col-1 {
    padding: 0 0.5em;
    margin-top: 1.0em;
  }
}

.col-6.col-lg-4 {
  font-size: 0.7rem;
  font-weight: bold;
  color: #000;
  text-align: center;
  background-color: #e6e6e6;
  padding: 5px;
  border-radius: 5px;
}

.d-none.d-lg-block.col-lg-4 {
  font-size: 0.7rem;
  font-weight: bold;
  color: #000;
  text-align: center;
  background-color: #e6e6e6;
  padding: 5px;
  border-radius: 5px;
}

/* Styles for final matches section (same as razigravanje) */
#final-matches .col-1 {
  font-size: 8px;
  font-weight: bold;
}

#final-matches .row.my-3 {
  padding-bottom: 5px;
}

#final-matches .col-11 {
  font-size: 10px;
}

#final-matches .col-6.text-center {
  font-size: 12px;
  background-color: #e6e6e6;
  font-weight: bold;
}

#final-matches .col-3.text-center img.img-fluid {
  width: 55px;
}

#final-matches .col-6 h6 {
  font-size: 14px;
  font-weight: bold;
}

#final-matches hr {
  margin: 5px 0;
}

#final-matches .nav-link.active {
  background-color: #007bff;
  color: #fff;
}

#final-matches .nav-link {
  color: #007bff;
}

#final-matches .tab-content {
  padding: 20px;
}

#final-matches .col-3.text-center img.img-fluid {
  width: 5px;
}

#final-matches .col-1.text-center {
  font-size: 14px;
  font-weight: bold;
}

#final-matches .row.my-3 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  
  
}

/* CSS for hiding columns on small screens */
@media only screen and (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  
  .hide-on-mobile {
    display: none;
}
  
  .table-responsive {
  overflow-x: auto;
}
  
}
