@import 'fonts.css';

body {
    font-family: "Merriweather Sans", serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* white background */
}

/* Media query for smaller screens */
@media screen and (max-width: 568px) {

  .sitelogo-field h1 {
    padding-top: 40px;
    padding-bottom: 20px;
    font-size: 28px;
    color: #333;
    font-family: 'Merriweather Sans';
    font-weight: 300;

  }

  .sitelogo-field, a {
    color: inherit;
    text-decoration: none;
  }

nav ul li {
        display: block; /* Display menu items vertically on smaller screens */
        margin-right: 10px; /* Remove right margin to avoid extra space */
        margin-bottom: 0px; /* Add some bottom margin for spacing */
        margin-top: 10px;
      }

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: black;
    font-family: 'Merriweather Sans';
}

nav ul li a {
    color: #333; /* dark links */
    text-decoration: none;
    font-size: 18px; /* Menu items */
    font-weight: 300;
}

nav ul li a.active {
      color: #2274A5;
}

nav ul li p1 {
  color: white;

}

/* for the last of the stacked menu items*/

nav ul li-2 {
    display: block; /* Display menu items vertically on smaller screens */
    margin-right: 10px; /* Remove right margin to avoid extra space */
    margin-bottom: 0px; /* Add some bottom margin for spacing */
    margin-top: 10px;
  }

nav ul li-2 a {
color: #333; /* dark links */
text-decoration: none;
font-size: 18px; /* Menu items */
font-weight: 300;
}

nav ul li-2 a.active {
  color: #2274A5;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: relative; /* Ensure positioning context for the pseudo-element */
    font-weight: 300;
    color: #333; /* Set the text color */
}

header::before {
    content: ""; /* Add content to the pseudo-element */
    position: absolute; /* Position the pseudo-element */
    top: 0;
    left: 0;
    width: 100%; /* Set the width to cover the header */
    height: 100%; /* Set the height to cover the header */
    background-image: url(/images/banner5.jpg); /* Specify the image URL */
    border-radius: 8px;
    background-size: cover; /* Ensure the image covers the entire header */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: center center; /* Center the image */
    opacity: 0.08; /* Set the opacity to 20% */
    z-index: -1; /* Ensure the pseudo-element is behind the header content */
}

p a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #007AFC;
}

.greytext {
  color: #808080;
}

.sidenav {
  float: right;
  padding: 20px 20px;
  font-weight: 300;
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 300;
  color: #333333;
  max-width: 80px;

}

.sidenav a {
color: #007AFC;
text-decoration: none;
}

.sidenav a:hover {
color: black;
text-decoration: none;
}

.sidenav a:active {
color:#000000;
text-decoration: none;
}

.navtitle {
  font-size: 16px;
}

.smallnav {
  font-size: 14.5px;
  color: grey;
}

.smallnav p {
    font-size: 13px;
    color: black;
    line-height: 1.4em;
    font-family: 'Merriweather Sans', sans-serif !important;
    }

.recent-posts {
  margin-top: 7px;
  max-width: 80px;
  line-height: 21px;
}

.recent-posts a {
  color: grey;
}

.navtitle-earlier {
}

.earlier-posts {
  max-width: 80px;
  line-height: 26px;
}

.earlier-posts a {
  color: grey;
}


/*font, layout for research and writing*/
p {
  color: #2c2c2a;
  font-family: 'Martel', serif !important;
  font-weight: 300 !important;
  font-size: 15px;
  line-height: 1.6em;

  }

  p a {
    color: #007AFC;
    text-decoration-color: #007AFC;
  }

  p a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #007AFC;
  }

  .content a {
  }

  .content a:hover {
  color:#007AFC;
  }

.content a:active {
 color:grey;
 text-decoration: none;
}

.content img[src*="image"] {
  border-radius: 5px;
}

.content img[src*="image"] {
  max-width: 30%;
}

