body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 20px;
    background-color: green;
}
.pub1{
    width: 98%;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid;
}

#matches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between match divs */
    
}

.match {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: calc(100% - 20px); /* nr columns */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    
}

h2 {
    font-size: 18px;
    margin: 10px 25px;
}

p {
    margin: 5px 10px;
}

img {
    width: 50px; /* Adjust as needed */
    height: auto;
    margin: 15px;
}

.match-info {
    display: flex;
    width: 100%;
    margin: 10px 10px;
    padding: 15px;
    
}

.team-infoh {
    display: flex;
    width: 50%;
    flex-direction: column;
    align-items: left;
    
    font-size: 16px;
    padding: 10px;
}
.team-infoa {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: right;
    align-items: right;
    padding: 10px;

    font-size: 16px;
}


.links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 20px;
    font-weight: bold;
}

.match-link {
    color: blue;
    text-decoration: none;
}

.predictions-link {
    color: green;
    text-decoration: none;
}
header {
    margin-top: 20px;
    background-color: #136108; /* Dark green background */
    padding: 20px; /* Add some padding */
    text-align: center; /* Center the text */
}

header h1 {
    color: #f9f9f9; /* Light text color for contrast */
    font-size: 2rem; /* Adjust font size */
    margin: 0; /* Remove default margin */
}
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: #f9f9f9; /* Light text color for contrast */
    margin-bottom: 10px;
}
.welcome-text {
    max-width: 50%; /* Adjust as necessary */
}
.welcome-section p {
    color: rgb(215, 243, 161);
}
video {
    max-width: 25%; /* Adjust as necessary */
    margin-left: 20px;
}
.features-section{
    margin-top: 10px;
    margin-bottom: 105px;
}

#match-container
nav ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 10px 75px 0; /* Adjust margins */
}

nav ul li {
    display: inline; /* Display list items inline */
    margin-right: 15px; /* Add space between links */
}

nav ul li a {
    text-decoration: none; /* Remove underline from links */
    color: rgb(217, 239, 157); /* Link color */
    font-weight: bold; /* Bold links */
}

nav ul li a:hover {
    color: #fff; /* Change link color on hover */
    text-decoration: underline; /* Underline on hover */
}
#scrollingBanner {
    margin-bottom: 5px;
    background-color: yellowgreen; /* Background color */
    color: green; /* Text color */
    padding: 10px 10px; /* More padding for better appearance */
    overflow: hidden; /* Hide overflow */
    position: fixed; /* Fixed position at the top */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    font-size: 16px; /* Font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    z-index: 1000; /* High z-index to stay above other elements */
}

#bannerText {
    display: inline-block;
    padding-left: 100%; /* Start position off screen */
    white-space: nowrap; /* Prevent text wrapping */
    animation: scrollText 35s linear infinite; /* Animation */
}
.highlight {
    font-weight: bold;
    color: blue;
}
footer {
    background-color: #f1f1f1;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 14px;
}

footer .footer-content {
    margin: 0 auto;
    max-width: 1200px;
}

footer a {
    color: #007BFF; /* Link color */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.logo {
    font-family: 'Arial', sans-serif;
    background-color: yellowgreen;
    font-size: 48px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    padding: 10px;
    border: 3px solid #333;
    border-radius: 5px;
    text-align: center;
    width: 120px;
}

.logo .highlight {
    color: #0066cc;
}

/* Optional: Add a hover effect */
.logo:hover {
    border-color: #0066cc;
    color: #0066cc;
}
.features-section{
    color: #ccc;
}


@keyframes scrollText {
    0% {
        transform: translateX(0); /* Start position */
    }
    100% {
        transform: translateX(-100%); /* End position */
    }
}
@media (max-width: 900px) {
    
    .match {
        background: white;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 15px;
        width: calc(100% - 20px); /* nr columns */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }
    #findMatchesLink{
        position:relative;
        align-items: right;
    }
    #scrollingBanner {
        background-color: yellowgreen; /* Background color */
        color: green; /* Text color */
        padding: 10px 10px; /* More padding for better appearance */
        overflow: hidden; /* Hide overflow */
        position: fixed; /* Fixed position at the top */
        top: 0; /* Align to the top */
        left: 0; /* Align to the left */
        right: 0; /* Align to the right */
        font-size: 16px; /* Font size */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
        z-index: 1000; /* High z-index to stay above other elements */
    }
    
    #bannerText {
        display: inline-block;
        padding-left: 100%; /* Start position off screen */
        white-space: nowrap; /* Prevent text wrapping */
        animation: scrollText 35s linear infinite; /* Animation */
    }
    .highlight {
        font-weight: bold;
        color: blue;
    }
    
    @keyframes scrollText {
        0% {
            transform: translateX(0); /* Start position */
        }
        100% {
            transform: translateX(-100%); /* End position */
        }
    }
    footer {
        background-color: #f1f1f1;
        padding: 10px 0;
        text-align: center;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        font-size: 14px;
    }
    
    footer .footer-content {
        margin: 0 auto;
        max-width: 1200px;
    }
    
    footer a {
        color: #007BFF; /* Link color */
        text-decoration: none;
    }
    
    footer a:hover {
        text-decoration: underline;
    }
    
    
    
}