* { 
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  background-color: #fff;
}
body {
  font-family: 'sweet-sans-pro', sans-serif;
  line-height: 1.5;
  color: #0B2341;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: 18px;
}

h1, h2, h3, h4 {
  line-height: 1;
  font-weight: 800;
  margin-block-start: 0;
  margin-block-end: 0;
  text-transform: uppercase;
}
h3, h4 {
font-weight: 700;
}
h2 {
font-size: clamp(1.8rem, 3vw, 2.25rem);
}
h3 {
font-size: clamp(1.5rem, 2.3vw, 1.75rem);
}
h4 {
font-size: clamp(1.25rem, 2vw, 1.5rem);
}
p {
  margin-block-start: 0.5em;
  margin-block-end: 1em;
  font-size: 18px;
  color: #0B2341;
  font-weight: 600;
}
.centered {
text-align: center;
}
.end {
text-align: end;
}
:is(h1, h2, h3, h4, p).centered {
text-align: center;
}
/* Font size classes refer to pixel size of font */

.font-12, .font-12 p {
font-size: 0.75rem;
}
.font-16, .font-16 p {
font-size: 16px;
}
.font-18, .font-18 p {
font-size: 1.125rem;
}
.font-20, .font-20 p {
font-size: 1.25rem;
line-height: 1.5em;
}
.font-24, .font-24 p {
font-size: clamp(1.25rem, 2vw, 1.5rem);
line-height: 1.5em;
}
.font-28 {
font-size: clamp(1.5rem, 2.3vw, 1.75rem);
margin-block: 1.875rem 1.125rem;
}
.font-36 {
font-size: clamp(1.75rem, 2.75vw, 2rem);
margin-block: 1.875rem 1.125rem;
}
.font-42 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  margin-block: 1.875rem 1.125rem;
}
.font-60 {
font-size: clamp(3.25rem, 5vw, 3.75rem);
}
h3.font-24 {
  margin-block: 1.875rem .5rem;
}
:is(h1, h2, h3, h4, p).top {
  margin-block-start: 0;
}
img {
max-width: 100%;
height: auto;
}
a {
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
outline: none;
}
ul {
padding-left: 20px;
margin-left: 20px;
list-style-type: square;
}
li::marker {
color: #61992e;
}
li {
padding-left: 4px;
margin-block: 16px;
color: #0B2341;
}
hr {
border-width: 1px;
color: #61992e
margin: 20px 0;
border-style: solid;
width: 100%;
}
/** Containers */
.container-default {
width: 100%;
max-width: 1000px;
display: block;
margin-inline: auto;
padding: 20px 60px; 
}
.container-default.section {
padding: 80px 60px;
}
.container-default .container-narrow {
  max-width: 800px;
  display: block;
  margin-inline: auto;
  padding: 20px 0 40px;
}
.container-narrow h3, .container-narrow h4 {
  text-transform: none;
}
/** Buttons */
.button {
cursor: pointer;
transition: 0.25s;
border-radius: 33px;
background-color: #61992e;
color: white;
border: none;
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
padding: 10px 30px;
display: inline-block;
}
.button:hover {
transform: scale(1.05);
}

