/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #007bff;
  color: white;
  padding: 1rem;
  text-align: center;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #333;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
}

nav a:hover {
  background-color: #555;
}

/* Main Content */
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

ul {
  list-style-type: square;
  padding: 0px 0px 0px 30px; 
}

table, tr, td {
  border: 1px solid;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
}

th {
  background-color: #3498db;
  color: #fff;
  padding: 10px 10px 10px 10px; 
  text-align: center;
   }

section {
  margin-bottom: 2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: white;
  margin-top: 2rem;
}

footer a {
  text-align: center;
  padding: 10px 10px 0px 10px;
  color: white;
  text-decoration: none;
}

textarea {
      width: 100%;
      height: 150px;
      font-size: 18px;
      padding: 10px;
    }

/* Responsive Text */
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

@media (min-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  nav a {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
  }

  nav a {
    text-align: center;
    border-bottom: 1px solid #444;
  }

  nav a:last-child {
    border-bottom: none;
  }
}
