:root {
  --blue: #003366;
  --gold: #ffcc00;
  --light-bg: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('cursor.ico'), auto; 
}

body {
  font-family: "Courier New", Courier, monospace;
  background: var(--light-bg);
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 40px 0;
}

/* Navbar */
nav {
  background: var(--blue);
  color: white;
  padding: 15px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.logo {
  font-weight: bold;
  font-size: 1.4em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  background: white;
  padding: 60px 30px;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

main h1 {
  color: var(--blue);
  margin-bottom: 20px;
}

main p, main ul {
  font-size: 1.1em;
  max-width: 500px;
  margin: auto;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: var(--blue);
  color: white;
  font-size: 0.9em;
}

.homepage-photo {
  width: 450px;
  max-width: 90%;
  border-radius: 12px;
  margin-top: 30px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.project-title {
  text-align: center;
  margin-left: 0;
}

.project p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px; /* keeps lines readable */
}

.project p:last-child {
  margin-top: 10px;
}

.project {
  text-align: center;
}

/* ✅ Mobile responsiveness */
@media (max-width: 768px) {

  .container {
    width: 100%;
    max-width: 100%;
    padding: 40px 20px; /* keep side padding for readability */
  }
  nav .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
  }

  .logo {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  main {
    padding: 30px 20px; /* increased side padding for mobile readability */
  }

  main p, main ul {
    padding-left: 5px;
    padding-right: 5px;
  }

  .homepage-photo {
    width: 90%;
    max-width: 300px;
  }

  .project-title,
  .project p {
    margin-left: 0;
  }
}
