/* Theme Information */
/*
Theme Name: Whidbey Nurse (GeneratePress Child)
Theme URI: https://generatepress.com
Description: WhidbeyNurse.com theme, based on GeneratePress child theme
Author: Chris Neal
Author URI: https://chris.neal.media
Template: generatepress
Version: 0.1
*/

/* General Styles */
/* Make the page at least this tall in case small pages are viewed */

#page {
  min-height: 54vh;
}

.card {
  box-shadow: #f4f4f4 2px 2px 10px 0px;
  margin: 1rem;
  padding: 1.25rem;
}

.gb-container.alignfull > .gb-container {
  padding-left: 40px;
  padding-right: 40px;
}

.separate-containers .site-main{
  margin: 0;
  padding: 0;
}

/* Navigation Styles */
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  font-weight: bold;
  background: #FFFFFF;
  color: #3a3a3a;
}

/* SVG (Animation) Styles */
/*.svg-animate {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.svg-animate * {
  stroke: var(--stroke-color, #000);
  fill: none;
  stroke-dasharray: var(--perimeter, 5000);
  stroke-dashoffset: var(--perimeter, 5000);
  stroke-width: 3px !important;
}

.svg-animate.visible * {
  animation: draw 1.6s linear forwards, fillIn 1s 1.6s forwards;
}*/

img.svg-animate {
  opacity: 1;
}

@keyframes draw {
  to {
      stroke-dashoffset: 0;
  }
}

@keyframes fillIn {
  from {
      fill: transparent;
  }
  to {
      fill: var(--fill-color, #000);
  }
}

/* SVG Line Animate Styles (for Signature) */
/*
.svg-line-animate {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.svg-line-animate path {
  fill: none;
  stroke: #000000;
  stroke-width: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--length);
  stroke-dashoffset: var(--length);
}

.svg-line-animate.animate path {
  animation: drawSignature 3s ease forwards;
}*/

@keyframes drawSignature {
  to {
      stroke-dashoffset: 0;
  }
}

/* SVG Signature Styles */
.svg-signature {
  transform: rotate(-17deg);
  overflow: visible;
  margin-bottom: 2rem;
}

/* SVG Package Art Styles */
.package-art * {
  stroke-width: 2px !important;
}

/* CSS Animations */
/* Animation - Text Focus In */
.text-focus-in{
  opacity: 0;
}

.visible .text-focus-in {
  -webkit-animation-name: text-focus-in;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: cubic-bezier(0.550, 0.085, 0.680, 0.530);
  -webkit-animation-delay: 0s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-fill-mode: both;
  
  animation-name: text-focus-in;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.550, 0.085, 0.680, 0.530);
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: both;
}

@-webkit-keyframes text-focus-in {
  0% {
      -webkit-filter: blur(12px);
      filter: blur(12px);
      opacity: 0;
  }
  100% {
      -webkit-filter: blur(0px);
      filter: blur(0px);
      opacity: 1;
  }
}

@keyframes text-focus-in {
  0% {
      -webkit-filter: blur(12px);
      filter: blur(12px);
      opacity: 0;
  }
  100% {
      -webkit-filter: blur(0px);
      filter: blur(0px);
      opacity: 1;
  }
}

/* Animation - Fade In Left */
.fade-in-left {
  opacity: 0;
  visibility: hidden;
}

.fade-in-left.visible {
  -webkit-animation-name: fade-in-left;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: cubic-bezier(0.390, 0.575, 0.565, 1.000);
  -webkit-animation-fill-mode: forwards;
  
  animation-name: fade-in-left;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.390, 0.575, 0.565, 1.000);
  animation-fill-mode: forwards;
  
  visibility: visible;
}

@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animation - Fade In Right */
.fade-in-right {
  opacity: 0;
}

.fade-in-right.visible {
  -webkit-animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) forwards;
  animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) forwards;
}

@-webkit-keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}


/* Contact Page Styles */
.contact-page-buttons, .contact-page-buttons a, .contact-page-buttons svg, .contact-page-icon {
  color: #FFFFFF;
  fill: #FFFFFF;
}

.contact-page-button {
  background: #0366d6;
}

