@font-face {
  font-family: 'RobotoSlab';
  src:
    url("../Roboto_Slab/RobotoSlab-VariableFont_wght.ttf");
}

html{
  font-size: large;
}

body{
  background-color: black;
  font-family: 'RobotoSlab', serif;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.12em;
  word-spacing: 0.16em;
  text-rendering: optimizeLegibility;
  color: rgb(226, 223, 219);
}

#page-container{
  position: relative;
  min-height: 100vh;
}

#content-wrap{
  padding-bottom: 4rem;
}

h1, h2, h3, h4, h5, h6 {
  color: rgb(117, 155, 180);
}

hr {
  border: 0 !important;
  border-top: 1px solid seashell !important;
  opacity: .75 !important;
}

img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner-img{
  width:100%;
  height:auto;
}

#main-content{
  scroll-margin-top: 1.5em;
}

.border-antique {
  border-color: #f8f5f0ef !important;
}

.header-image{
  width: 100%;
  height: auto;
}

.navbar{
  background-color: #3F71A6;
}

.navbar ul{
  width: fit-content;
  margin: auto;
  text-align: center;
  font-size: larger;
  padding: 0.5em;
  background-color: #3F71A6;
}

.navbar ul li {
  padding: 0.5em;
}

.navbar a.nav-link{
  font-weight: bold;
  color: seashell;
  text-decoration: none;
}

footer{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4rem;
}

footer.menu {
  background-color: #3F71A6;
}

footer.menu ul {
  width: fit-content;
  margin: auto;
  text-align: center;
  font-size: larger;
  padding: 0.5em;
  background-color: #3F71A6;
}

footer.menu ul li {
  padding: 0;
}

footer.menu a.nav-link {
  font-weight: bold;
  color: seashell;
  text-decoration: none;
}

.nav-item a.nav-link:focus{
  color: #3F71A6;
  text-decoration: underline;
  background-color: seashell;
  border: 0px antiquewhite solid;
  border-radius: 5px;
  transition: 150ms;
}

.nav-item a.nav-link:hover {
  color: #3F71A6;
  text-decoration: underline;
  background-color: seashell;
  border: 0px antiquewhite solid;
  border-radius: 5px;
  transition: 150ms;
}

.breadcrumb {
  margin-left: 1.5em;
}

.no-style-list{
  list-style: none;
  margin-left: -10px;
}

.item-title{
  font-size: larger;
  font-weight: 500;
  color: rgb(125, 161, 185);
}

.banner {
  position: relative;
  width: 100%;
}

.banner figcaption {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
}

.banner-title {
  background-color: #3F71A6;
  opacity: .96;
  padding: .5rem;
  width: fit-content;
  height: fit-content;
  margin: auto;
  color: seashell;
  border: 2px solid #3F71A6;
  border-radius: 5px;
}

.first-letter::first-letter{
  font-size: larger;
  font-weight: bold;
}

.modal-button-image{
  max-width:100%;
  object-fit: contain;
  border: 5px solid #f8f5f0ef !important;
  border-radius: 5px;
}

.modal-button-image:hover{
  border-color: #3F71A6 !important;
}

.modal-btn:focus .modal-button-image{
  border-color: #3F71A6 !important;
}

/* #region Modal Styles */
.modal {
  margin-top: .25rem !important;
}

.modal-dialog {
  margin: auto !important;
  width: fit-content;
}

.modal-header {
  padding: .5rem !important;
}

.modal-body {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.modal-footer{
  padding: .25rem !important;
}

.modal figure{
  margin: 0 0 .25rem !important;
}

.modal-image-tall{
  max-width:49%;
  max-height: 70vh;
  object-fit: contain;
  margin:auto;
}

.modal-figcaption-tall{
  font-size: small !important;
  line-height: 1.05rem !important;
  padding: 1rem;
  max-width: 40%;
  margin: auto;
}

.modal-image-long {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
  padding: .25rem;
}

.modal-figcaption-long {
  font-size: small !important;
  line-height: 1.05rem !important;
  padding: .5rem;
}
/* #endregion */

@media (width < 576px){
  #town-banner{
    display: none;
  }

  .modal-image{
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (width < 992px){
  .modal-image-tall{
    max-width: 100%;
    max-height: 59vh;
    height: auto;
    object-fit: contain;
  }

  .modal-figcaption-tall {
    max-width: 100%;
    height: auto;
  }

  .modal-image-long {
    max-height: 59vh;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
  }
}