.content-container {
    padding: 20px;
    background-color: #474747;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

a:link.camp {
    color: rgb(65, 211, 255);
    background-color: transparent;
    text-decoration: none;
}

a:visited.camp {
    color: rgb(65, 211, 255);
    background-color: transparent;
    text-decoration: none;
}

a:hover.camp {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:active.camp {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    justify-items: center; 
    justify-content: center;  
    align-items: center;      
}

.server-item {
    width: 48px;
    height: 60px;
    background-color: white;
    border: 3px solid black;
    color: black;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;      
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.server-item.bracket {
    width: 64px;
    height: 80px;
}

.server-item:hover {
    transform: scale(1.25);  /* Slightly scale the tile on hover */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bracket-item:hover {
    transform: scale(1.25);  /* Slightly scale the tile on hover */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.server-item h3 {
    margin: 0;
    font-size: 14px;  
}

#match-list {
    cursor: pointer;
}

.red { color: lightcoral; }
.blue { color: rgb(0, 127, 206); }

.btn-dark:hover {
    opacity: 0.85;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards are equal height */
}
.card-body {
    flex-grow: 1; /* Makes all card bodies expand evenly */
}

.card-img-top {
    width: 100%; /* Make images take full width of the card */
    height: 300px; /* Fixed height for uniformity */
    object-fit: contain; /* Ensures the entire image is visible without cropping */
    background-color: black; /* Adds a black background if images have transparency */
}

.modal-card {
    max-width: 90vw;
    max-height: 90vh;
    background-color: #343a40; /* Dark Bootstrap secondary */
    color: white;
    padding: 20px;
    border-radius: 10px;
}
.modal-card img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}