.article-img { width: 100%; max-width: 200px; height: auto; float: left; margin: 0 20px 40px 0; }
.article-title a {color: #61992e;}
.article-title a:hover { text-decoration: underline; }

.givingopps a {color: #61992e;}
.givingopps a:hover { text-decoration: underline; }

@media only screen and (max-width:500px) {
  .article-img { max-width: 500px; height: auto; float: none; margin: 40px 0 20px 0; }
  .article-title { margin-bottom: 20px; }
}

/** Image Left & Image Right */
.two-col {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(clamp(calc(50% - 40px), (781px - 100%) * 999,100%),1fr));
column-gap: 40px;
align-items: flex-start;
justify-items: center;
}
.two-col.top {
align-items: flex-start;
}
.two-col .image img {
max-width: 500px;
width: 100%;
}
.three-col {
display: grid;
justify-content: center;
justify-items: center;
align-items: flex-start;
grid-template-columns: repeat(auto-fit, minmax(
    clamp(
        calc(33.33333% - 44px), /* min value */
        (816px - 100%) * 999, /* preferred value */
        100% /* max value */
        ), 
        1fr
    ));
column-gap: 44px;
row-gap: 32px;
}
.sidebar-section {
display: grid;
justify-content: center;
align-items: flex-start;
grid-template-columns: auto 360px;
column-gap: 44px;
row-gap: 32px;
}
.sidebar {
background-color: #0B2341;
}
.sidebar-text {
padding: 20px;
}
.sidebar-text p {
line-height: 1.5;
color: white;
}
.sidebar-text h5 {
color: #61992e;
font-size: 16px;
text-transform: uppercase;
margin-top: 0;
}
.alignright {
display: block;
margin-left: auto;
}
.alignleft {
display: block;
margin-right: auto;
}
.aligncenter {
display: block;
margin-right: auto;
margin-left: auto;
}

.top-content h3 {
  color:#61992e;
  font-weight: 800;
  line-height: 1;
}
/** Centered Content */
.centered-section {
display: block;
margin-block: 100px;
max-width: 800px;
margin-inline: auto;
}
.centered-section.background-color {
color: white;
border-radius: 50px;
padding: 60px;
}
.centered-section .centered-button {
display: flex;
justify-content: center;
margin: 32px 0 0;
}

/** Form Inputs */
form {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 10px;
}
.form-2col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 10px;
  column-gap: 20px;
}
.form-flex {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.story-form label {
  font-size: 14px;
  color: #0B2341;
  font-weight: bold;
  text-transform: uppercase;
}
input[type=password],
input[type=text],
input[type=email],
input[type=url],
input[type=date],
input[type=datetime],
input[type=search],
input[type=tel],
input[type=submit],
textarea,
select {
font-family: 'sweet-sans-pro', sans-serif;
font-size: 14px;
}
input[type=password],
input[type=text],
input[type=email],
input[type=url],
input[type=date],
input[type=datetime],
input[type=search],
input[type=tel],
input[type=number],
textarea {
padding: 20px;
width: 100%;
border: 1px solid #0B2341;
border-radius: 8px;
background: none;
}
input[type=number] {
  font-size: 18px;
  padding: 10px;
}
input::placeholder, textarea::placeholder {
color: #B6BDC6;
font-weight: bold;
}
#fname, #lname {
  width: calc(50% - 5px);
}
.story-form .name {
  display: flex;
  justify-content: space-between;
}
input[type=submit] {
width: 100%;
border-radius: 33px;
background-color: #61992e;
color: white;
border: none;
font-size: 16px;
font-weight: bold;
letter-spacing: 1.25;
padding: 20px 0;
}
input[type=submit]:hover {
  cursor: pointer;
  background-color: #406d18;
}
.story-form input[type=submit] {
  width: auto;
  padding: 20px 40px;
}
textarea {
padding: 10px;
resize: vertical;
min-height: 100px;
}
.story-form textarea{
  min-height: 150px;
}
.logo-bar {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-bar .logo {
  height: 140px;
}
#open-menu {
width: 30px;
display: none;
}
.nav-bar {
  background-color: #0B2341;
  padding: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-bar .menu-icon img {
width: 30px;
display: none;
}
.nav-bar a {
  color: white;
  padding: 0 20px;
  max-width: 250px;
  text-align: center;
  line-height: 1;
  height: 32px;
  border-left: 1.5px solid #61992e;
  display: flex;
  align-items: center;
  transition: 0.25s;
  font-weight: bold;
  font-size: 16px;
}
.nav-bar a:first-of-type {
  border-left: none;
}
.nav-bar a:hover {
  color: #61992e;
}
.nav-bar .dropdown {
  border-left: 1.5px solid #61992e;
  max-width: 170px;
  padding: 0 20px;
  position: relative;
}
.nav-bar .dropdown a {
  padding: 0;
  max-width: none;
}
.nav-bar .dropdown .main-item {
  display: inline-flex;
  align-items: center;
}
.nav-bar .dropdown .submenu {
  height: 0;
  overflow: hidden;
  transition: 0.5s;
  position: absolute;
  background-color: white;
  top: 52px;
  border: none;
}
.nav-bar .dropdown .submenu a {
  color: #0B2341;
  padding: 20px;
  width: 280px;
  border: none;
  font-weight: bold;
}
.nav-bar .dropdown .submenu a:hover {
  color: #61992e;
}
.nav-bar .dropdown:hover .submenu {
  height: 130px;
}
.page-hero {
  background-image: url(../images/hhf-hero-dark.jpg);
  background-position: center;
  background-size: cover;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 0px 0px 20px rgba(11,35,65,0.8);
  padding: 0 32px;
}
.page-hero.building {
  background-image: url(../images/building-future-bg@2x.jpg);
  background-position: top;
}
.page-hero.education {
  background-image: url(../images/education-bg@2x.jpg);
}
.page-hero.giving {
  background-image: url(../images/chs-student-working.jpg);
}
#target-name, .page-hero h1, .page-hero hr {
  width: 100%;
  max-width: 600px;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}
