@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

p {
  line-height: 1.4;
  font-size: 1.2rem;
  margin-bottom: 1em;
  color: #2d2d2d;
  font-family: 'Georgia', Times New Roman, Times, serif;
}
@media (min-width:320px) and (max-width:767px) {
  p {
    font-size: 1.15rem;
  }
}
.cna-pg{
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.top-navbar{
  padding: 1.375rem;
  z-index: 1;
  position: absolute;
  width: 100%;
}

.navbar{
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  grid-template-columns: 100%;
  max-width: 90rem;
  margin: auto;
}

.brand {
  height: 50px;
  display: flex;
}

.bg-red-200{
  --tw-bg-opacity: 1;
  background-color: rgb(254 202 202 / var(--tw-bg-opacity));
}

 h1.headline{
  font-size: 4.5rem;
  font-family: Merriweather, serif;
  font-weight: 900;
}

.main-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 4px 1px 3px rgba(0,0,0,0.46);
}
.blurb {
  margin-bottom: 0.56em;
  display: block;
  font-size: 3.0rem;
  font-family: Merriweather, serif;
}
.subtext {
  font-family: 'Georgia', Times New Roman, Times, serif;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 4px 1px 3px rgba(0,0,0,0.46);
   text-align: center;
   max-width: 700px;
   margin: 0 auto;
}

@media (max-width: 782px) {
  h1.headline {
     font-size: 3.6rem;
     line-height: 1.3;
 }
 .blurb {
  font-size: 2.0rem;
  margin-bottom: 1.2em;
  line-height: 1.2;
 }
 .main-title {
  align-items: start;
 }
 .subtext {
  text-align: left;
 }
}


.font-serif{
  font-family: Merriweather, serif;
}
h2.subtitle {
  font-size: 2.2rem;
  font-weight: 900;
}
#main {
    height: 100lvh;
    width: 100vw;
    position: absolute;
}

.main-hero-content {
  overflow: hidden;
  width: 100%;
  height: 100lvh;
  display: flex;
  justify-content: center;
}



/* .main-hero #main {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
} */


.main-hero-title {
  max-width: 900px;
  width: 100%;
  position: relative;
  top: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 6.125rem;
  pointer-events: none;
  color: #ffffff;
  padding: 1.5em 1.5em;
}

.scroll-down {
  width: 100%;
  margin: auto;
  display: flex;
  position: absolute;
  bottom: 0;
  margin-bottom: 5em;
}
.scroll-button {
  position: relative;
  top: 0;
  left: 50%;
  width: 20px;
  height: 40px;
  margin-left: -15px;
  border: 1px solid #ffffff;
  border-radius: 50px;
  box-sizing: border-box;
}
.scroll-button:before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: "";
  width: 5px;
  height: 5px;
  margin-left: -3px;
  background-color: #ffffff;
  border-radius: 100%;
  -webkit-animation: scroll 2s infinite;
  animation: scroll 2s infinite;
  box-sizing: border-box;
}
.scroll-button:after {
  content: "Scroll Down";
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  width: 100px !important;
  display: block;
  position: absolute;
  right: -50px;
  top: 50px;
}


.section-wrap {
  display: flex;
  justify-content: center;
}

.section {
  margin-top: 5em;
  margin-bottom: 5em;
}
.section-roll {
  margin-top: 4em;
  margin-bottom: 4em;
}
.my-o {
  margin: 2em auto;
}

.section-block {
  margin: auto;

}
.section-block-img {
  margin: 4em 0 4em 0;
}

h2.sect-hd {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.0em;
  line-height: 1.2;
}

