/* styles.css */
.delayed-text1 {
  opacity: 0;
   transform: translateY(5px);
  animation: fadeIn 0.5s ease-in forwards;
  animation-delay: 0.05s; /* delay before fade-in starts */
}

.delayed-text2 {
  opacity: 0;
   transform: translateY(5px);
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 0.4s; /* delay before fade-in starts */
}

@keyframes fadeIn {
  to {
    opacity: 1;
     transform: translateY(0);
  }
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    color: #333;
    background-color: #f6f0e3;
    margin: 0;
    padding: 0;
    font-weight: 200;
    font-size: 19px;
}
details{
    
     font-size: 1.3em;
      margin:20px 0 10px 0;
}
details summary{
    margin:0px 0 10px 0;
}
ul{
    margin:20px 0 30px 0;
}
ul li{
    margin-bottom: 20px;
    font-size: 1.2em;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1em;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

}

h2 {
    font-size: 42px;
    margin:10px 0 10px 0;
}

h3 {
     font-size: 1.3em;
      margin:20px 0 10px 0;
}

/* Paragraphs */
p {
    margin: 0 0 1em;
    line-height: 1.8em;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;

}

/* Code Blocks */
code,
pre {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Blockquotes */
blockquote {
    font-family: 'Georgia', serif;
    font-style: italic;
    margin: 1em 2em;
    padding-left: 1em;
    border-left: 4px solid #ccc;
    color: #555;
}

/* Footer */
footer {
    text-align: right;
    padding: 0;
    display: block;
    color: #6c757d;
    font-size: 0.9em;
    width: 95%;
    margin: 30px auto 0 auto;
    position: relative;
}



a#logo {
    font-family: "Brush Script MT", cursive;

    color: #333333;
    font-size: 30px;
    padding: 0;
    margin: 0;
    line-height: 55px;
    float: left;
}
#logo p{
    font-size: 40%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin:0;
    line-height: 1em;
    display: block;
    width: 300px;
    margin-top:-12px;
}

nav {
    float: right;
    display: block;
    width: 70%;
}

nav a {
    padding: 5px 10px;
    display: block;
    float: right;
    color: #333
}

nav a:hover,
nav a.active {
    background-color: #f6f0e3;
    border-bottom: grey;
}

header {
    padding: 0px 30px 0 30px;
    display: block;
    margin: 0 auto;
}

main {
    display: block;

    margin: 0 auto;
}

.color {
    background-color: #B6D8C0;
    display: block;
    margin: 0 auto;
    padding-top:50px;
    margin-top:-58px;
    height: 350px;

}

h2.source-serif-4-home {
       clear: left;
    width: 60%;
    display: block;
    float: left;
    line-height: 1em;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 52px;
}

h1.source-serif-4-home {
    line-height: 1em;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 48px;

}

.left {
    float: left;
    width: 60%;
    display: block;
  
}

.right {
    float: right;
    display: block;
    clear: right;

}

.phrase p{font-size: 22px; line-height: 1.5em}

.phrase h2 {
    margin-bottom: 20px;
  
}

.light {
    font-weight: 200;
    font-size: 19px;
}

.center {
    width: 60%;
    margin: 0 auto;
    display: block;
    clear: both;
}

#bio {
    margin-top: 20px;
}

.bio-content {
    float: none;
    display: block;
}

.clear {
    clear: both;
}

article {
    width: 80%;
    margin: 0 auto;
     line-height: 2em;
}

form input,
textarea,
.g-recaptcha,
button, form select {
    border: none;
    margin: 0 0 10px 0px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 19px;
}
form label{
line-height: 2em;
}

form .checkbox{
       float: left;

    border: none;
    margin: 0 10px 0 0;
    padding: 0;
    width: 20px;
    height: 20px;
    display: block;
}

a h3 {
    color: #111;
}


.blog-post a:hover {
    color: #111;
}