.page-hero hr {
  height: 8px;
  background: #61992e;
  border: none;
}
.page-hero h1 span, #target-name {
  font-family: 'relation-one', sans-serif;
  text-transform: none;
  font-weight: bold;
  line-height: 0.8em;
  font-size: clamp(3.25rem, 6.6vw, 5rem);
}
.page-hero h1 span {
  color: #ffcc00;
}
#target-name {
  display: flex;
  column-gap: 24px;
  align-items: center;
}
.content {
  display: flex;
  justify-content: center;
}
.content .two-col {
  width: 100%;
}
.content .form p {
  font-family: 'relation-one', cursive;
  font-size: 28px;
  line-height: 1em;
  color: #456e20;
  font-weight: 400;
}

.video {
  max-width: 640px;
  margin: 0 auto;
}
.content .video h2 {
margin: 0 0 40px;
padding: 0 0 40px;
border-bottom: 1.5px solid #61992e;
}
.section-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.section-links a {
  text-decoration: none;
}
.section-links .image-box {
  aspect-ratio: 1;
}
.section-links h3 {
  text-align: center;
  line-height: 1;
  color: white;
  font-size: 2vw;
  text-shadow: #000 1px 0 20px;
  transition: 0.5s;
}
.section-links hr {
  color: #61992e;
  border-width: 1.5px;
  box-shadow: #000 1px 0 20px;
}
.image-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-box:hover h3 {
  transform: scale(1.1);
}
.link-content {
  max-width: 80%;
}
.bottom-section {
  background-color: #0B2341;
  color: white;
  padding: 40px 0;
}
.bottom-section .two-col {
  max-width: 1000px;
  margin-inline: auto;
  padding: 40px;
}
.bottom-section .two-col div {
  width: 100%;
}
.bottom-section p {
  color: white;
}
.bottom-section h4 {
  font-size: 20px;
  text-transform: uppercase;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
.bottom-section a {
  color: white;
}
footer {
  height: 120px;
  background-color: #263718;
}
.slider-box {
position:relative;
width:100%;
display:block;
margin-inline:auto;
overflow:hidden;
margin-top: 40px;
border-radius: 40px;
box-shadow: 0px 0px 36px 0px rgba(0,0,0,0.1);
}
.slides-container {
display:flex;
margin-inline:auto;
transition: transform 0.5s;
width: fit-content;
}
.slide {
background-color:#0B2341;
color:white;
width: 100vw;
max-width: 880px;
aspect-ratio: 2.25;
text-align:center;
overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#left-arrow, #right-arrow {
  position: absolute;
  top: calc(50% - 40px);
  z-index: 10;
  transition: 0.25s;
  cursor:pointer;
  padding: 5px;
  width: 80px;
  opacity: .5;
}
#left-arrow {
display: none;
left:0;
}
#right-arrow {
right:0;
}
#left-arrow:hover {
  transform: translateX(-4px);
}
#right-arrow:hover {
  transform: translateX(4px);
}

.story-slider-box {
  position:relative;
  width:100%;
  display:block;
  margin-inline:auto;
  overflow:hidden;
  }
.story-slider-box .slides-container {
  column-gap:20px;
}
.story-slider-box .slide {
  background-color:#61992e;
  color:white;
  width:clamp(150px, calc(33vw - 44px), 285px);
  aspect-ratio:unset;
  text-align: left;
}
.story-slider-box .slide:nth-of-type(2n) {
  background-color:#0B2341;
}
.story-slider-box .slide:nth-of-type(3n) {
  background-color:#7F7F7F;
}
.story-slider-box .slide p {
  color: white;
  line-height: 1.25;
}
.story-slider-box .slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.story-slider-box .text {
  padding: 20px;
}
.story-slider-box #left-arrow, .story-slider-box #right-arrow {
  display: none;
  top: 25%;
}
@media screen and (max-width:500px) {
.container-default {
  padding: 20px 30px;
}
}
@media screen and (max-width:768px) {
.logo-bar {
  height: 100px;
  justify-content:space-between;
  padding: 0 20px;
}
.logo-bar .logo {
  height: 80px;
}
#open-menu {
  display: block;
}
.nav-bar {
  background-color: #0B2341ee;
  flex-direction: column;
  row-gap: 20px;
  align-items: flex-end;
  justify-content: flex-start;
  position: absolute;
  top:0;
  right: 0;
  height: 0;
  width: 0;
  padding: 0;
  overflow: hidden;
  transition: 0.25s;
}
.nav-bar a {
  text-align: right;
  border: none;
  max-width: 100%;
  padding: 0 10px;
  font-size: 24px;
}
.nav-bar .dropdown {
  border: none;
  padding: 0 10px;
  max-width: 100%;
}
.nav-bar .dropdown .open {
  display: none;
}
.nav-bar .menu-icon img {
  display: block;
}
/* .page-hero {
  height: 65vw;
} */
.page-title h1 {
  font-size: clamp(40px, 10vw, 80px);
  text-align: center;
}
.section-links {
  grid-template-columns: 1fr 1fr;
}
.section-links h3 {
  font-size: 4vw;
}
}