/* Default styles */

/* Add your default styles here */

/* Media query for smaller screens */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: row; /* Keep items in a horizontal line */
    }

    .nav-menu {
        min-width: 100%; /* Set a minimum width for the navigation bar */
        overflow: auto; /* Add horizontal scroll if needed on smaller screens */
    }

    .nav-menu li {
        margin-right: 10px; /* Adjust the margin to control the spacing between items */
    }

    .nav-menu a {
        font-size: 16px; /* Optionally, adjust font size for smaller screens */
    }
}


body {
    font-family: 'Miller Daily', serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    font-weight: normal;
}

.nav-menu ul {
    border: none;
}

header {
    background-color: #fff;
    color: #333;
    padding: 10px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.headline {
    font-family: 'Postoni', 'Garamond', serif !important;
    font-size: 50px !important;
    text-align: center;
    margin-top: 0px !important;
    font-weight: 500;
}

.byline {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.nav-bar {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}


.nav-logo {
    text-align: center;
    padding: 10px 0;
}

.nav-logo img {
    max-width: 200px; /* Adjust the max-width to make the logo bigger */
    display: inline-block;
}


.nav-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin-right: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
}

footer .nav-menu a:hover {
    text-decoration: none !important;
}

.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

article {
    margin-top: 20px;
}

.article-image {
    width: 100%;
    height: auto;
    display: block;
}

.headline {
    font-size: 24px;
    margin-top: 20px;
}

.article-text {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 10px;
}

.centered-chart {
    margin: 0 auto;
    display: block;
    width: 80%;
    height: 600px;
}

img.nav-logo-image {
    max-width: 150px;
}

.subheading {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.new-subheading {
    text-align: left;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.leaf {
    max-width: 650px;
    height: auto;
    margin-right: 25px;
}

.containerw {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0;
}

footer {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

footer .nav-logo img {
    max-width: 100px;
}

footer .nav-menu ul {
    list-style: none;
    padding: 0;
}

footer .nav-menu li {
    display: inline;
    margin-right: 20px;
}

footer .nav-menu a {
    text-decoration: none;
    font-weight: bold;
}

footer .nav-menu a:hover {
    text-decoration: underline;
}

.spacer {
    height: 50px;
}

.spacer2 {
    height: 20px;
}

.divider {
    border: 0.5px solid #000;
    margin: 10px 0;
}

.image-label {
    display: inline-block;
    text-align: center;
    font-size: 20px;
    margin-top: 53px;
    font-style: italic;
    background-color: #f8f8f8;
    padding: 5px 10px;
    border-radius: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.warning-box {
    text-align: center;
    border: 1px solid #ff0000;
    background-color: #ffeeee;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.warning-paragraph {
    margin: 0;
}

.chart-caption {
    font-style: italic;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.about-author {
    background-color: #f8f8f8;
    padding: 40px 0;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(122, 122, 122, 0.1); /* Add the box-shadow property */
}

.author-image img {
    max-width: 100%;
    border-radius: 50%;
}

.author-bio {
    text-align: left;
    padding: 20px;
}

.author-bio h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.author-bio p {
    font-size: 16px;
    line-height: 1.5;
}

.image-above-paragraph {
    max-width: 100%;
}

.author-link {
    color: rgb(22, 90, 113);
    text-decoration: none;
    cursor: pointer;
}

.author-link:hover {
    text-decoration: underline;
}

h3{
    font-weight: bold;
}

.disclaimer {
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

a {
    text-decoration: none;
    color: grey;
}

.nav-logo:hover {
    cursor: pointer;
}

@keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(-70px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

.leaf {
    animation: slideIn 1.5s ease-in-out forwards;
}

.ok{
    color: black !important;
}
