body {
    font-family: serif;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    margin-bottom: 30px;
}

sup {
    color: gray;
    font-size: 0.7em;
}

a { 
    text-decoration: none;
    color: darkblue; 
}

ul { 
    list-style-type: none; 
    padding: 0; 
}

li { 
    margin: 5px 0; 
}

.nav {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
}

.nav a {
    padding: 10px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.nav a:hover {
    background: #555;
}

.nav .disabled {
    padding: 10px 20px;
    background: #999;
    color: #ddd;
    border-radius: 5px;
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-wrapper {
    display: flex;
    width: 80%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
}

.bible-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f2;
  padding: 15px 20px;
  border-bottom: 2px solid #ccc;
}

.header-item {
  display: flex;
  flex-direction: column;
  margin: 5px 10px;
}

.header-item label {
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.header-item input,
.header-item select {
  padding: 5px 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.header-item button {
  padding: 8px 15px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.header-item button:hover {
  background-color: #555;
}

@media (max-width: 1000px) {
  .bible-header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .header-item {
    width: 100%; 
    margin: 5px 0;
  }

  .header-item input,
  .header-item select,
  .header-item button {
    width: 100%;
    box-sizing: border-box;
  }

  .header-item button {
    margin-top: 5px;
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}