.phrase a.button, nav a.contact, .button{
    background-color: rgb(0, 47, 137);
    color:white;
    font-weight: 600;
}

.phrase a.button, .button{
    clear: both;
   padding: 8px;
   display: block;
   margin-top:20px;
   width:120px;
   text-align: center;
}

a.contact:hover{
    background-color: #111;
}



.center img{
    float:right;clear:right;
}
/* Hide/show for mobile only */
.mobile-only {
  display: none;
  width: 100%;
  flex-direction: column;
  background-color: #f6f6f6;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;

}
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

.blog-post img{
    width:120%; margin:20px -80px 20px 0
}
.blog-post h1{
    font-size: 2em;
    margin-bottom:10px;
}
.blog-post h2{
    font-size: 1.5em;
    line-height: 1.2em;
   
}
.blog-post {
    margin-top:20px;
}

.blog-list{
    width:100%;
}

.blog-list .blog-post{
    width: 28%;
    margin: 20px 10px 0 20px;
}
img.thumbnail{
    width:100%;
margin-top: 0;
}
a.contact.active{
    color: white;
}
a.contact.active:hover{
    color: white;
}
.blog-list .blog-post h3{

}
.blog-list .blog-post span{
    font-size: 0.8em;
}
.blog-list .blog-post h3,.blog-list .blog-post span{
    margin-top: 0;
    margin-bottom: 10px;
    color: #111;
    line-height: 1.2em;
}
.blog-list .blog-post a:hover{
    text-decoration: none;
}
#bio .bio-content p{
    line-height: 2em;
}
#services{
    margin-top: 30px;
}
#services h3{
    margin:40px 0 10px 0;

}
#services p{
    font-size: 20px;
}
#resources{
    padding-top: 30px;
    display: block;
}
#resources .left{
    width:28%;
    margin-right: 40px;
    margin-bottom: 30px;
}
#resources .left img{
height:200px;
margin: 0 auto 25px auto;
display: block; 
width: 227px;
float: none;
}
#resources .left h3{
    font-size: 1.2em;
}

#resources .left p{
    font-size:1em;
}
#resources .left a{
    color: #111;
}

  #resources .left a h3.center-text{
    margin:0px 0 10px 0;
    clear: both;

  }
.tagline{
    line-height: 1.5em;
}
.center-text{
    text-align: center;
}


.phrase a:hover{
    text-decoration: none;
}

.color .center img{
    float: right;
    margin: 25px 0 0 0;
}
a#blognav.active{
    background-color: lightgray;
}

.bio-content{
    clear: both;
}
/* Mobile-specific overrides */
@media (max-width: 768px) {
    .color .center img{
    float: none;
  margin: 0px auto 20px auto;
  display: block;
}
    h2.source-serif-4-home{
        width: 100%;
    }
 .menu-toggle {
    display: block;
    position: absolute;
    top:-10px;
    right:15px;

  }

  #resources .left{
    clear:both;
    width: 90%;
  }


    #resources .left img{
margin:0 auto 15px auto;
display: block;
    }
.blog-post img{
    width: 100%;
}



.blog-list .blog-post{
    width: 100%;
}
.blog-post h1, .blog-post h2{
    line-height: 2em;
    margin-bottom: 0;

}
.blog-post h3, .blog-post span{
    width: 100%;
    line-height: 1.1em;
}
  .desktop-only {
    display: none;
  }

  .mobile-only.open {
    display: flex;
  }


    body {
        font-size: 16px;

    }
    .center img{
        float:none;

    }
    .h2.source-serif-4-home {
        width:90%;
    }
    .left{
        width:90%;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .center {
        width: 90%;
    }

    nav a {
        display: block;
        margin: 5px 0;
    }

    h1,
    h2 {
        font-size: 1.5em;
    }

    form input,
    form textarea,
    form button, form select{
        width: 100%;
        box-sizing: border-box;
    }
}