/* Contact Buttons Styles */
.contact-buttons-container {
  max-width: 420px;
  margin: 0 auto 40px auto;
  display: flex;
  justify-content: space-between;
}

.contact-button {
  width: 30%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #0366d6;
  border-radius: 1rem;
  padding: 1rem 1rem 1.3rem 1rem;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
  position: relative;
  overflow: visible;
}

.contact-button:hover {
  background-color: #0b99db;
}

a.contact-button:hover, a.contact-button:active, a.contact-button:focus {
  color: #FFFFFF;
  text-decoration: none;
}

.contact-button:hover .hipaa-label {
  background-color: #07cf07;
}

.hipaa-label {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #009c00;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
  font-family: Nunito, sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.contact-button svg {
  width: 60%;
  height: auto;
  fill: currentColor;
  padding-bottom: 0.1rem;
  padding-top: 0.5rem;
  overflow: visible;
}

.hipaa-label svg {
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: -1px;
  margin-right: 2px;
  padding: 0;
  overflow: visible;
}

.contact-button-label {
  font-size: 1.4rem;
  text-align: center;
  font-family: Nunito, sans-serif;
  font-weight: 600;
}

/* Footer Styles */
.copyright-bar a {
  text-decoration: underline;
}

.footer-icon-wi {
  width: 12px;
  height: 22px;
  vertical-align: middle;
  margin: 0px 1px;
}

.footer-icon-heart {
  width: 12px;
  height: 11px;
  vertical-align: middle;
  margin: 0px 2px;
}

#footer-creditline {
  margin: 0.4rem 0;
}

/* Blog Post Styles */
body.blog #content {
  padding-bottom: 30px;
}

body.post-template-default #menu-item-1328 a {
  font-weight: bold;
  background: #FFFFFF;
  color: #3a3a3a;
}

.post-1335 summary {
  font-weight: bold;
  margin-bottom: 1rem;
}

.post-1335 .gb-container {
  margin-bottom: 2rem;
  padding: 1rem 1rem 0 1rem;
  border: 1px solid #DADADA;
  border-radius: 1rem;
}

/* Whidbey Puget Sound Area (Animated SVG) Styles */
.whidbey-puget-sound-area-container {
  background: #A6D6EA;
  overflow: hidden;
  border: 5px solid #A6D6EA;
  border-radius: 2rem;
}

/* Initial styling for the element */
.whidbey-puget-sound-area-container-inner {
  width: 100%; /* Adjust width as needed */
  height: 100%; /* Adjust height as needed */
  transform: scale(1.5); /* Starting zoomed-in state */
  filter: saturate(0.5); /* Initial saturation */
  transition: transform 1.5s ease, filter 1.5s ease; /* Transition for smooth animation */
}

/* Animation when parent gains the class 'visible' */
.whidbey-puget-sound-area-container.visible .whidbey-puget-sound-area-container-inner {
  transform: scale(1.1); /* Zoom out to normal size */
  filter: saturate(1); /* Increase saturation */
  transition: transform 1.5s ease 2.9s, filter 1.5s ease 2.9s; /* Both transitions delayed by 2.5s */
}



/* Mobile Styles */

/* Super small width (UNDER 576px) */
/* Contact Page Buttons Mobile Styles */
@media (max-width: 430px) {
  .contact-button {
      width: 32%;
  }
}
@media (max-width: 410px) {
  .contact-button {
      padding: 0.8rem 0.8rem 1.1rem 0.8rem;
  }
  
  .contact-button-label {
      font-size: 1.1rem;
  }
}

@media (max-width: 370px) {
  .navigation-branding img{
    height: 55px !important;
    width: 70px !important;
  }
}

