@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body, html {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #003D5B;
    color: #fff;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Adjusted for responsiveness */
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-right: 20px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
}

#banner {
    position: relative;
    background-image: url('/images/bgddd.jpg');
    background-size: cover;
    background-position: center;
    height: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    flex-direction: column;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(1, 78, 80, 0.98), rgba(55, 115, 61, 0.95));
    z-index: 1;
    opacity: 0.7;
}

.banner-content {
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text, .animated-logo, .animated-ssf-logo {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.animated-ssf-logo {
    animation-delay: 0.5s;
    max-width: 100px;
    width: 100%;
    margin-bottom: 0; /* Removed margin */
}

.animated-logo {
    animation-delay: 1.5s;
    max-width: 700px;
    width: 100%;
}

.activity {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 0; /* Removed margin */
}

.blink {
    color: red;
    margin-right: 0.5rem;
    animation: blink 2s steps(5, start) infinite;
    -webkit-animation: blink 2s steps(5, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink {
    to {
        visibility: hidden;
    }
}

.noblink {
    margin-right: 0.5rem;
}

#live-stream, #team-score, #about, #brochure, #getresult {
    padding: 50px 10px; /* Adjusted for responsiveness */
    text-align: center;
}

#live-stream {
    background-color: #D7263D;
    color: #fff;
}

#team-score {
    background-color: #fff;
    color: #333;
}

#about {
    background-color: #f4f4f4;
}

#brochure {
    background-color: #0D7C66;
    color: #fff;
}

#getresult {
    background-color: #EB5B00;
    color: #fff;
}

.btn {
    background-color: #fff;
    color: #D7263D;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #333;
    color: #fff;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 10px; /* Adjusted for responsiveness */
    text-align: center;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

/* Remove margins between text elements */
h2, p {
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }

    #banner {
        height: 800px;
    }

    .btn {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .navbar ul li {
        margin-right: 10px;
    }

    #banner {
        height: 800px;
    }

    .btn {
        padding: 6px 12px;
    }

    #live-stream, #team-score, #about, #brochure {
        padding: 70px 5px;
    }
}

/* Style for the team points table */
team-points-content {
            padding: 20px;
            background-color: #f4f4f4;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin: 20px 0;
        }
        .team-points-content h2 {
            text-align: center;
            margin-bottom: 20px;
            font-size: 2em;
            color: #333;
        }
        
.team-points-table {
    width: 50%;
    margin: 20px auto; /* Center the table */
    border-collapse: collapse;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.team-points-table tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.team-points-table tbody tr td:first-child {
    width: 50px;
    background-color: #FFB200;
    color: #fff;
    text-align: center;
    border-radius: 0%;
    font-size: 1.5rem;
    font-weight: normal;
    margin-right: 15px;
}

.team-points-table tbody tr td:nth-child(2) {
    flex-grow: 1;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.team-points-table tbody tr td:last-child {
    text-align: right;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
}

/* Media Query for responsiveness */
@media (max-width: 768px) {
    .team-points-table {
        width: 90%;
    }

    .team-points-table tbody tr {
        flex-direction: row;
        text-align:center;
        align-items: flex-start;
    }

    .team-points-table tbody tr td {
        width: 100%;
        text-align: left;
        padding-left:10px;
        padding-right:10px;
        margin-bottom: 10px;
    }

    .team-points-table tbody tr td:last-child {
        text-align: right;
        padding-left:10px;
        padding-right:20px;
        margin-bottom: 0;
    }
}

