body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: lightcoral;
  margin: 0;
  line-height: 1.6;
}

header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

h1 {
  color: white;
  font-size: 3rem;
  margin: 0;         
  font-weight: bold; 
}

h2 {
  text-align: center;
}

nav ul {
  display: inline-flex;     
  justify-content: center;
  padding: 6px 12px;
  margin: 0 auto;
  background-color: #666;
  border-radius: 6px;
  list-style: none; 
}

nav li {
  margin: 0;               
}

nav li:last-child a {
  border-right: none;   
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;     
  padding: 4px 8px;  
  display: block;
  transition: background 0.3s;
  border-right: 1px solid #999;
}

nav a:hover {
  background-color: #555;
}

p, img {
  display: block;
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
}

main {
  display: flex;
  flex-wrap: wrap;      
  justify-content: center;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;      
  margin: 0 auto;         
}

main section {
  background: white;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 250px;     
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form div {
  display: flex;
  align-items: center;
  gap: 8px;
}

input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: lightgreen;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: mediumseagreen;
  color: white;
}

footer {
  text-align: center;
  padding: 15px;
  background: #333;
  color: white;
}

footer a {
  color: lightgreen;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}