caption {
	font-size:14px;

	caption-side: top;
	color: rgb(0, 0, 0);
	text-align: center;
	letter-spacing: 1px;
	background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
  border: 2px solid rgb(0, 0, 0);
  border-bottom-width: 0px;
  padding-top: 3px;
  padding-bottom: 3px;
  }

hs_table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
	border: 3px solid purple;
  }
  
  thead th:nth-child(1) {
	width: 7%;
  }
  
  thead th:nth-child(2) {
	width: 25%;
  }
  
  thead th:nth-child(3) {
	width: 68%;
  }

  
  th,
  td {
	padding: 5px;
  }

thead th,
tfoot th {
  font-family: "Rock Salt", cursive;
}

th {
  letter-spacing: 2px;
}

td {
  letter-spacing: 1px;
}

tbody td {
  text-align: center;
}

tfoot th {
  text-align: right;
}

thead,
tfoot {

  color: rgb(0, 0, 0);
  text-shadow: 1px 1px 1px rgb(255, 255, 255);
}

thead th,
tfoot th,
tfoot td {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
  border: 2px solid rgb(0, 0, 0);
}

tbody tr:nth-child(odd) {
	font-size:14px;
	color: rgb(0, 0, 0);
	background-color: #67676b88;
}

tbody tr:nth-child(even) {
	font-size:14px;
	color: rgb(0, 0, 0);
	background-color: #cfbebe97;
}


hs_table {
background-color: #5a595a;
}

.hshead {
	font-size:18px;

	caption-side: top;
	color: rgb(0, 0, 0);
	text-align: center;
	letter-spacing: 1px;
	background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
  border: 3px solid rgb(0, 0, 0);
}

.hstblebox {
    /* Photo by mnm.all on Unsplash */
  
    padding: 4rem 2rem;
    /* grid styles */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: center;
  }
  
  .hstblebox > * {
    color: white;
  }
  
  .hstblebox > h1 {
    font-size: 4rem;
    padding-bottom: 1rem;
  }
  
  .hstblebox > article > p {
    font-size: 1.5rem;
    font-weight: 200;
  }
  
  .hstblebox > article > a {
    padding: 1rem;
    margin-top: .75rem;
  }
  
  /* breweries styles */
  .hstable {
    padding: 0rem;
  }
  
  .hstable > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-gap: 3rem;
  }

  @media screen and (max-width: 1500px) {
    .hstable > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
    grid-gap: 1rem;
    }
}
  
  @media screen and (max-width: 600px) {
      .hstable > ul {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
      grid-gap: 1rem;
      }
      tbody tr:nth-child(odd) {
        font-size:9px;
        color: rgb(0, 0, 0);
        background-color: #6b676788;
      }
      
      tbody tr:nth-child(even) {
        font-size:9px;
        color: rgb(0, 0, 0);
        background-color: #cfbebe97;
      }
      caption {
        font-size:11px;
      }
  }
  
  .hstable > ul > li {
    border: 1px solid #E2E2E2;
    border-radius: .5rem;
  }
  
  .hstable > ul > li > figure {
    max-height: 220px;
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    position: relative;
  }
  
  .hstable > ul > li > figure > img {
    width: 100%;
  }
  
  .hstable > ul > li > figure > figcaption {
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,.7);
    width: 100%;
  }
  
  .hstable > ul > li > figure > figcaption > h3 {
    color: white;
    padding: .75rem;
    font-size: 1.25rem;
  }
  
  .hstable > ul > li > p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem .75rem;
    color: #666666;
  }
  
  .hstable > ul > li > a {
    padding: .5rem 1rem;
    margin: .5rem;
  }
  
.edit_column{ 
    width:25%;
    display: inline-block;
    vertical-align: top;
}


@media screen and (max-width: 1100px) {
    .edit_column{
         width:100%;
    }
}

/* Container for high score tables */
.hstablebox {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns: Left and Right */
  gap: 0; /* Remove gap between columns */
  padding: 0; /* Remove padding around the container */
}

/* Style for left column (Daily and Recent) */
.highscore-column-left, .highscore-column-right {
  margin: 0; /* No margin */
  padding: 0; /* No padding */
}

/* Header text styling */
.hshead {
  font-size: 1.8rem;
  color: rgb(0, 0, 0); /* White color for better readability */
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  padding: 10px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: none; /* Removed the shadow for better clarity */
  width: 100%; /* Ensure header is full width */
  border-radius: 10px 10px 0 0; /* Round the top corners */
}

/* Remove text-shadow from the table headers (#/Name/Score) */
thead th, tfoot th {
  text-shadow: none; /* Removed the shadow */
  color:#ffffff
}

/* Table styling */
.hs_table {
  width: 100%; /* Full width */
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background-color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 0; /* Remove margin between tables */
}

/* Caption styling */
caption {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
  color: white; /* Changed to white */
  font-size: 1.4rem;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 1px;
  border-bottom: 2px solid #444;
  text-transform: none; /* Removed all caps */
}

/* Hover effect for rows */
/* Table hover effect */
/* Table hover effect */
tbody tr:hover {
  background-color: #ffffff; /* Slightly lighter than the original dark background */
  color: rgb(0, 0, 0); /* Ensure the text is white */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}


/* Caption hover effect */
caption:hover {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1)); /* Darker background on hover */
  color: white; /* Keep the text white */
  transition: background 0.3s ease-in-out; /* Smooth transition for the background */
}


/* Responsive tables for mobile */
@media screen and (max-width: 600px) {
  .hs_table th, .hs_table td {
      font-size: 12px;
      padding: 8px;
  }

  .hstablebox {
      grid-template-columns: 1fr; /* Stack tables vertically on small screens */
  }

  caption {
      font-size: 1.2rem; /* Smaller caption text on mobile */
  }
}
