/*Layout Stylings*/
body {
background-color: #F7F3EC;
color:#2C2C2E;
font-family: Cormorant Garamond, Lora, Serif;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}

header h1 {
    margin: 0;
    padding: 0rem;
    background-color: #F7F3EC;
    color: #A51C30;
    font-family: Cormorant Garamond, Lora, Serif;
    font-size: 3rem;
    text-align: center;
    scroll-margin-top: 100px;
}

nav {
    background-color:#4F5D45;
    color: #F7F3EC;
    font-family: Cormorant Garamond, Lora, Serif;
    text-align: center;
    padding: 1rem;  
    text-align: center;
    position: relative;
    z-index: 1000; 
    isolation: isolate;
}nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5em;
  justify-content: center;
  font-size: 1.5rem;
}
nav li {
  position: relative;
  text-align: center;
}
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  gap: 1em;
  background: #F7F3EC;
  color: #2C2C2E;
  font-weight: bold;
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 2000;
  border: 1px solid #4F5D45;
}
nav li:hover > ul {
  display: flex;
}
nav ul ul li {
  padding: 0.5rem 1rem;
  font-size: 1.15rem;


}
nav a {
  color: inherit;
  text-decoration: none;
  font-family: inherit;
  text-align: center;
}
nav a:hover,
nav a:focus {
  text-decoration: underline;
}
main {
    flex: 1;
}
h1 {
    font-family: Cormorant Garamond, serif;
    color: #2C2C2E;
    margin: 0;
    padding: 0;
}
h2 {
    font-family: Lora, Cormorant Garamond, serif;
    color: #2C2C2E;
    margin: 0;
    padding: 0;
}
h3 {
     font-family: Cormorant Garamond, serif;
    color: #F7F3EC;
    margin: 0;
    padding: 1rem 0 1rem 0;
}
p {
    font-family: Lora, serif;
}
/*Home Page Stylings*/

.welcome {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    margin-top: 2rem;
    font-size: 2.2rem;
    font-weight: bold;
}
.home-greeting {
    max-width: 800px;
    margin: 1rem auto;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1;
}
.home-image {
    display: flex;
    max-width: 800px;
    margin: 2rem auto;
    justify-content: center;
}
.home-image img{
    width: 150%;
    max-width: 100%;
    height: auto;
   display: block;
}
.hp-image-blurb {
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    color: #4F5D45;
}
/*Home Page Widgets Section Stylings*/
:root {
    --card: 300px;
    gap: 1rem;
}
.home-widgets {
    --widget-h: auto;
    display: flex;
    align-items: center;
    gap: 10rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding:0 1rem;
}
.weather {
  flex: 0 0 var(--card);
}
.weather-info {
    background-color: #2b4953;
    color: #F7F3EC;
    font-family: Cormorant Garamond, Lora, Serif;
    text-align: center;
    padding: 1rem;
    margin: 2rem auto;
    width: var(--card);
    min-height: var(--card);
    border-radius: 12px;
}
.weather ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.weather li {
    margin: 0.25rem 0;
}

.carousel {
    flex: 1;
    min-width: 0;
    align-self: center;
    margin-top: 0.5rem;
}

.carousel-viewport {
 overflow: hidden;
height: var(--widget-h);
}

.carousel-viewport::before,
.carousel-viewport::after{
  content: "";
  position: absolute;
  top: 0;
  width: 64px;    
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-viewport::before{
  left: 0;
  background: linear-gradient(to right, #F7F3EC 0%, rgba(247,243,236,0) 100%);
}

.carousel-viewport::after{
  right: 0;
  background: linear-gradient(to left, #F7F3EC 0%, rgba(247,243,236,0) 100%);
}

.carousel-track {
    display: flex;
    gap: var(--gap);
    height: 100%;
    will-change: transform;
    align-items: center;
}


.carousel-track img{
  width: var(--card);
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: #F7F3EC;
}

.carousel-blurb {
    max-width: 800px;
    margin: 0 20rem 3rem auto;
    text-align: justify;
    font-size: 1rem;
    color: #2b4953;
   
}

/*About Page Stylings*/
.about-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.about-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
}
/*Members Page Stylings*/
.members-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.members-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
}
.members-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}
/*Philanthropy Stylings*/
.phil-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
}
.phil-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}
/*Mission Page Stylings*/
.mission-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}
.mission-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}
.mission-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}
/*Spotlight Page Stylings*/
.spotlight-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.spotlight-h2 {
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.nvm-link {
    color: #A51C30;
    font-weight: bolder;
}
.spotlight-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.5;
}
.iframe-container {
    display: block;
    margin: 1rem auto;
   text-align: center;
}
.spotlight-blurb {
    max-width: 800px;
    margin: 1rem auto;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.5;
}

/*Join Page Stylings*/
.join-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.join-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}
.join-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/*Explore Stylings*/
.explore-grid-1, .explore-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto;
    justify-items: center;
    align-items: center;
}
.explore-grid-1 img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
}
.explore-grid-2 img {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
}
.explore-links {
    text-decoration: none;
    color: #2C2C2E;
    font-family: lora, cormorant garamond, serif;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.explore-links:hover {
    text-decoration: none;
    background-color: #4F5D45;
    color: #F7F3EC;
}
.explore-links:visited {
    color: #A51C30;
     text-decoration: underline;
}

/*Docent Page Stylings*/
.docent-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}
.docent-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
}
.docent-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/*Events Page Stylings*/
.events-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}
.events-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}
.events-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/*Links Page Stylings*/
.links-heading {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}
.links-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}
.links-content img {
    width: 85%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/*Footer Stylings*/
footer {
    background-color: #4F5D45;
    color: #F7F3EC;
    font-family: Cormorant Garamond, Lora, Serif;
    text-align: center;
    padding: .5rem;
    position: relative;
    bottom: 0;
    width: 100%;
}