/*====================
SUBSECTION: HERO IMAGE
=====================*/

.hero-section {
margin-top: 8px;
margin-bottom: 10px;
display: block;
}

.hero-container {
max-width: 1000px;
height: 688px;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: stretch;
gap: 10px;
}

.hero-image {
flex: 0 1 480px;
flex-shrink: 0
}

.hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/*====================
SUBSECTION: TEXT BOXES
=====================*/

.hero-stack {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 9px;
}

.text-box {
flex: 1;
min-height: 0;
border-radius: 20px;
border-width: 3.5px;
border-style: solid;
padding: 10px 10px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}

.text-box p {
margin: 0;
font-family: 'Sniglet', arial, sans-serif;
line-height: 1.2;
text-align: center;
}

/* background: #F5FDFF; border-color: #4C788C; */

.text-box-1 { background: #FEF3F6; border-color: #8F6378; flex: .9; padding: 5px; box-shadow: 0 0 4px 2px rgba(255, 245, 150, 0.84); }

.text-box-1 p { color: #8F6378; font-size: 2.5rem; line-height: 1.15; }

.text-box-2 { background: #FEF5E1; border-color: #755118; flex: 1; box-shadow: 0 0 4px 2px rgba(255, 245, 150, 0.84); }

.text-box-2 p { color: #9D8334; font-size: 2.4rem; line-height: 1.15; }

.text-box-3 { background: #FEFCE1; border-color: #18754A; flex: .8; box-shadow: 0 0 4px 2px rgba(255, 245, 150, 0.84); }

.text-box-3 p { color: #7B9F47; font-size: 2.4rem; line-height: 1.15; }

.text-box-4 { background: #F4FEE1; border-color: #18754A; flex: .5; box-shadow: 0 0 4px 2px rgba(255, 245, 150, 0.84); }

.text-box-4 p { color: #18754A; font-size: 2.2rem; line-height: 1.15; }

.text-box-5 { background: #F5FDFF; border-color: #4D6493; margin-top: 5px; flex: .5; box-shadow: 0 0 4px 2px rgba(255, 245, 150, 0.84); }

.text-box-5 p { color: #4D6493; font-size: 2.5rem; line-height: 1.15; }

.nap-03-pic {
max-width: 1000px;
width: 100%;
margin: 0 auto;
padding-bottom: 5px;
}

.nap-03-pic img {
width: 100%;
max-width: 100%;
height: auto;
display: block;
}

.nap-03-pic-caption {
max-width: 1000px;
width: 100%;
margin: 0 auto;
margin-top: 4px;
margin-bottom: 8px;
}

.nap-03-pic-caption img {
width: 100%;
max-width: 100%;
border-color: #543F1E;
border-width: 3.5px;
height: auto;
display: block;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

#depressive {
--rounded-border-color: #45754A;
}

#nap-pic {
--rounded-border-color: #45754A;
}

/*===============
MOBILE RESPONSIVE
================*/

@media (max-width: 768px) {
    
.hero-container {
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: 100%;
height: auto;
padding: 0 2px;
box-sizing: border-box;
}
  
.hero-section {
align-items: center;
justify-content: center;
}
 
.hero-image {
flex: 1 1 auto;
width: 99%;
max-width: none;
justify-content: center;
margin: 0 auto;   
padding-right: 0;
}

.hero-stack {
width: 100%;
max-width: none;
justify-content: center;
margin: 0 auto;
}

.hero-stack {
display: contents;
}


.text-box-1 {
order: 1;
margin-top: -1px;
margin-bottom: 5px;
}

.text-box-2 {
order: 2;
}

.hero-image {
order: 3;
}

.text-box-3 {
order: 4;
}

.text-box-4 {
order: 5;
}

.text-box {
width: 99%;
height: auto;
min-height: 80px;
padding: 6px 6px;
border-radius: 17px;
border-width: 3px;
}


.text-box-1 p { font-size: clamp(2.4rem, 5.8vw, 3.4rem); }
.text-box-2 p { font-size: clamp(2.3rem, 5.6vw, 3.6rem); }
.text-box-3 p { font-size: clamp(1.7rem, 5.6vw, 3.6rem); }
.text-box-4 p { font-size: clamp(1.7rem, 5.6vw, 3.6rem); }
.text-box-5 p { font-size: clamp(1.7rem, 5.6vw, 3.6rem); }
}