        /* Full-page background */
        body {
            background: url('http://www.betcrafty.co.uk/football/images/footballnet1.jpg') no-repeat center center fixed;
            background-size: cover;
            color: white;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Fixed menu at the top */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1030;
        }

        /* Welcome message */
        .welcome-message {
            margin: 80px auto;
            text-align: center;
            font-size: 1.5rem;
            font-style: italic;
        }

        /* Tables container */
        .card-container {
            margin-top: 50px;
        }

        /* Footer */
        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            text-align: center;
            padding: 10px 0;
            z-index: 1030;
        }

        /* Table styling */
        table {
            background-color: white;
            color: black;
            text-align: center;
            width: 100%;
        }
        table th, table td {
            padding: 10px;
            border: 1px solid rgba(0, 0, 0, 0.2); /* Light grey semi-transparent borders */
        }
        .link-tile img {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
        }
       .custom-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
}

.custom-tile {
  flex: 0 0 47%;
  max-width: 47%;
}


@media (min-width: 768px) {
  .custom-tile {
    flex: 0 0 31%;
    max-width: 31%;
  }
}

@media (min-width: 992px) {
  .custom-tile {
    flex: 0 0 22%;
    max-width: 22%;
  }
}
@media (max-width: 767.98px) {
  .custom-tile {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.link-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
