body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Header */

header {
  background-color: #0056b3;
  width: auto;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 50px;
}

.title {
  text-decoration: none;
  color: white
}

.logo {
  width: 80px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  max-width: 15%;
}

h1 {
  margin: 0;
  text-align: center;
  flex-grow: 1;
  padding: 0 100px;
  box-sizing: border-box;
  font-size: 2em;
}

@media (max-width: 768px) {
  .logo {
    /* width: 60px; */
    left: 10px;
  }

  h1 {
    font-size: 1.5em;
    padding: 0 80px;
  }
}

@media (max-width: 480px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
  }

  .logo {
    position: static;
    transform: none;
    width: 300px;
    margin-right: 10px;
  }

  h1 {
    font-size: 1.2em;
    text-align: left;
    flex-grow: 1;
    padding: 0;
  }
}

/* Footer */

footer {
  background-color: #0056b3;
  width: 100%;
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

@media (max-width: 650px) {
  footer {
    flex-direction: column;  
  }
}

footer > p > a {
  color: white;
}
