#content {
  background-color: transparent;
}

main {
  background-color: var(--secondaryTheme);
  padding-top: 0;
}


.heroImgContainer {
  overflow: hidden;
  position: relative;
  height: 48vw;
  min-height: 300px;
  max-height: 80vh;
}
.heroImg {
  width: 600px;
  display: block;
  margin-left: calc((100% - 600px) / 2);
  position: absolute;
  z-index: -1;
  top: -50px;
}
.hero-icon {
  display: none;
}
.heroTitle {
  text-align: center;
  background-color: transparent;
  text-shadow: 1px 1px 3px #000a, -1px -1px 3px #000a, -1px 1px 3px #000a, 1px -1px 3px #000a;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  z-index: -1;
  margin-top: 40px;
  padding: 10px 0;
}
.heroTitle h1, .heroTitle h1 span {
  font-family: 'Baskerville', serif;
  font-size: min(70px, 5vw);
  color: white;
  text-decoration: none;
  font-weight: lighter;
  letter-spacing: 1vw;
  line-height: 0.9em;
}
.heroHeading {
  display: flex;
  align-items: center;
}

.heroTitle h1.hero-article {
  font-family: 'Baskerville', serif;
  font-size: min(30px,3vw);
  letter-spacing: 4px;
}

.heroTitle h1 span.less-spacing {
  letter-spacing: 1px;
}

.heroTitle h2 {
  font-size: min(20px,max(14px,2vw));
  font-weight: normal;
  color: #e5e5e5;
  margin: 10px 0;
  letter-spacing: 2px;
}

.heroTitle a {
  color: white;
  text-decoration: none;
}


.headline-container {
  display: flex;
  justify-content: center;
}
.headline {
  text-align: center;
  margin: 20px 5px;
  color: #28496b;
  font-weight: bold;
  font-size: 1.1rem;
  max-width: 1000px;
}



@media all and (min-width: 600px) {
  .heroImgContainer {
    display: flex;
    /* align-items: end; */
  }
  .heroImg {
    width: 100%;
    margin-left: 0;
    position: fixed;
    top: auto;
  }
  #nav {
    position: fixed;
  }
  .heroTitle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: 120px;
  }
}
@media all and (min-width: 982px) {
  #nav.nav-static {
    background-color: #0005;
  }
  #nav.nav-static #nav-top {
    border-bottom: 1px solid #2e2e2e;
  }
  .hero-icon {
    display: block;
    margin-right: 30px;
    background-image: radial-gradient(50% 50%, #000a 35%, transparent);
  }
}



.infoSection {
  margin: 40px 0;
  padding: 30px 0;
}


.infoTitle {
  text-align: center;
  font-family: 'Baskerville';
  font-size: 1.3em;
  margin-bottom: 20px;
}
.infoTitle a {
  font-family: 'Baskerville';
}
.infoSection a {
  font-weight: bold;
  text-decoration: underline;
}
.infoSection a:hover {
  text-decoration: none;
}

.infoBoxes {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imageBox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  margin: 10px 0;
  box-shadow: 0 0 4px 4px #8c8c8c;
}

.imageBox p {
  padding-left: 15px;
}
.imageBox .boxTitle {
  font-weight: bold;
  font-size: 1.2em;
}


.boxText {
  position: relative; /* to appear above the ::before */
  font-weight: bold;
  width: 60%;
  color: white;
}




.white-info-icon {
  background: white;
  padding: 3px;
  border-radius: 50%;
}



@media all and (min-width: 1200px) {
  .infoBoxes {
    max-width: 1400px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .imageBox {
    width: 500px;
  }
}


.info-top {
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-around;
  max-width:1000px;
  margin:40px auto;
}
.info-top p {
  flex:1;
  padding:10px;
}

@media all and (max-width: 1024px) {
  .info-top {
    flex-direction: column;
  }
  .info-top p {
    width: 60vw;
  }
}



.infoBoxes:nth-of-type(1) .imageBox:nth-of-type(1) {
  background-image: url("./img/home/Abingdon Bridge.jpg");
}
.infoBoxes:nth-of-type(1) .imageBox:nth-of-type(2) {
  background-image: url("./img/home/Aylesbury Arm of Grand Union Canal.jpg");
}
.infoBoxes:nth-of-type(2) .imageBox:nth-of-type(1) {
  background-image: url("./img/home/Bow Bridge over R. Thame.jpg");
}
.infoBoxes:nth-of-type(2) .imageBox:nth-of-type(2) {
  background-image: url("./img/home/Bridge over Jubilee River.jpg");
}
.infoBoxes:nth-of-type(3) .imageBox:nth-of-type(1) {
  background-image: url("./img/home/Pangbourne Meadow.jpg");
}
.infoBoxes:nth-of-type(3) .imageBox:nth-of-type(2) {
  background-image: url("./img/home/View from Sonning Bridge.jpg");
}


.bg-img {
  background-image: url("/img/home/R.Thame at Bridge Lodge.jpg");
  width: 100%;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}



.paratitle {
  color: white;
  font-weight: bold;
  font-size: 5rem;
  text-shadow: 0px 0px 10px black;
  width: 40%;
  text-align: center;
}

.paratext {
  background-color: #0009;
  width: 500px;
  max-width: 90vw;
  margin: 150px 0;
  color: white;
}

.stage_list {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.stage_list ol li a {
  padding: 8px 0;
  color: white;
  display: inline-block;
}

@media all and (max-width: 400px) {
  .paratext {
    width: auto;
    min-width: auto;
    margin-left: 1vw;
    padding: 20px 1vw;
  }
}


@media all and (max-width:1000px) {
  .bg-img {
    flex-direction: column;
  }
  .paratitle {
    margin: 40px 0;
    width: 100%;
    text-align: center;
    font-size: 3rem;
  }
  .paratext {
    margin: 20px 0;
  }
}



.heroTextPositioner {
  position: relative;
}
.heroTextPositioned {
  position: absolute;
}
.heroHeadingText {
  width: 65vw;
  height: 8vw;
}
.heroHeadingText a {
  display: block;
}
.heroHeadingText a h1 {
  -webkit-text-stroke: #0005 5px;
}