main {
  margin-top: 100px;  /* matches navbar height */
  padding: 20px;      /* optional content padding */
}

body {
  margin: 0;          /* remove default margin */
  padding: 0;         /* remove default padding */
  font-family: Arial;
}

h1 {
  color: rgb(0, 80, 0);
}

.match-card {
  border: 1px solid rgb(255, 255, 255);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
}


/* Navbar styling */
.navbar {
  display: flex;
  align-items: center;          /* vertically center everything */
  justify-content: space-between;
  width: 100%;
  height: 100px;                 /* fixed navbar height */
  padding: 0 30px;              /* only horizontal padding */
  background: rgb(0, 80, 0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
}


/* Navbar logo */
.nav-logo {
  display: flex;                  /* make logo a flex container */
  align-items: center;            /* center image and text vertically */
  gap: 10px;                      /* space between image and text */
  font-size: 30px;
  color: rgb(230, 230, 230);
  font-weight: bold;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;   /* logo image height */
  width: auto;    /* maintain aspect ratio */
}

.nav-logo span {
  font-size: 30px;      /* adjust text size */
  font-weight: bold;
  color: rgb(230, 230, 230);
}

/* Navbar links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;                   /* allow links to wrap on small screens */
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: rgb(230, 230, 230);
  text-decoration: none;
  font-size: 20px;
}

.nav-links a:hover {
  color: rgb(255, 255, 255);
}

/* Navbar Dropdown */
nav-dropdown {
  position: relative;
}

nav-dropdown-toggle {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background-color: rgb(0, 80, 0);
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  padding: 6px 0;
  margin-top: 8px;
  z-index: 2000;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown-menu li {
  list-style:none;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  text-decoration: none;
}

.nav-dropdown-menu li a:hover {
  background-color: rgb(235, 235, 235);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a img {
  width: 19px;
  height: 10px;
  object-fit: contain;
}

/* Footer styling */
.footer {
  width: 100%;                  /* full width */
  background: rgb(0, 80, 0);    /* match navbar color */
  color: rgb(230, 230, 230);    /* text color */
  text-align: left;            /* center the text */
  padding: 15px 30px;               /* vertical padding */
  box-sizing: border-box;
  margin-top: 50px;              /* space from content */
}

/* Schedule column */
.schedule-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: flex-start;
}

.schedule-head {
  background-color: rgb(0, 80, 0);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.schedule-head h1 {
  color: rgb(255, 255, 255);
}

.schedule-game {
  background-color: rgb(255, 255, 255);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.match-teams {
  color: rgb(0, 80, 0);
  font-weight: bold;
  font-size: large;
  margin-bottom: 5px;
}

.match-date {
  color: rgb(0, 80, 0);
  font-size: medium;
}

.team-crest {
  width: 30px;
  height: 30px;
  object-fit: contain;
}