html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  flex: 1;
  width: 100%;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.item {
  flex: 1;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  text-align: center;
  min-width: 220px;
}

.item img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  margin-top: 10px;
}

img.logo {
  object-fit: contain;
  height: 25px;
  margin-right: 10px;
}

img.word {
  object-fit: contain;
  height: 30px;
}
nav {
  background-color: #222;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 20px;
}

nav a {
  color: #f1f1f1;
  text-align: center;
  padding: 10px 5px;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
  font-size: 17px;
}

nav a:hover,
nav a:active {
  background-color: #e2e6ea;
  color: #000;
  border-radius: 4px;
}

nav a.active {
  background-color: #e2e6ea;
  color: #000;
  border-radius: 4px;
  font-weight: bold;
}

footer {
  background-color: #222;
  color: #f1f1f1;
  text-align: center;
  align-items: center;
  padding: 20px 10px 60px;
  font-size: 14px;
  margin: 0;
  box-sizing: border-box;
}

.footer-links {
  margin-top: 10px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

.footer-links a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
  margin: 5px 10px;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #e2e6ea;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  opacity: 0.7;
}
