/* Reset default margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7fa;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header styles */
header {
  background-color: #1a73e8;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0 15px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffd700;
}

/* Section styles */
section {
  margin: 30px 0;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section h1,
section h2 {
  color: #1a73e8;
  margin-bottom: 15px;
}

article p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* List styles */
ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

ul li {
  margin-bottom: 10px;
}

ul li a {
  color: #1a73e8;
  text-decoration: none;
}

ul li a:hover {
  text-decoration: underline;
  color: #0d47a1;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #1a73e8;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #e3f2fd;
}

td a {
  color: #1a73e8;
  text-decoration: none;
}

td a:hover {
  text-decoration: underline;
}

/* Form styles */
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  color: #333;
}

input[type="text"],
input[type="email"],
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

input[type="checkbox"] {
  margin-right: 10px;
}

button {
  background-color: #1a73e8;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0d47a1;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 20px;
  background-color: #1a73e8;
  color: white;
  border-radius: 8px;
  margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  section {
    padding: 15px;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 8px;
  }

  form {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }

  section h1,
  section h2 {
    font-size: 1.3rem;
  }

  button {
    padding: 10px;
  }
}