body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    width: 100%;
    background: #004080;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.nav-container {
    width: 100%;
}

.navbar {
    background-color: #003366;
    padding: 1rem 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }

.logo-img {
    display: flex;
    width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

/* Burger button - hidden by default */
.burger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* Hide checkbox */
  #menu-toggle {
    display: none;
  }

nav ul li a:hover {
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
}

.hero {
    margin: 0;
    background-image: url(../images/football1.jpg);
    background-position: center;
    border-radius: 0;
}

.hero-container {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    background: #0040807e;
    color: white;
    padding: 40px 0;
}

.hero-title {
    display: block;
    padding: 0 80px;
    color: #fff; 
}

.hero-title h1 {
    font-size: 36px;
}

.hero-title h2 {
    color: #fff;
}

.main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: -20px;
    padding: 20px 0px;
}

.about { grid-area: 1 / 1 / 4 / 7; }
/* .other { grid-area: 1 / 4 / 4 / 7; } */
.events { grid-area: 4 / 1 / 7 / 4; }
.fixtures{ grid-area: 4 / 4 / 7 / 7; }

.committee-container {
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: .5px;
    grid-row-gap: .5px;
    padding: 10px 50px;
}

.ref-container {
    width: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: .5px;
    grid-row-gap: .5px;
    padding: 10px 50px;
}
    
.c-g-1 {
    grid-area: 1 / 1 / 2 / 2; 
    display: flex;
    justify-content: center;
}
.c-g-2 {
    grid-area: 1 / 2 / 2 / 3; 
    display: flex;
    justify-content: center;
}
.c-g-3 {
    grid-area: 1 / 3 / 2 / 4; 
    display: flex;
    justify-content: center;
}
.c-g-4 {
    grid-area: 2 / 1 / 3 / 2; 
    display: flex;
    justify-content: center;
}
.c-g-5 {
    grid-area: 2 / 2 / 3 / 3; 
    display: flex;
    justify-content: center;
}
.c-g-6 {
    grid-area: 2 / 3 / 3 / 4; 
    display: flex;
    justify-content: center;
}

.c-img {
    border-radius: 90px;
    padding: 20px;
    width: 150px;
}

.c-info-text {
    width: 85%;
    padding: 10px;
}

section {
    margin: 10px 60px;
    padding: 20px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section {
    margin: 10px;
    padding: 20px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.s-p {
    text-align: justify;
    padding: 0 90px;
    line-height: 26px;
}

.b-s-p {
    margin: 10px 0 0 90px;
}

.card-img { width: 100%; }

h2 {
    padding: 0 90px;
    color: #004080;
}

.history {
    display: flex;
    padding: 0 70px 0 0;
}

.history .s-p {
    display: flex;
    padding: 0 30px;
}

.history-img {
    display: flex;
    width: 300px;
    height: 300px;
    margin: 20px 0 0 90px;
}

.form-links { display: block; }

.form-links ul {
    margin-left: 90px;
    list-style-type: circle;
}

.form-links a {
    display: block;
    margin: 30px 0;
    text-decoration: none;
    color: #333;
}

.form-links a:hover { color: red;}

button {
    background: #004080;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #002850;
}

footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 10px 0 20px;
    margin-top: 20px;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer a:hover, .footer-links ul li a:hover {
    color: rgb(158, 144, 182);
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 80px;
    justify-content: center;
    padding: 20px 0 10px;
}

.footer-links ul li {
    display: inline;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* ******** MEDIA QUERIES ******** */

/* Tablet / Small Devices (≥ 1000px) */
@media only screen and (max-width: 1000px) {
    nav { padding: 10px; }
    .burger {
        display: block;
      }
    
      .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
      }
    
      .nav-links li {
        text-align: center;
        margin: 0.5rem 0;
      }
    
      /* Show nav when menu-toggle is checked */
      .menu-toggle:checked + .burger + .nav-links {
        display: flex;
      }
        .hero h1 { font-size: 24px;}
        .hero p { font-size: 12px; }
        .hero { background-size: 600px 300px; }
        .hero, .hero-title { padding: 0 10px; margin: 10px;}
        .logo-img { display: none;}
        .main {
            padding: 10px 0px;
            grid-template-rows: repeat(4, 1fr);
            grid-column-gap: 5px;
            grid-row-gap: 5px;
        }
        section {
            margin: 10px;
            padding: 10px 0;
        }
        section h2 {
            font-size: 20px; 
            text-align: center;
        }
        p.s-p {
            font-size: 14px;
            padding: 0 15px;
            line-height: 20px;
        }
        .b-s-p { margin: 10px 0 0 10px}
        .about { grid-area: 1 / 1 / 3 / 7; }
        .events { grid-area: 3 / 1 / 4 / 7; }
        .fixtures{ grid-area: 4 / 1 / 5 / 7; }
        .committee-container {
            grid-template-columns: repeat(1, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 5px;
            padding: 10px 10px;
        }
        .c-g-1 {
            grid-area: 1 / 1 / 2 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-g-2 {
            grid-area: 2 / 1 / 3 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-g-3 {
            grid-area: 3 / 1 / 4 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-g-4 {
            grid-area: 4 / 1 / 5 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-g-5 {
            grid-area: 5 / 1 / 6 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-g-6 {
            grid-area: 6 / 1 / 6 / 2; 
            display: flex;
            justify-content: center;
        }
        .c-img {
            border-radius: 90px;
            padding: 20px;
            width: 100px;
        }
        .c-info-text {
            width: 90%;
            padding: 0;
        }
        .c-info-text h5 { font-size: 12px; }
        .ref-container {
            width: auto;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 5px;
            padding: 10px 5px;
        }
        .section { margin: 0; }
        .history { 
            display: block;
            padding: 20px 10px;
        }
        .history-img { margin: 10px auto;}
        .footer-links {
            margin: 0 10px;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        .footer-links ul { gap: 25px; }
        .footer-links ul li a{ font-size: 14px; }
        footer p { font-size: 12px;}
    } 
  
  /* tablets / Large Devices (≥ 1024px) */
  @media only screen and (min-width: 1024px) {
    .committee-container {
        width: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: .5px;
        grid-row-gap: .5px;
        padding: 10px 50px;
    }
    
    .ref-container {
        width: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: .5px;
        grid-row-gap: .5px;
        padding: 10px 50px;
    }

    .hero-title { padding: 0 40px; }
    .logo-img { margin: 0 20px;}
  }
 