body {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 30px auto;
  padding: 0 20px;
  background-color: #f9f9f9;
  color: #333;
}

h1 {
  text-align: center;
}

nav {
  text-align: center;
  margin-bottom: 30px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #007bff;
}

nav a:hover {
  text-decoration: underline;
}

form label {
  display: block;
  margin: 15px 0 5px;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 3px;
}

button {
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 1em;
  background-color: #007bff;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background-color: #0056b3;
}

#lettersContainer {
  margin-top: 20px;
  background: white;
  padding: 15px;
  border-radius: 5px;
  min-height: 100px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.letter {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.letter:last-child {
  border-bottom: none;
}

.timestamp {
  font-size: 0.8em;
  color: #666;
  margin-top: 5px;
}