/***************************************
 * Base Styling
 ***************************************/
 body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background-color: #132435;
  font-family: 'Roboto', sans-serif;
}

/***************************************
 * Top Menu Bar (Navigation)
 ***************************************/
 .top-menu {
  background-color: #0d1620; /* Same as footer */
  padding: 20px 0;  /* Increased from 10px 0 for a taller menu */
}
.top-menu-container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-menu-logo img {
  max-width: 220px;  /* Slightly smaller logo as requested */
  height: auto;
}
.top-menu-links a {
  color: #748eff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1em;
}
.top-menu-links a:hover {
  color: #b3b3b3;
}


/***************************************
 * Container
 ***************************************/
.container {
  width: 80%;
  margin: 0 auto; /* Center container horizontally */
  padding: 20px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  text-transform: lowercase; /* All visible text will be lowercase */
}

/***************************************
 * Header Logo (within Container)
 ***************************************/
img.logo {
  max-width: 250px;  /* This is the main content logo */
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/***************************************
 * Paragraphs and Links
 ***************************************/
p {
  font-size: 1.2em;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}
a:link,
a:visited {
  color: #748eff;
  font-family: 'Roboto', sans-serif;
}
a:hover {
  color: #b3b3b3;
  font-family: 'Roboto', sans-serif;
}

/***************************************
 * Table Styling
 ***************************************/
.table-container {
  width: 100%;
  margin-bottom: 20px; /* Reduced from 30px */
  overflow-x: auto; /* Enable horizontal scroll if needed */
}
table {
  min-width: 600px; /* Prevent table from getting too narrow */
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  margin: 0; /* Let .table-container handle spacing */
}
th,
td {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px;
  text-align: left;
}
th {
  background-color: #34495e;
}
tr:nth-child(even) {
  background-color: #2c3e50;
}
tr:nth-child(odd) {
  background-color: #1a252f;
}

/***************************************
 * Supporters Table Link Colors
 ***************************************/
.supporters-table a:link,
.supporters-table a:visited {
  color: white;
}
.supporters-table a:hover {
  color: grey;
}

/***************************************
 * Footer Styling
 ***************************************/
footer {
  background-color: #0d1620; /* Slightly darker background */
  margin-top: 60px;
  border-top: 1px solid #2c3e50;
  padding: 20px 0;
}
.footer-container {
  width: 80%;
  margin: 0 auto; /* Center footer horizontally */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-transform: lowercase;
}

.footer-border-bg {
  width: 100%;
  height: 20px;  /* the height of your SVG border */
  background: url("/images/border.svg") no-repeat center center;
  background-size: 100% 100%;
}

/* Left Column in Footer */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.footer-links {
  margin-bottom: 10px;
  font-size: 1em;
}
.footer-links a {
  color: #748eff;
  text-decoration: none;
  margin-right: 15px;
}
.footer-links a:hover {
  color: #b3b3b3;
}
.copyright {
  font-size: 0.8em;
  margin: 0;
}

/* Right Column in Footer (with MANRS & ARIN Logos) */
.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-right img {
  max-height: 60px;
  height: auto;
}

/***************************************
 * Mobile Responsive Adjustments
 ***************************************/
@media (max-width: 768px) {
  .container,
  .footer-container,
  .top-menu-container {
    width: 90%;
    padding: 10px;
  }
  
  .logo,
  .footer-logo,
  .top-menu-logo img {
    max-width: 100%;
  }
  
  table {
    font-size: 0.95em;
  }
  
  /* Stack footer columns vertically */
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    margin-top: 20px;
    justify-content: flex-start;
  }
  
  /* For the top menu bar, stack links under logo if needed */
  .top-menu-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .top-menu-links {
    margin-top: 10px;
  }
}

/***************************************
 * Roboto Font-Face Declarations (Hosted Locally)
 ***************************************/
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url("/fonts/roboto-v32-latin-100.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url("/fonts/roboto-v32-latin-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/roboto-v32-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/roboto-v32-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/roboto-v32-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url("/fonts/roboto-v32-latin-900.woff2") format("woff2");
}
