/* General Styles */
body {
    font-family: Averia; Serif Libre;
    margin: 0;
}

/* Header Styles (same as before) */
header {
    background-color: #005F40;
    padding: 20px;
    display: flex;
    align-items: center;
    height: 60px;
}

#logo {
    height: 100px; /* Adjust logo height */
    margin-right: 10px;
}

nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-right: 10px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #003718;
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
}

nav a:hover {
    color: #99ff99;
    background-color: #00220b;
}

/* Stadium Images */
.stadium-images {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.stadium-image {
    width: 200px;
    height: 300px;
    object-fit: cover;
    margin: 0px;
}

/* About Page Styles */
main {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

main h1 {
    margin-bottom: 20px;
    color: #005F40;
}

main p {
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 10px 0;
}

/* Footer Text Box */
.footer-text-box {
    background-color: #005F40;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
}

.footer-text-content {
    max-width: 70%;
}

.footer-text-content h1 {
    margin: 0;
    font-size: 24px;
}

.footer-text-content p {
    margin: 10px 0 0;
    font-size: 16px;
}

.footer-logo {
    height: 100px;
}

/* -----------------------------------------
   Responsive Styling for Popups on Mobile
----------------------------------------- */
@media (max-width: 768px) {
  .custom-popup {
    position: fixed !important;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 10000;
    font-size: 13px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  }

  .popup-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
  }

  .popup-logo-container img {
    width: 50px;
    height: 50px;
  }

  .popup-header-info {
    white-space: normal;
    text-align: left;
  }

  .popup-header-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    white-space: nowrap;
  }
}
