:root {
    --main-bg-color: #000000;
    --main-text-color: #e0e0e0;
    --accent-color: #FFC85F;
    --complementary:#5f96ff;
    --complementary-lite:#acc8ff;
    --secondary-accent-color: #c18546;
    --input-bg-color: #222;
    --table-border-color:#444;
}

body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.2;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 12px 0 12px;
    overflow-x: hidden;
    font-size:16px; 
}

li {padding-bottom:15px}
ul{margin-left:-30px}
.underline{text-decoration:underline;}

.filters {
    padding-top:20px;
}

.topcell{
    border-right:1px solid #808080;
    
    padding:10px;}

.split-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sold-label {
  background-color: red;
  color: white;
  padding: 3px 5px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  
  
  margin-bottom:0px;
}
.sold-column {
    width: 32px; /* Adjust as needed */
}


.split-table td {
    width: 50%;
}

.split-table .gifs img {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block;
}
.statstable{font-size:13px;}

.circle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.circle-icon.colB {
    background-color: var(--accent-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.circle-icon.colB:hover {
    background-color: var(--secondary-accent-color);
}

.circle-icon.colB a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: black;
}

.colB-eye {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.colB-eye svg {
    width: 20px;
    height: 20px;
    display: block;
}

.colB-eye:hover svg {
    stroke-width: 2.5;
    stroke: white;
}

.colA:hover{
    background-color: var(--complementary-lite);
    color:black;
    }
.colA {
    background-color: var(--complementary);
    color:white;
    }

.bkg-image {
    background-image:url("../img/ordbarCover2.webp");
    background-size: cover;
    background-position: 0% 55%;
    background-repeat: no-repeat;
    min-height: 10vh; /* This ensures the div takes up at least the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    }

.bkg-image2 {
    background-image:url("../img/twit03.webp");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 41vh; 
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: center; */
    /* padding: 20px; */
    /* box-sizing: border-box; */
    }

.parent-div {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: -20px;
    }

.x-logo {
      width: 50px;
      height: 50px;
      transition: all 0.3s ease;
      filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }

    .x-logo:hover {
      transform: scale(1.2);
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }

   .xlogo-container {
      width: 100px;
      height: 100px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top:20px; 
    }

.responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.image-container {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    max-width: 800px; /* Optional: limits maximum width */
    margin: 0 auto;   /* Centers the container itself */
    
}

.footer {
    font-size:12px;
    color:#888;
    text-align:center;
    /* border-top: 1px solid #888; */
    margin-top:0px;
    margin-bottom:30px;
    padding-top:10px;
}
 .button-container {
        text-align: center;
    }
        
 .collect-button {
    background: black;
    color: var(--accent-color); 
    
    padding: 15px 40px;
    font-size: 32px;
    font-weight: bold;
    /*text-transform: uppercase;*/
    border-radius: 20px; /* Large and rounded */
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 0px 50px var(--accent-color), 0 0px 20px white;
    margin-top:20px;
    border:2px solid #fff;
    letter-spacing: .2rem;
}

.collect-button:hover {
    background: linear-gradient(145deg, #FFA500, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 4px 0px #444;
    color:#000;
}

.collect-button:active {
    
    box-shadow: 0 3px 4px black; 
    border:1px solid white;
    transition: all 0.02s ease;
    color:white;
    transform:scale(0.95,0.95);
    box-shadow: 0 0 200px white
}
    
select, input, button { 
    padding: 8px;
    border: 1px solid var(--table-border-color);
    border-radius: 6px;
    background-color: var(--input-bg-color);
    color: var(--main-text-color);
    margin-bottom:15px;
    
    font-family: 'Courier New', Courier, monospace;
}

th, td { 
    text-align: left;
    padding-right: 8px;
    padding:3px; 
    border-bottom:1px solid #222;
}

/*///////////////////////*/

.responsive-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.id-column {
    width: 36px; /* Adjust as needed */
}

.info-column {
    /* This column will take up the remaining space */
}

.icon-column {
    width: 26px; /* Adjust as needed */
}

.cell-content {
    max-width: 100%;
    overflow: hidden;
}



/* Existing styles for circle icons */ 
.circle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


    
 .half-width-columns {
  width: 100%;
  table-layout: fixed;
}

.half-width-columns th,
.half-width-columns td {
  width: 50%;
}
.table-container {
    width: 100%;
    /*overflow-x: auto;*/
    /* border-top:1px solid white; */
}


@media screen and (min-width: 1000px) {
    .ascii-art-text {
        font-size: 20px; /* Maximum font size */
    }
}

@media screen and (max-width: 650px) {
    body {padding: 0 10px 0 20px;}
    
    th, td {
    /*border-right: none!important;*/
    border-top:none;
    }
    
    .table-container {
        border: none;
    }
    
    .half-width-columns th,
    .half-width-columns td {
        display:block;
        width: 100%;
        border-top: 1px solid white;
    }
    
    .ascii-art-text {
        font-size: 20px!important; /* Minimum font size */
    }
    

}

.ordbar-blurb {
  text-align: justify;
  /* display: none; */
} 
.ascii-art {
    font-family: 'Courier New', Courier, monospace;
    padding-top:20px;
    white-space:pre;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 2px var(--secondary-accent-color), 0 0 5px var(--accent-color); 
    text-transform: uppercase;
}

.ascii-art-text {
    font-family: 'Courier New', Courier, monospace;
    font-size:28px;
    color: #fff; 
    font-weight: normal; 
    /*margin-top:20px;*/
    text-shadow: 0 0 2px var(--secondary-accent-color), 0 0 5px var(--accent-color); 
    text-align : center;
    /*margin-bottom:30px;*/
}

.centred-div {
    margin-left: auto;
    margin-right: auto;
    width: fit-content; 
}
    
a {
    color: var(--accent-color);
    text-decoration:none;
}

a:active {color:#fff}
a:hover {text-shadow: 0 0 2px var(--secondary-accent-color), 0 0 5px var(--accent-color);}

.hidden {
    display: none;
}
    
.drinkcount {
    border-bottom: 1px solid white; 
    /*padding-top: 10px; */
    margin-bottom: 10px;
    text-align:right;
    padding-bottom:4px;
}


.info-button {
  cursor: pointer;
}

/* >>>>>>>> MODAL START HERE */

.inline-h2 {
  font-size: 1.3em;
  font-weight: bold;
}

#modalOrigin p, #modalGlassware p {
  display: inline;
}
#modalDrink::before {
  content: ". ";
}


#modalGlassware::before {
  content: "glass, ";
}
.inline-content {
  display: inline;
    font-size: 16px; /* Base font size */
  line-height: 1.5; /* This will be inherited by both <h2> and <p> */
}
.inline-content > * {
  display: inline;
  margin: 0;
  padding: 0;
}
.inline-content p {
  font-size: 1em; /* 16px */
}


.inline-content h2,
.inline-content .inline-h2 {
  font-size: 1.3em; /* 20.8px */
  line-height:1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal td{border:none;}

.modal-content {
  background-color: #fefefe;
  color:black;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius:15px;
  width: 80%;
  max-width: 500px;
}

.close {
  color: #f00;
  float: right;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transform:translate(5px, -30%);
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  /* width: 100%; */
  margin-bottom: 20px;
}

.modal-info {
  font-size: clamp(14px, 2vw, 22px);
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.modal-thumbnail {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-container {
  width: 256px;
  max-width: 100%;
  height: auto;
  position: relative;
}

.modal-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.thumbnail-container img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumbnail-container:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay svg {
  width: 40%;
  height: 40%;
  color: white;
}
#modalInfo {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
