:root {
    --black: #0A2342;
    /*--white: #C7FFDA;*/
    --white: #DBCFB0;
    --lightaccent: #DC965A;
    --darkaccent: #087E8B;
    --lightaccent: #8CEFCB;
    --highlightaccent: hsl(186deg 89% 29%);
    --darkgradient: #0A2342;
    --lightgradient: #087E8B;
    
    color-scheme: light dark;
    
    --background: light-dark(var(--black), var(--black));
    --text: light-dark(var(--white), var(--white));
    --accent: light-dark(var(--darkaccent), var(--darkaccent));
    --page-color-transition: background-color .8s ease, color .8s ease;
    --text-size: clamp(1.1rem, -2vw + 3rem, 1.8rem);
    --bg-size: 400%;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;	
    transition: transform 1.2s ease-in-out, var(--page-color-transition);
    color: var(--text);
    font-family: 'Nohemi-ExtraLight';
    /*font-size: var(--text-size);*/
    font-variant-ligatures: common-ligatures;
    line-height: 2rem;
}
html {
    background-color: var(--background);
    background-image: url("img/ryan-stone-OdOZOECwe4g-unsplash.jpg");
	background-size: cover;
	background-position: 46% 50%;
	background-blend-mode: multiply;
}
h2 {
    font-family: 'Silk-Flower-Regular';
    font-variant-ligatures: common-ligatures;
    letter-spacing: 0.1rem;
}

@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  .fadeIn-animation {
    animation: 1.5s fadeIn;
  }

