li.about a {
    background-color: var(--selected);
    border-radius: 10px;
  }

.logo {
    width: 100%;
}

.green {
    background-color: rgb(12, 88, 13);
    width: fit-content;
    margin: 10px auto;
    border-radius: 12px; /* Smooths corners */
}

.header {
    width: fit-content;
    margin: 12px auto;
    border-radius: 12px; /* Smooths corners */
    padding: 2px 8px;
}

.intro {
    display: grid;
    grid-template-columns: 70% 30%; /* Creates 2 equal-width columns */
    align-items: center;      /* Vertically centers image and text */
    gap: 10px;               /* Space between the image and paragraph */
    width: 100%;
    max-width: 900px;        /* Optional container width limit */
    text-align: center;
    margin: 20px auto;
    margin: 0 auto;
    text-align: center;
}

.volleyballTypes {
    display: grid;
    grid-template-columns: 70% 30%; /* Creates 2 columns */
    align-items: center;      /* Vertically centers image and text */
    gap: 10px;               /* Space between the image and paragraph */
    width: 100%;
    max-width: 900px;        /* Optional container width limit */
    text-align: center;
    margin: 20px auto;
    margin: 0 auto;
    text-align: center;
    border: 2px solid #333333; /* 2px thick, solid line, dark gray */
    border-radius: 12px; /* Smooths corners */
}

.club {
    width: 40%;
    max-width: 130px;
}

.doubleBox {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates 2 equal-width columns */
    align-items: start;
}

.local {
    
}

.clubs {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Creates 2 equal-width columns */
    max-width: 800px; /* Adjust this value to tighten column spacing */
    margin: 0 auto;   /* Keeps the tight grid centered on full screen */
}

.double {
    grid-column: span 2;
}

.summary {
    width: 60%;
    margin: 20px auto;
}

.gridBox {
    display: flex;
    gap: 10px; /* Adds space between columns without margin hacks */
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 60%;
    margin: 0 auto;
}

.white {
    background-color: rgb(244, 247, 244);
    margin: 10px auto;
    border-radius: 50px; /* Smooths corners */
    color: rgb(0, 7, 0);
    padding: 5px;
}

.btn {
    background-color: #22c55e; /* Primary theme color */
    color: #ffffff;            /* Text color */
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

/* Hover state */
.btn:hover {
    background-color: rgb(12, 88, 13);
}

.popUp {
    border: none;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    background-color: rgb(17, 119, 18);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



/* TABLE STYLE */
.ranking-table-container {
    width: 100%;
    max-width: 50%;
    margin: 20px auto;
    overflow-x: auto;
    border-radius: 12px; /* Smooths corners */
    font-family: Arial, sans-serif;
  }
  .ranking-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
  }
  .ranking-table th {
    background-color: rgb(12, 88, 13);
    color: #ffffff;
    padding: 12px;
    font-weight: bold;
  }
  .national-team-row {
    opacity: 0.5;
  }
  .ranking-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #d1d5db;
  }
  .ranking-table tr:nth-child(even) {
    background-color: #010f07;
  }
  .ranking-table tr:nth-child(odd) {
    background-color: rgb(12, 88, 13);
  }
  .frog-army-row {
    background-color: #22c55e !important;
    font-weight: bold;
    color: #ffffff !important;
  }
  .frog-army-row td {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #ffffff !important;
  }




/* if screen is smaller that 460px */
@media only screen and (max-width: 1200px) {
    /* shrink ball */
    .doubleBox {
        grid-template-columns: 1fr; /* Creates 2 equal-width columns */
    }
    .summary {
        width: 60%;
        margin: 20px auto;
    }
        .ranking-table-container {
        width: 100%;
        max-width: 70%;
    }
    .gridBox {
    max-width: 80%;
    }
}

/* if screen is smaller that 460px */
@media only screen and (max-width: 600px) {
    /* shrink ball */
    .doubleBox {
        grid-template-columns: 1fr; /* Creates 2 equal-width columns */
    }
    .summary {
        width: 90%;
        margin: 20px auto;
    }
        .ranking-table-container {
        width: 100%;
        max-width: 90%;
    }
    .ranking-table th, 
    .ranking-table td {
      padding: 6px 4px; /* Tightens spacing so content fits without scrolling */
      font-size: 13px;  /* Slightly scales down text for small screens */
    }
    .gridBox {
    max-width: 95%;
    }
    .popUp {
    width: 70%;
}
}