.content img[src*="image"] {
  display: block;
  float: left;
  margin-top: 9px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.content img[src*="image"]  {
  box-shadow: 0 0 10px .2px grey;
  }

/*font, layout for posts, mainpage*/

.post-date {
  font-size: .9em;
  font-weight: 300;
  color: grey;
  line-height: 2.2em;
  font-family: 'Merriweather Sans';
}

.nonpost-content {
  padding: 0px 30px 40px 17px;
  float: center;
  max-width: 665px;
  margin-left: auto;
  margin-right: auto;
}

.nonpost-content p {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 300;
}

.nonpost-content h3 {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Merriweather Sans', serif;
  color: #333333;
  padding-top: 15px;
}

.post-content {
  padding: 31px 30px 40px 18px;
  float: center;
  max-width: 665px;
  margin-left: auto;
  margin-right: auto;
}

.post-content p {
  font-family: 'Martel', serif;
  font-weight: 300;
  font-size: 1em;
  line-height: 1.65em;
  color: black;
}

.post-title {
  font-size: 22px;
  letter-spacing: 0.005rem;
  font-weight: 500;
  line-height: 32px;
  font-family: 'Merriweather Sans', serif;
  color: #333333;
}

.post-title a {
   color: #333333;
   text-decoration: none;
  }

.post-title a:hover {
      color: rgba(0, 0, 0, 0.8);
       text-decoration: none;
      }

.post-content h3 {
  font-size: 19px;
  font-weight: 400;
  font-style: bold;
  font-family: 'Merriweather Sans', serif;
  color: #333333;
  line-height: 1.5em;
  padding-top: 14px;
}

.read-more {
  font-size: .9rem;
  font-weight: normal;
}

.read-more a {
 color:#000000;
 text-decoration: none;
}

.read-more a:hover {
color:#417dc1;
text-decoration: none;
}

.read-more a:active {
 color:#417dc1;
 text-decoration: none;
}

.archive {
  line-height: 30px;
  padding: 19px 60px 40px 0px;
  margin-left: 20px;
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 300;
  }

.archive a {
   color: #333333;
   text-decoration: none;
  }

.archive-page-title {
  font-size: 1.2rem;
  font-weight: 300;
}

.archive__group-year-header {
  font-size: 1rem;
  font-weight: 400;

}

.archive__group-month-header {
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
}

.archive__post-title {
    font-size: .95rem;
    font-weight: 300;
    line-height: 24px;
    padding-top: 10px;
    font-family: 'Merriweather Sans', serif;
}

.archive__post-date {
    font-size: .8rem;
    color:grey;
}

.archive__post-read-time {
    font-size: .7rem;
}

.date-page-title h2 {
  font-size: 1.1em;
  font-weight: 300;
  font-style: bold;
  font-family: 'Merriweather Sans', serif;
  color: grey;
}

.topic {
line-height: 30px;
padding: 15px 40px 40px 0px;
font-family: 'Merriweather Sans';
font-weight: 300;
color: black !important;
}

.topic-page-title h2 {
  font-size: 1.1em;
  font-weight: 300;
  font-style: bold;
  padding-left: 20px;
  font-family: 'Merriweather Sans', serif;
  color: grey;
}

.topic ul {
  margin-left: -15px;
}

.topicword {
  font-size: 1.1em;
  padding-top: 15px;
  padding-bottom: 5px;
  font-family: 'Merriweather Sans', serif;
}

.topic a {
   color: #333333;
   text-decoration: none;
  }

.topic-post {
      font-size: .9em;
      max-width: 480px;
  }

.topic__post-date {
      font-size: .9rem;
      color: grey;
  }

blockquote {
  width:90%;
  margin:20px auto;
  padding:0px 30px 0px 12px;
  border-left:6px solid #e5e4e2;
  line-height:27px;
  position: relative;
}

.page-nav a {
font-family: 'Merriweather Sans', serif;
font-weight: 300;
font-size: .9em;
 color:grey;
 text-decoration: none;
}

.page-nav a:hover {
color:#417dc1;
text-decoration: none;
}

.page-nav a:active {
 color:#417dc1;
 text-decoration: none;
}

.readings {
  font-weight: 700;
  max-width: 200px;

}

.float-container {
}

.float-child1 {
    width: 100%;
}

.float-child2 {
    width: 100%;
    float: left;
}

.readings img[src*="image"] {
  border-radius: 5px;
  margin-bottom: 20px;
}

.readings img[src*="image"] {
  max-width: 100%;
  }

.readings img[src*="image"] {
  float: left;
}

.readings img[src*="image"]  {
  box-shadow: 0 0 5px .2px grey;
  }

  .bottomhomelinks {
    text-align: center;
  }
  .bottomhomelinks a {
    font-family: 'Merriweather Sans', serif;
    font-weight: 300;
     color:black;
     text-decoration: none;
    }

  .bottomhomelinks a:hover {
    color:#417dc1;
    text-decoration: none;
    }

  .bottomhomelinks a:active {
     color:#417dc1;
     text-decoration: none;
    }

    .sharing-tw {
      float:left;
      width:15%;
      overflow:hidden;
      }

    .sharing-fb {
        float:left;
        width: 15%;
        overflow:hidden;
      }

      .svg-icon {
        width: 1.3em;
        height: 1.3em;
      }

      .svg-icon path,
      .svg-icon polygon,
      .svg-icon rect {
        fill: #4691f6;
      }

      .svg-icon circle {
        stroke: #4691f6;
        stroke-width: 1;
      }

      .svg-icon {
      width: 1.3em;
      height: 1.3em;
    }

    .svg-icon path,
    .svg-icon polygon,
    .svg-icon rect {
      fill: #4691f6;
    }

    .svg-icon circle {
      stroke: #4691f6;
      stroke-width: 1;
    }

    .svg-icon {
      width: 1.3em;
      height: 1.3em;
    }

    .svg-icon path,
    .svg-icon polygon,
    .svg-icon rect {
      fill: #4691f6;
    }

    .svg-icon circle {
      stroke: #4691f6;
      stroke-width: 1;
    }

    /* Dark mode styles */
    @media (prefers-color-scheme: dark) {

        body {
        background-color: #333333; /* Dark background */

        header h1, nav ul li a {
            color: white !important; /*  text color */
        }

        nav ul li p1 {
          color: black !important;

        }

        header h1, nav ul li-2 a {
            color: white !important; /* White text color */
        }


        h2, h3, h4 {
          color: #81BEF7 !important;
        }


      a {
              color: #81BEF7; /* Link color */
              text-decoration: none; /* Remove underline */
          }}


          p {
            color: white;

            }

          p a {
            color: #81BEF7;
            text-decoration-color: #81BEF7;
          }

          p a:hover {
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-decoration-color: #81BEF7;
          }

          .content p {
            color: white;
          }

          .content a {
          }

          .content a:hover {
          color: #81BEF7;
          }

          .content a:active {
           color:grey;
           text-decoration: none;
          }

          .sidenav {
            color: white;
          }


          .sidenav a {
             color: #81BEF7 !important;
             text-decoration: none;
            }

            .sidenav a:hover {
            color: white;
            text-decoration: none;
            }

            .sidenav a:active {
              color:#000000;
              text-decoration: none;
              }

                      .smallnav p {
                          color: white;
                          }


                      .recent-posts a {
                        color: #d3d3d3;
                      }

                      .sitelogo-field h1 {
                        color: white;
                      }

                      .sitelogo-field, a {
                        color: inherit;
                        text-decoration: none;
                      }

                      .post-title a {
                        color: #81BEF7;
                             }

                             .post-title {
                              color: #81BEF7;
                             }

                             .post-date {
                               color: #d3d3d3;
                             }

                             .archive {
                               color: white;
                             }

                             .archive a {
                                color: white;
                                                 }

                             .archive__group-year-header {
                                 color: white;
                             }

                             .archive__post-title {
                                  color: white;
                             }

                             .archive__post-date {
                                 color: #d3d3d3;
                             }


                             .topic {
                             color: white;
                             }

                             .topic-page-title h2 {
                               color: white;
                             }

                             .topicword {
                               color: white;
                             }


                             .topic a {
                                color: white;
                                text-decoration: none;
                               }

                             .topic-post {
                                   color: white;
                               }

                             .topic__post-date {
                                   color: #d3d3d3;
                               }
