/* Load Computer Modern font */
@font-face {
  font-family: 'Computer Modern';
  src: url('assets/fonts/cmunrm.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding-top: 60px; /* leaves space for fixed toolbar */
  font-family: 'Computer Modern', serif;
  background-color: #f9f9f9;
}


.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.search-container,
#year-range,
#submit-container,
#results {
  width: 100%;
  margin-bottom: 20px;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  font-size: 16px;
}

#results {
  display: block;
  width: 100%;
  margin-top: 20px;
}


h1 {
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 10px;
  width: 300px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin-left: 10px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #005fa3;
}

#results {
  margin-top: 30px;
  font-size: 18px;
}



.toolbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000;
  box-sizing: border-box;
}

.toolbar a.home-button {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background-color: #007BFF;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.toolbar a.home-button:hover {
  background-color: #0056b3;
}
