nav {
display: flex;
justify-content: center;
align-items: center;
background-color: #0e1c2f;
padding: 10px;
gap: 15px;
flex-wrap: nowrap;
}
nav a {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 10px 20px;
background-color: #0e1c2f;
color: white;
border: 2px solid white;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
white-space: nowrap;
}
nav a:hover {
background-color: #1e2c3f;
}
@media (max-width: 768px) {
nav {
flex-direction: row !important;
}
nav a {
flex: none !important;
}
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 10px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  section, .container, .content {
    padding: 10px;
    margin: 0 auto;
    width: 100% !important;
    box-sizing: border-box;
  }
}