#home-screen {
	font-family: "Old Standard TT", times;
}

#presents-small-text {
  font-family:"Old Standard TT", times;
  margin: -10px 0 -20px 0;
}

#breviarium-title {
	text-align: center;
	color: var(--rubric);
	font-size: 30px;
	font-variant: small-caps;
	font-weight: normal;
	letter-spacing: .05em;
	margin-bottom: 12px;
}

.breviarium-subtitle {
	text-align: center;
	color: var(--rubric);
	font-size: 24px;
	font-variant: small-caps;
	font-weight: normal;
	margin: 0;
}

.breviarium-subtitle-2 {
	text-align: center;
	color: var(--content-text-color);
	font-size: 20px;
	font-variant: small-caps;
	font-weight: normal;
	margin: 12px;
}

/* The link row switches layout on the column's width, not the window's: the column is min(100vw, 75vh) wide, so
   short desktop windows make it narrow too */
#home-screen {
  container-type: inline-size;
}

/* Pray in the middle of one row, two links either side */
#breviarium-select-container {
  display: flex;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.breviarium-link {
  flex-shrink: 0;
  width: 150px;
  height: 50px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
	color: var(--content-text-color);
	text-decoration: none;
  margin: 0;
  padding: 10px;
}

#pray-button-container {
  font-size: 24px;
}

/* Narrower than the single row (five links and their gaps): Pray across the full width, the other four sharing a row
   below it */
@container (max-width: 877px) {
  #breviarium-select-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 7px;
  }

  .breviarium-link {
    width: auto;
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  #pray-button-container {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 22px;
  }
}

/* Small screens (same breakpoint as the compact top bar in top-bar.css) leave out the title page's subtitles */
@media (max-width: 1139px) {
  #breviarium-subtitles {
    display: none;
  }
}

.nav-element-link {
	min-width: 100px;
	height: 40px;
	padding: 12px 5px 0 5px;
	display: block;
	text-align: center;
	font-size: 20px;
	color: var(--panel-text-color);
	text-decoration: none;
}

.nav-element-link:hover {
	background-color: var(--button-color-hover);
}
.nav-element-text {
	font-family: "Old Standard TT", times;
  font-size: 20px;
}