/* Font */
@font-face {
    font-family: 'Nohemi-Regular';
    src: url('fonts/Nohemi/Nohemi-Regular.tff') format('truetype');
    src: url('fonts/Nohemi/Nohemi-Regular.woff') format('woff'),
         url('fonts/Nohemi/Nohemi-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nohemi-ExtraBold';
    src: url('fonts/Nohemi/Nohemi-ExtraBold.tff') format('truetype');
    src: url('fonts/Nohemi/Nohemi-ExtraBold.woff') format('woff'),
         url('fonts/Nohemi/Nohemi-ExtraBold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nohemi-ExtraLight';
    src: url('fonts/Nohemi/Nohemi-ExtraLight.tff') format('truetype');
    src: url('fonts/Nohemi/Nohemi-ExtraLight.woff') format('woff'),
         url('fonts/Nohemi/Nohemi-ExtraLight.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Silk-Flower-Regular';
    src: url('fonts/SilkFlower/Silk Flower Regular.otf') format('opentype');
    src: url('fonts/SilkFlower/Silk Flower Regular.ttf') format('truetype');
    src: url('fonts/SilkFlower/silk_flower_regular-webfont.woff') format('woff'),
         url('fonts/SilkFlower/silk_flower_regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Silk-Flower-Outline';
    src: url('fonts/SilkFlower/Silk Flower Outline.otf') format('opentype');
    src: url('fonts/SilkFlower/Silk Flower Outline.ttf') format('truetype');
    src: url('fonts/SilkFlower/silk_flower_outline-webfont.woff') format('woff'),
         url('fonts/SilkFlower/silk_flower_outline-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Silk-Flower-Slant';
    src: url('fonts/SilkFlower/Silk Flower Slant.otf') format('opentype');
    src: url('fonts/SilkFlower/Silk Flower Slant.ttf') format('truetype');
    src: url('fonts/SilkFlower/silk_flower_slant-webfont.woff') format('woff'),
         url('fonts/SilkFlower/silk_flower_regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Sticky Parallax Header */
#sticky-parallax-header {
	color: var(--text);
	height: 100vh;
	width: 100%;
	background-image: url("img/ryan-stone-OdOZOECwe4g-unsplash.jpg");
	background-size: cover;
	background-position: 50% 50%;
	background-blend-mode: multiply;
	display: grid;
	place-items: center;
	text-align: center;
	font-size: calc(4vw + 1em);
    z-index: 2;
}

@supports(animation-range: 0vh 90vh) {
    @keyframes sticky-parallax-header-move-and-size {
        from {
            background-position: 50% 0;
        }

        to {
            background-position: 50% 100%;
            background-color: var(--lightgradient);
            height: 10vh;
            font-size: 2em;
        }
    }
    #sticky-parallax-header {
        position: fixed;
        top: 0;
        animation: sticky-parallax-header-move-and-size linear forwards;
        animation-timeline: scroll();
        animation-range: 0vh 90vh;
    }
    body {
        padding-top: 100vh;
    }
}

/* Gradient Text */
.boujee-text {
    font-family: 'Silk-Flower-Regular';
    font-variant-ligatures: common-ligatures;
    /*
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--text);
    */
    line-height: 9vh;
    /*font-size: clamp(3rem, 20vmin, 8rem);*/
    background: linear-gradient(
        45deg,
        hsl(213deg 74% 15%) 0%,
        hsl(213deg 74% 18%) 8%,
        hsl(213deg 74% 22%) 17%,
        hsl(213deg 73% 25%) 25%,
        hsl(213deg 74% 28%) 33%,
        hsl(213deg 74% 32%) 42%,
        hsl(213deg 74% 35%) 50%,
        hsl(213deg 74% 32%) 58%,
        hsl(213deg 74% 28%) 67%,
        hsl(213deg 73% 25%) 75%,
        hsl(213deg 74% 22%) 83%,
        hsl(213deg 74% 18%) 92%,
        hsl(213deg 74% 15%) 100%
    )
    0 0 / var(--bg-size) 100%;
    color: transparent;
    background-clip: text;
    font-weight: 900;
}
.boujee-letters {
    font-feature-settings: "aalt";
}

@media (prefers-reduced-motion: no-preference) {
    .boujee-text {
      animation: move-bg 40s linear infinite;
      animation-direction: reverse;
    }
    @keyframes move-bg {
      to {
        background-position: var(--bg-size) 0;
      }

}

/* About Me */
.aboutme-container {
    margin: 0 auto;
    max-width: 100%;
    width: 100vh;
}
.aboutme {
    margin: 2rem;
    /*padding: 3rem;*/
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: relative;
    top:50px;
    border-radius: 20px;
    border: var(--text) 5px solid;
    /*background: var(--accent);*/
    background: rgba(10, 35, 66, 0.7);
    overflow: hidden;
    
}
.aboutme.visible {
    opacity: 1;
    transform: translateY(0);
}
.aboutme-content {
    overflow: hidden;
    display: grid;
    grid-template-areas: "text img";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: stretch;
    transform-origin: 50% 0%;
    will-change: transform;
}
.aboutme-content > div {
    grid-area: text;
    /*width: 80%;*/
    place-self: center;
    text-align: left;	
    padding: 3rem;
    font-size: 1.1em;
}
.aboutme-content > figure {
    grid-area: img;
    overflow: hidden;
    margin: 0;
    -webkit-clip-path: ellipse(60% 100% at 61% 63%);
    clip-path: ellipse(60% 100% at 61% 63%);
}
.aboutme-content > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--text);
}
@media (max-width: 799px) {
    .aboutme-content {
        grid-template-areas:
        "img"
        "text";
        grid-template-columns: 100% 100%;
    }
    .aboutme-content > figure {
        -webkit-clip-path: ellipse(100% 55% at 45% 44%);
        clip-path: ellipse(100% 55% at 45% 44%);
    }
}

.opposite-content {
    overflow: hidden;
    display: grid;
    grid-template-areas: "img text";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: stretch;
    transform-origin: 50% 0%;
    will-change: transform;
}
.opposite-content > div {
    grid-area: text;
    /*width: 80%;*/
    place-self: center;
    text-align: left;	
    padding: 3rem;
    font-size: 1.1em;
}
.opposite-content > figure {
    grid-area: img;
    overflow: hidden;
    margin: 0;
    -webkit-clip-path: ellipse(61% 100% at 31% 33%);
    clip-path: ellipse(61% 100% at 31% 33%);
}
.opposite-content > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--text);
}
@media (max-width: 799px) {
    .opposite-content {
        grid-template-areas:
        "img"
        "text";
        grid-template-columns: 100% 100%;
    }
    .opposite-content > figure {
        -webkit-clip-path: ellipse(100% 55% at 45% 44%);
        clip-path: ellipse(100% 55% at 45% 44%);
    }
}

.aboutme div p strong a {
    color: var(--highlightaccent);
    font-family: 'Silk-Flower-Regular';
    text-decoration: none;
    position: relative;
}

/* Sections */
.sections-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    width: 100vh;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    top:375px;
}
.section {
    width: 45%;
    min-height: 200px;
    height: auto;
    padding: 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background: rgba(255, 255, 255, 0.2);*/
    background: var(--accent);
    border-radius: 20px;
    border: var(--text) 5px solid;
    font-size: 1.1em;
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section:nth-child(even) {
    position: relative;
    top: -300px;
}
.section:last-child {
    margin-bottom: 0;
}

/* Map */
.map-section {
    margin: 0 auto;
    max-width: 100%;
    width: 100vh;
}
.map-container {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem;
    padding: 3rem;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: relative;
    /*top:255px;*/
    top:50px;
    border-radius: 20px;
    border: var(--text) 5px solid;
    /*background: var(--accent);*/
    background: rgba(10, 35, 66, 0.7);
}
.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}
.map-text {
    margin: 0 auto;
}
#map-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
#map-container svg {
    max-width: 100%;
    width: 80vh;
}
#map-container path {
    /*stroke: var(--text);*/
    /*fill: var(--background);*/
    fill-opacity: 1;
    transition: fill 0.3s;
}
/* default color for all states not specified below */
.state {
    fill: var(--white);
}                        
/* color and width of borders between states */
.borders {
    stroke: var(--background);
    stroke-width:1;
}    
/* set display to yes to show the circle for the District of Columbia, or none to hide it */
.dccircle {
    display:yes;
}                      
/* color and width of lines around Alaska and Hawaii */
.separator1 {
    stroke:var(--text) !important;
    fill-opacity: 0 !important;
    stroke-width: 0;
}    

