
@import url('https://fonts.googleapis.com/css2?family=Passion+One&display=swap');

.odds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11pt;
    
}

@font-face{
    font-family: 'Mooli';
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    src: url('./TTF/Mooli-Regular.ttf') format('truetype');
}

.odds-table th, .odds-table td {

    font-family: 'Mooli', Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    padding-top: 7.5px;
    padding-bottom: 7.5px;
    padding-left: 7.5px;
    line-height: 1.35;
    text-align: left;
}

.odds-table th:not(:nth-child(1)):not(:nth-child(2)) {
    text-align: right;
}

.odds-table b {
    color: #216421;
}
.dark-mode .odds-table b {
    color: #90ee90; /* Light green */
}
 
.odds-table tr { 
    border-bottom: 1px solid #ddd; 
}

thead th { position: sticky; top: 0; background-color: #a09bcd;}
 

.cell-contents .odds-content { 
    text-align: right;
    min-height: 20px;
}

.lower_border {
    border-bottom: 2px solid #000;  /* Change the color and thickness as needed */
}

.past-game {
    background-color: #fcfbfb; /* pale red */
}

 
.header {
    background-color: black;
}

body.dark-mode .past-game {
    background-color: #aF4040; /* darker red for dark mode */
}

.last-game-of-date {
    border-bottom: 3px solid black !important;
}

.top-align {
    vertical-align: top;
    max-width: 200px;
    word-wrap: break-word;
    font-variant-numeric: lining-nums tabular-nums;
}

.cell-contents {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    font-weight: 300; }
  
  p {
    font-weight: 300; }
  
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
  
  a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    a, a:hover {
      text-decoration: none !important; }
  
  .content {
    padding: 7rem 0; }
  
  h2 {
    font-size: 20px; }
  

#search {
    height: 20px; /* Adjust as needed */
}
 
@media (min-width: 1px) {
    .top-bar {
        flex-direction: row;
    }
    .nav-links .controls { 
        flex-direction: row;

    }
}

.top-bar { 
    height: 125px;
    display: flex !important;
    justify-content: space-between;
    background-image: url('/static/porker.jpeg');
    background-position: center; /* Adjust as needed */
    background-size: cover; /* Adjust as needed */
    background-repeat: no-repeat;
}
 
.dark-mode {
    background-color: #1a1919;
    color: #999;
}

.dark-mode a {
    color: #ddd;
}

.dark-mode .odds-table {
    background-color: #333;
    color: #ddd;
}

.dark-mode .odds-table th {
    background-color: #555;
}

.dark-mode .nav-links {
    background-color: #333;
}

.dark-mode .dropbtn { 
    background-color: grey;
}

body.pork-mode {
    background-color: #FFB6C1;
}
body.pork-mode .header {
    color: #FF1493;
}
body.pork-mode .odds-table tr:nth-child(even) {
    background-color: #FFC0CB;
}
body.pork-mode .past-game {
    background-color: #FF69B4;
}
 

.navbar {
    font-family: 'Passion One';
    background-repeat: no-repeat;
    background-size: cover;
 
    background: linear-gradient(to right, #000000, #FFdede);
    overflow: hidden;
}

.navbar a {
    float: left;
    display: block;
    /*color: #f2f2f2;*/
    color: inherit;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 27px;
    line-height: 27px;  /* Add this line to align the text vertically */
}

.navbar a.main-title {
    color: #ff997a; 
} 

/* Add this style to apply the same styles to the Search button as the dropdown buttons */
.navbar a.search-btn {
    font-size: 27px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover:not(.main-title) {
    background: #ddd;
    color: black;
}

/* Add this style to prevent the color change on hover for the main title */
.navbar a.main-title:hover {
    background-color: inherit;
    color: inherit;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 27px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(222, 16, 95);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hide the search button on screens that are 600px wide or less */
@media screen and (max-width: 600px) {
    .navbar a.search-btn {
        display: none;
    }
}

/* Display the word "Settings" using the ::after pseudo-element */
#settingsButton::after {
    content: "Settings";
}

/* Hide the word "Settings" on screens that are 400px wide or less */
@media screen and (max-width: 400px) {
    #settingsButton::after {
        content: "";
    }
    #settingsButton:before {
        content: "🔧";
    }
    #settingsButton .fa {
        display: none;
    }
}