/* EXTRA small devices (mobile/phones, 576px and down) */
@media only screen and (max-width: 576px) {
  .navigation-branding .main-title a {
    font-size: 1.25rem !important;
  }

  .entry-content > .gb-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .gb-container.alignfull > .gb-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-widgets-container{
    padding: 20px;
  }
  .entry-header{
    padding: 30px 20px 0 20px;
  }
  .entry-content{
    padding: 0 20px 0 20px;
  }
  body.single-post .cat-links{
    padding: 20px;
  }
  .entry-content .gb-block-image {
    max-width: 350px;
  }
  #right-sidebar .widget{
    padding: 20px;
  }
  #right-sidebar{
    margin-top: 40px;
    padding-top: 10px;
  }
  #right-sidebar .widget{
    background: #f3f3f3;
  }
  #right-sidebar .widget a{
    background: unset;
  }
  .whidbey-puget-sound-area-container{
    max-width: 350px;
    margin: 0 auto;
  }
  .living-room-scene-svg{
    padding-top: 40px;
  }
  body.blog #content {
    padding-bottom: 0;
  }
}

/* Small devices (large phones/small tablets, 577 to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .entry-content > .gb-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .gb-container.alignfull > .gb-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-widgets-container{
    padding: 20px;
  }
  .entry-header{
    padding: 30px 20px 0 20px;
  }
  .entry-content{
    padding: 0 20px 0 20px;
  }
  body.single-post .cat-links{
    padding: 20px;
  }
  .entry-content .gb-block-image {
    max-width: 350px;
  }
  #right-sidebar .widget{
    padding: 20px;
  }
  #right-sidebar{
    margin-top: 40px;
    padding-top: 10px;
  }
  #right-sidebar .widget{
    background: #f3f3f3;
  }
  #right-sidebar .widget a{
    background: unset;
  }
  .whidbey-puget-sound-area-container{
    max-width: 350px;
    margin: 0 auto;
  }
  .living-room-scene-svg{
    padding-top: 40px;
  }
  body.blog #content {
    padding-bottom: 0;
  }
}

/* Medium devices (tablets, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .entry-content > .gb-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .gb-container.alignfull > .gb-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .footer-widgets-container{
    padding: 40px;
  }
  .entry-header{
    padding: 30px 20px 0 20px;
  }
  .entry-content{
    padding: 0 20px 0 20px;
  }
  body.single-post .cat-links{
    padding: 20px 20px 30px 20px;
  }
  .entry-content .gb-block-image {
    max-width: 350px;
  }

  body.right-sidebar .site-content .content-area{
    width: 100%;
  }
  
  #right-sidebar{
    min-width: 250px;
  }
  
  #right-sidebar .widget{
    padding: 0;
  }
  
  #right-sidebar h3{
    padding: 30px 20px 0 20px;
  }
  .whidbey-puget-sound-area-container{
    max-width: 350px;
    margin: 0 auto;
  }
  .living-room-scene-svg{
    padding-top: 40px;
  }
  body.search.one-container .site-main > :last-child {
    margin-bottom: 30px;
  }
}

/* Large devices (desktops, 1025px and up) */
@media (min-width: 1025px) {
  .entry-content > .gb-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .footer-widgets-container{
    padding: 40px;
  }
  .entry-header{
    padding: 30px 20px 0 20px;
  }
  .entry-content{
    padding: 0 20px 0 20px;
  }
  body.single-post .cat-links{
    padding: 20px 20px 30px 20px;
  }
  body.right-sidebar .site-content .content-area{
    width: 100%;
  }
  
  #right-sidebar{
    min-width: 250px;
  }
  
  #right-sidebar .widget{
    padding: 0;
  }
  
  #right-sidebar h3{
    padding: 30px 20px 0 20px;
  }
  .contact-buttons-container-wrapper{
    padding: 20px 0 !important;
  }
  body.search.one-container .site-main > :last-child {
    margin-bottom: 30px;
  }
}

.entry-content > .faq-question {
  padding: 16px 20px 0 20px;
}

.page-header{
  padding: 20px;
}
.entry-summary{
  padding: 0 20px;
}

body.search article{
    border-top: 1px solid #dddddd;
}

@media (max-width: 860px) {
.menu-toggle{
  margin-top: 2px;
}

.main-navigation .menu-bar-items{
  margin-top: 4px;
}
}

:root {
  --scrollbar-width: calc(100vw - 100%);
}

body{
  overflow-x: hidden;
}

.navigation-branding:hover{
  opacity: 0.7;
  transition: opacity .1s ease-in-out;
}