/*!
 * Chris Carolan
 */

 *,
 *:after,
 *:before {
    box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
    background-color: #faf8f9;  /* Light gray instead of purple */
    color: #212529;             /* Dark gray text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.center-text {
   text-align: center;
   font-size: 40px;
   color: #014227;
}

/* Rankings table styles */
#rankings-display {
    max-width: 800px;
    margin: 5px auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top:-175px;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    color: #333;
    font-size: 17px;
}

.rankings-table th {
    background-color: #014227;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.rankings-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.rankings-table tr:nth-child(even) {
    background-color: #f9f9f9;
    background: 0.5;
}

img {
   float: right;
   
   }
/* Mobile responsive design - HAMBURGER MENU */
@media (max-width: 768px) {
    /* Hide navigation by default on mobile */
    .navigation-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        z-index: 9999;
        padding: 20px;
        overflow-y: auto;
    }
    
    /* Hamburger menu button */
    .mobile-menu-btn {
        display: block;
        background-color: #014227;
        color: white;
        border: none;
        padding: 15px 20px;
        font-size: 18px;
        cursor: pointer;
        margin: 10px auto;
        border-radius: 5px;
        width: 200px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Navigation buttons in mobile menu */
    .navigation-menu button {
        display: block;
        width: 100%;
        padding: 15px;
        margin-bottom: 10px;
        font-size: 16px;
        background-color: #014227;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 44px;
    }
    
    /* Rankings table adjustments */
    #rankings-display {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .rankings-table {
        font-size: 12px;
    }
    
    .rankings-table th,
    .rankings-table td {
        padding: 6px 4px;
    }
}

/* Desktop - hide hamburger button */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .navigation-menu {
        display: block;
    }
}