/* Seraphis logo colour: #f5832a */

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body & typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  flex-direction: row;
  background-color: #2f4858;
  color: #fff;
  padding: 1rem 2rem;
}

#logo {
  float:left;
  display:flex;
  max-width:auto;
  height:60%;
}

header h1 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.8rem;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 6rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Dropdown menus in the navigation bar */
.dropdown {
  position: relative;
  font-weight:600;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2f4858;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

nav a:hover,
nav a:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* Main content */
main {
  flex-grow: 1;
  padding: 2rem;
  background: #ffffff;
}

main h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #f5832a;
}

main p {
  font-size: 1rem;
  color: #333;
}

/* Footer */
footer {
  background-color: #2f4858;
  color: #fff;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  margin-top: auto;
  user-select: none;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  header, footer {
    padding: 1rem;
  }
}