@keyframes scroll {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.caption {
  font-size: 0.9rem;
  color: #8e8e8e;
  max-width: 900px;
  padding: 0.5em 0.25em;
}

/*Scrolly*/
.scrolly {
  position: relative;
}
.turf {
  background-color: #eff7fd;
z-index: -1;  
}

.scrolly .background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.scrolly .background .background-content{
  position: absolute;
  top: 0px;
  bottom: auto;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.scrolly .background .background-content-photo {
  position: sticky;
  top: 0px;
  bottom: auto;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.scrolly .background-content.turf-img-content {
  width: 100%;
}
.turf-img {
  padding-left: 0em;
}

.scrolly .background .background-content > * {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.scrolly .background .background-content-photo > * {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transform: translate(0, 0);
}
.scrolly .slide {
  position: relative;
  padding-bottom: 100vh;
  height: 100vh;
}

@media (min-width: 351px) and (max-width: 460px) {
  .scrolly .slide {
    height: 90vh;
  }
}

.scrolly .slide:last-child {
  padding-top: 90vh;
  padding-bottom: 90vh;
}
.scrolly .slide .slide-content.right.last{
  top: 50%;
}
.scrolly .slide .slide-content {
  position: absolute;
  top: 90%;
  left: 0;
  transform: translate(0, -50%);
  box-sizing: border-box;
  font-size: 1.5rem;
  background-color: rgb(255 255 255 / 65%);
  padding: 1.0em 1.0em 0.5em;
  border-radius: 8px 8px;
  box-shadow: 0 0 30px 0 rgb(0 0 0 / 6%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.scrolly .slide .slide-content p {
  line-height: 1.4em;
  margin-bottom: 1em;
}
@media (min-width: 351px) and (max-width: 460px) {
  .scrolly .slide .slide-content {
    font-size: 1.26rem;
  }
  h2.sect-hd { 
    font-size: 1.86rem;
    line-height: 1.2;
    margin-bottom: 1.0em;
  }
  .scrolly .slide:last-child {
    padding-top: 120vh;
    padding-bottom: 90vh;
  }
}
.scrolly .slide .slide-content.right {
  width: 30%;
  left: auto;
  right: 5em;
  max-width: calc(100% - 10px);
}
@media (min-width: 351px) and (max-width: 460px) {
  .scrolly .slide .slide-content.right {
    left: 20px;
    width: 90%;
  }
}



.scrolly .background-content [class*=slide-], 
.scrolly .background-content-photo [class*=slide-] {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  
}
.scrolly .background-content [class*=slide-0],
.scrolly .background-content-photo [class*=slide-0] {
  opacity: 1;
}

.scrolly.active .background .background-content {
  position: sticky;
  background-position: 50% 50%;
  background-repeat: repeat;
  background-size: cover;
}




@media (min-width: 2000px){
  .fluid {
    max-width: 1600px;
    width: 100%;
  }
}
.gainy{
  background: rgb(239, 253, 253);
  background-image: url("../imgs/nosie.svg");
  background-repeat: repeat;
}
.scrolly.active[data-index="0"] .background-content [class*=slide-0],
.scrolly.active[data-index="0"] .background-content-photo [class*=slide-0] {
  opacity: 1;
}

.scrolly.active[data-index="1"] .background-content [class*=slide-1],
.scrolly.active[data-index="1"] .background-content-photo [class*=slide-1] {
  opacity: 1;
}
.scrolly.active[data-index="2"] .background-content [class*=slide-2],
.scrolly.active[data-index="2"] .background-content-photo [class*=slide-2] {
  opacity: 1;
}

.scrolly .background-content [class=*=slide-2],
.scrolly .background-content-photo [class=*=slide-2] {
  opacity: 1;
  transition: none;
}
.scrolly.active[data-index="3"] .background-content [class*=slide-3],
.scrolly.active[data-index="3"] .background-content-photo [class*=slide-3] {
  opacity: 1;
  transition: none;
}

.scrolly.active[data-index="4"] .background-content [class*=slide-4],
.scrolly.active[data-index="4"] .background-content-photo [class*=slide-4] {
  opacity: 1;
}

.scrolly.active[data-index="5"] .background-content [class*=slide-5],
.scrolly.active[data-index="5"] .background-content-photo [class*=slide-5] {
  opacity: 1;
}

.scrolly.active[data-index="6"] .background-content [class*=slide-6],
.scrolly.active[data-index="6"] .background-content-photo [class*=slide-6] {
  opacity: 1;
}

.scrolly.active[data-index="7"] .background-content [class*=slide-7],
.scrolly.active[data-index="7"] .background-content-photo [class*=slide-7] {
  opacity: 1;
}

.scrolly.active[data-index="8"] .background-content [class*=slide-8] {
  opacity: 1;
}

.scrolly.active[data-index="9"] .background-content [class*=slide-9] {
  opacity: 1;
}

.scrolly.active[data-index="10"] .background-content [class*=slide-10] {
  opacity: 1;
}



@media (min-width: 768px) {
  .scrolly .background .background-content > * {
    position: absolute;
    width: 100%; 
}
.scrolly .background .background-content-photo > * {
  position: absolute;
  width: 100%; 
}
.scrolly .slide .slide-content.right {
  padding: 1.0em 1.0em 0.5em;
  position: absolute;
  width: 50%;
}
.scrolly .slide {
  height: 90vh;
   padding-bottom: 50vh;
}
}
@media (min-width: 768px) and (max-width: 1024) {
  .turf-img {
    padding-left: 5em;
  }
}
@media (min-width:1024px) {
  .scrolly .slide .slide-content.right {
    width: 30%;
  }
  .turf-img {
    padding-left: 5em;
  }
}
@media (min-width:320px) and (max-width:767px) {
  .section {
    margin-top: 4em;
    margin-bottom: 4em;
  }
  .my-o {
    margin: 4em auto;
  }
  .section-roll {
    margin-top: -8em;
  }
  .main-hero-title {
    margin-top: 0em;
  }
  .scrolly .background .background-content > * {
    position: absolute;
    width: 100%; 
    top: 0;
    left: 0;  
    transform: none; 
    background-color: #eff7fd;
}
.scrolly .background .background-content-photo > * {
  position: absolute;
  width: 100%; 
  top: 0;
  left: 0;  
  transform: none; 
  background-color: #eff7fd;
}
.scrolly .slide .slide-content.right {
  width: 90%;
  right: 1em;
  top: 90%;
}
h2.subtitle {
  font-size: 1.56rem;
  font-weight: 900;
}
.scrolly .slide {
  height: 120vh;
  padding-bottom: 80vh;
}
.scrolly.active[data-index="4"] .background-content [class*=slide-4] {
  background-color: #f8fafc;
}
.caption {
  padding: 0.5em 1.25em;
  font-size: 0.8rem;
}
}

/* quote */
.quote-container {
  width: 100%;
  margin-top: 5em;
}
.quote {
display: flex;
}
@media (min-width:320px) and (max-width:767px) {
  .w-full {
    max-width: 200px;
}
  .quote {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
img.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50% 50%;
  margin-right: 1em;
}

.quote-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  margin-top: 1em;
}
.quote .small {
  font-size: 0.9rem;
  margin-top: 1em;
}
blockquote {
  border-top: 2px solid #FF5154;
    border-bottom: 2px solid #FF5154;
  color: #1a1a1a;
  font-family: 'Merriweather', serif;
   font-size: 1.25em;
  font-style: italic;
  line-height: 1.8em;
  margin: auto;
  padding: 1em 1em;
  position: relative;
  transition: 0.2s border ease-in-out;
  z-index: 0;
  width: 100%;
}
blockquote:before {
  content: " “ ";
  position: absolute;
  left: 18%;
  top: 0;
  height: 4px;
  margin-top: -3px;
  margin-left: -1em;
  background-color: #f0f9ff;
  width: 50px;
  font-family: ui-serif;
  font-size: 5rem;
}
blockquote:after {
  content: "";
  position: absolute;
  left: 20%;
  top: 0;
  margin-top: -0.5em;
  margin-left: -0.5em;
  font-weight: 900;
  font-family: 'Merriweather', serif;
  line-height: 1em;
  text-align: center;
  text-indent: -2px;
  width: 1em;
  margin-top: -0.5em;
  transition: 0.2s all ease-in-out, 0.4s transform ease-in-out;
}

blockquote:active:after {
  transform: rotateY(360deg);
}
blockquote cite {
  display: block;
  font-size: 0.75em;
  line-height: 1.8em;
  margin-top: 1em;
}

footer {
  background-color: #333;
  padding: 5em;
  display: flex;
  color: #fff;
}
footer .share {
  display: flex;
    flex-direction: column;
    /* align-items: center; */
    max-width: 43.75rem;
    margin: 1.5rem auto 5em;
}
.authors, .source {
  padding-bottom: 2em;
}
.title, .source-title {
  font-weight: 700;
  margin-top: 0.5em;
}
.name {
  font-weight: 300;
}



@media (min-width: 1200px) and (max-height: 760px) {
  .scrolly .slide {
    height: 100vh;
    padding-bottom: 90vh;
}
.scrolly .slide .slide-content.right {
  padding: 1.5em;
}
.scrolly .slide .slide-content p {
  font-size: 1.2rem;
}
}