.container {
    text-align: center;
    align-items: center;
    top: 50%;
    left: 50%;
    position: absolute;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

body {
    background: #2A7B9B;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main {
  flex: 1; /* makes content area grow and push footer down */
}

html, body {
  margin: 0;
  padding: 0;
}

body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

hr {
    border: none;
    height: 5px;
    /* Set the hr color */
    background-color: #333;  /* Modern Browsers */
}

nav {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  box-sizing: border-box;
  padding: 10px;
  margin-right: 20px;
  margin-left: auto;
}

nav a {
  flex: 1 0 auto;
  min-width: 0;
  text-align: center;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.5em;
  transition: color 0.2s ease;
  margin-left: 40px;
  margin-right: 40px;
}

nav a:hover {
  color: lightblue;
}

header, footer {
  display: flex; 
  align-items: center;
  justify-content: space-between;
  background-color: white;
  width: 100%;
}

footer {
  padding: 10px;
  justify-content: unset;
  gap:10px;
  justify-content: flex-start; /* or space-between if you want spacing */
  display: flex;
}

footer a {
  display: inline-flex;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  width: auto;
  padding: 0;
  margin: 0 5px;
}

footer a img {
  width: 24px;  /* fixed size, adjust as needed */
  height: auto;
  display: block; /* removes inline spacing */
}

header div {
  margin-left: 20px;
}

main {
  padding: 10px
}

@media (max-width: 480px) {
  nav {
    background-color: white;
    border: 1px black;
  }
  header {
    display: flex; 
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1.3em;
  }
  header div {
    margin-left: 0px;
  } 
  header nav {
    margin-left: 0px;
    margin-right: 0px;
  }
}