/* Non-PsyPact */
.ca, .or, .ia, .nm, .ny, .ma, .la, .ak, .hi {
    /*fill:var(--background) !important;*/
    /*fill:var(--accent);*/
    /*fill:var(--lightaccent);*/
    /*fill: var(--secondaryaccent);*/
    fill: var(--white);
    /*fill: #015c66;*/
    /*opacity: 0.3;*/
    opacity: 0.85;
}

.highlighted {
    fill: var(--highlightaccent) !important;
    opacity: 1;
    /*fill: url(#header-shape-gradient) var(--secondaryaccent);*/
}

#locationDetails {
    font-size: 1.1em;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 1;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding-bottom: 150px;
    /*top: 400px;*/
    top: 7px;
    margin: 2rem;
}
footer.visible {
    opacity: 1;
    transform: translateY(0);
}
footer a {
    padding: 0px 20px;
}
footer img {
    max-height: 75px;
    margin-bottom: 45px;
}
footer div {
    text-align: center;
}

/* Bottom Menu */
.bottomMenu {
    width: 100%;
    text-align: center;
    /*margin-top: 25px;*/
    margin-bottom: 5px;
    background: rgba(10, 35, 66, 0.8);
    border: var(--white) solid 2px;
    border-radius: 10px;
}
.menuItem {
    display: inline-block;
    padding: 10px;
    font-size: 24px;    
    font-family: 'Silk-Flower-Regular';
    font-variant-ligatures: common-ligatures;
    letter-spacing: 0.1rem;
}
.menuItem a {
    color: var(--white);
    text-decoration: none;
    position: relative;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, hsl(186deg 89% 50%), hsl(186deg 89% 29%));
  bottom: -8px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -8px;
  transform-origin: left;
  background: linear-gradient(to left, hsl(186deg 89% 50%), hsl(186deg 89% 29%));
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

#welcome, #couples, #individuals, #parenting, #lds, #students, #bio, #contact, #services {
    scroll-margin-top: 100px;
}

/* Schedule */
.schedule {
    position: fixed;
    bottom: 0;
    width: 100%;
    /*background: rgba(255, 255, 255, 0.2);*/
    padding: 1rem;
    z-index: 1000;
}

/* Squishy Button - Classic */
.squishy {
    font-family: 'Silk-Flower-Regular';
    position: relative;
    font-size: 2em;
    padding: 0.75rem 2rem 0.35rem 2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 250ms;
    /*display: inline-flex;*/
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
  
.squishy i {
    width: 1.75rem;
    height: 1.75rem;
}
  
.squishy-classic {
    background-color: #087e8b;
    background: linear-gradient(
        90deg,
        hsl(186deg 89% 29%) 0%,
        hsl(186deg 89% 33%) 8%,
        hsl(186deg 89% 36%) 17%,
        hsl(186deg 89% 40%) 25%,
        hsl(186deg 89% 43%) 33%,
        hsl(186deg 89% 47%) 42%,
        hsl(186deg 89% 50%) 49%,
        hsl(186deg 89% 50%) 51%,
        hsl(186deg 89% 47%) 58%,
        hsl(186deg 89% 43%) 67%,
        hsl(186deg 89% 40%) 75%,
        hsl(186deg 89% 36%) 83%,
        hsl(186deg 89% 33%) 92%,
        hsl(186deg 89% 29%) 100%
    )    
    0 0 / var(--bg-size) 100%;
    color: var(--white);
    /*
    -webkit-text-stroke: 0.5px var(--black);
    text-stroke: 0.5px var(--black);
    */
    border-radius: 0.5rem;
    box-shadow: 
      inset 0 1px 0 0 #0b7c89,
      0 1px 0 0 #0f7985,
      0 2px 0 0 #127681,
      0 4px 0 0 #16737e,
      0 5px 0 0 #1a707a,
      0 6px 0 0 #1e6d76,
      0 7px 0 0 #216a73,
      0 7px 8px 0 #25686f;
}
  
.squishy-classic:hover {
    transform: translateY(4px);
    box-shadow: 
      inset 0 1px 0 0 #0b7c89,
      0 1px 0 0 #0f7985,
      0 1px 0 0 #127681,
      0 2px 0 0 #16737e,
      0 2px 0 0 #1a707a,
      0 3px 0 0 #1e6d76,
      0 4px 0 0 #216a73,
      0 4px 6px 0 #25686f;
}

@media (prefers-reduced-motion: no-preference) {
    .squishy-classic {
      animation: move-bg 25s linear infinite;
      animation-direction: reverse;
    }
    @keyframes move-bg {    
      to {
        background-position: var(--bg-size) 0;
      }
    }
    @media (max-width: 799px) {
        .squishy {
            font-size: 4vw;
        }
        .bottomMenu {
            display: none;
        }
    }
}

@media (max-width: 1199px) {
    .sections-container {
        flex-direction: column;
        top:17px;
    }
    .section {
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
        margin-top: 0 !important;
    }
    .section:nth-child(even) {
        position: relative;
        top: 0px;
    }
    .map-container {
        /*top: -12px;*/
    }
    footer {
        top:50px;
    }
}

}