html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    line-height: 28px;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
    color: rgb(32, 34, 36);
    color: #000;
    font-family: "Heebo", sans-serif;
    font-optical-sizing: auto;
    font-size: 15px;
    line-height: 1.6;
    color: #58575B;
    color: #49484b;
    background-color: #F6F7F2;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

#loader {
    border-top-color: #91820b;
}
  
#loader:before {
    border-top-color: #91820b;
}

#loader:after {
    border-top-color: #91820b;
}


body, button, input, optgroup, select, textarea {
    font-size: 1.2rem;
    line-height: 1.6;
}

h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    letter-spacing: 1px;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 1.5rem;
    text-transform: none;
    line-height: 1.4;
}

.logo {
    width: 150px;
    height: 41px;
    padding-top: 0px !important;
}

.logo a {
    border: none !important;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Media query for screens larger than 768px (non-mobile devices) */
@media (min-width: 769px) {
    .logo {
        height: 80px;
        width: auto;
    }
}

/* Media query for screens larger than 1037px */
@media (min-width: 1037px) {
    .inner-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

#wrapper {
    padding: 50px 0;
}


#bernd_menu>ul>li>a {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
}

#bernd_menu>ul>li>a:after {
    border-bottom: none;
}

.margin-xlarge {
    margin-top: 7.5em;
    margin-bottom: 7.5em;
}

.margin-small {
    margin-top: 3em;
    margin-bottom: 3em;
}

.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.shadowed-image {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
    padding: 8px;
}

.btn.btn-black {
    background: #121212;
    color: #fff;
    outline: none;
}

.btn.btn-black:hover {
    background-color: #91820b;
}

.btn.btn-black:active {
    background-color: #91820b;
    color: #fff;
}

.btn.btn-black:focus {
    outline: none;
    box-shadow: none;
}

.btn.btn-xlarge {
    padding: 1em 2em;
    font-size: 0.9em;
}

.btn.btn-rounded,
.btn.btn-rounded::after {
  border-radius: 8px;
}

section#impact, section#sign-up {
    background-color: #ebeee3;
}

/* Hero */
.home-hero {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 630px;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.info {
    text-align: center;
    color: #fff;
    height: 100%;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info h1 {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Media query for screens up to 768px (typical mobile devices) */
@media (max-width: 768px) {
    .info h1 {
        font-size: 24px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }
}

/* Homepage Quote */
#quote {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 700px;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.quote-content {
    color: #fff;
    z-index: 1;
    word-spacing: 5px;
    letter-spacing: 2.5px;
    text-align: center;
}

.quote-text {
    font-size: 24px;
    margin-bottom: 20px;
}

.quote-mark {
    font-size: 38px;
    color: #fff;
    margin-bottom: 10px;
}

.quote {
    margin-left: 20px;
    margin-right: 20px;
}

.quote-author {
    font-style: italic;
    color: #fff;
}

/* Latest Blog */
#latest-blog article h3.post-title {
    font-size: 1.5em;
}

#latest-blog .post-item a.image-hvr-effect {
    border-radius: 10px;
}

#latest-blog .post-item a {
    color: #91820b;
}

.image-hvr-effect {
    display: flex;
    overflow: hidden;
}

.image-hvr-effect img.post-image {
    transform: scale(1.1);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

#latest-blog img {
    display: inline-block;
    border: 0;
    height: auto;
    width: 100%;
    max-width: 100%;
    vertical-align: middle;
}

#latest-blog .post-content h3.post-title {
    margin-bottom: 10px;
}

h2, .h2 {
    font-size: 1.8em;
}

h3, .h3 {
    font-size: 1.5em;
}

.block-related_post ul {
    list-style-type: none;
    padding-left: 0;
}

.block-related_post li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: #91820b;
    border-bottom: 1px solid #79797a;
    border-bottom: 0.8px solid #647263;
}

.block-related_post li a {
    color: #91820b;
    font-size: 1.2em;
}

@media only screen and (max-width: 768px) {
    .quote-text {
        font-size: 18px;
        margin-bottom: 15px; 
    }

    .quote-mark {
        font-size: 28px; 
        margin-bottom: 5px; 
    }

    .quote {
        margin-left: 10px; 
        margin-right: 10px;
    }
}

footer#site-footer {
    margin-top: 150px;
    background: #647263;
}

footer#site-footer .copyright {
    font-size: 0.9em;
}

footer#site-footer .social-icons a i {
    font-size: 30px;
}

footer#site-footer .social-icons a i:hover {
    color: #91820b;
}

#scroll-up {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 120000;
    outline: none;
    background-color: #000;
    padding: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Media query for screens up to 768px (typical mobile devices) */
@media (max-width: 768px) {
    #scroll-up {
        width: 60px;
        height: 60px;
        bottom: 60px;
    }
}

#scroll-up:hover {
    background-color: #91820b;
}

#scroll-up .fa-arrow-up,
#scroll-up .fa-up-long{
    color: #fff;
}

/* Blog */
#latest-blog article h3.post-title {
    font-size: 1.5em;
}

.blog-minimal .post-info,
.blog-minimal .entry-title a {
    color: #49484b;
}

.post-title {
    font-size: 2.2em;
    margin-bottom: 0;
    color: #3c3b3e;
}

h2.entry-sub-title {
    font-size: 1.8em;
    color: #3c3b3e;
    text-align: left;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.post-img img {
    height: auto;
    margin-bottom: 27px;
    text-align: left;
    max-width: 100%;
    display: block;
}

.block-text_content {
    margin-bottom: 40px;
}

.block-text_content p {
    font-size: 20px;
}

.page-main-container {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .page-main-container {
        margin-top: 30px;
    }
}

.post .post-title,
.blog-minimal h2.entry-title a {
    color: #91820b;
}

.post-detail .post-author {
    color: #0d0d0e;
}

.post-detail .post-date {
    color: #71717a;
}

.post-detail .post {
    margin-bottom: 1rem;
    border-bottom: 1px solid;
    border-bottom-color: rgba(88, 87, 91, .25)
}

.post-details div {
    color: #000;
    font-size: 15px;
}

.post .blockquote {
    padding: 20px;
    border-left: 5px solid #647263;
    border-left: 5px solid #a79405;
    background-color: #cdd2cd;
}

.post .blockquote {
    font-size: 20px;
}

.quote-mark {
    font-weight: 300px;
    color: #3c3b3e;
}

.post footer.blockquote-footer {
    margin-top: 10px;
    color: #6c757d;
    color: white;
    padding: 10px;
    background-color: #717e76;
}

@media only screen and (max-width: 768px) {
    .margin-xlarge {
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

@media (max-width: 768px) {
    .image-content {
        margin-bottom: 30px;
    }
}

.contact-form select {
    background: #fdfdfd;
    height: 50px;
    width: 100%;
    margin-bottom: 5px;
    border: 1px solid #f3f3f3;
    color: #49484b;
    font-weight: 300;
    font-size: 13px;
    padding: 5px 20px;
    outline: none;
    -webkit-appearance: none; /* Removes default dropdown arrow on some browsers */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="%23000000"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 16px;
    padding-right: 40px; /* Space for the dropdown arrow */
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    transition: all 0.3s !important;
}

.contact-form input[type='text']::placeholder,
.contact-form input[type='email']::placeholder,
.contact-form input[type='textarea']::placeholder,
.contact-form select::placeholder,
.contact-form input, .contact-form textarea, .contact-form select {
    color: #49484b;
}

@media only screen and (max-width: 768px) {
    .title-box-page {
        font-size: 16px;
    }
}


/* Events */
.event-card, .event-details, .event-item {
    background-color: #F6F7F2;
}

.event-item h5.card-title {
    margin-bottom: 1rem;
}

.event-card h5.card-title {
    margin-bottom: 1.5rem;
}

.event-card h5.card-title a {
    color: #91820b;
}

a.site-link {
    color: #91820b;
}

.event-status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: #91820b;
    border-radius: 1.5rem;
}

.no-events-yet {
    margin: 100px 0;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #F6F7F2;
}

.no-events-yet h4 {
    color: #49484b;
    font-weight: bold;
}

.past-event-link {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 0.8px solid #647263;
}


/* Styles for error page */
.error-page {
    text-align: center;
    padding: 50px 30px;
    margin-top: 100px;
    margin-bottom: 300px;
}

.error-title {
    font-size: 3em;
    color: #3b3636;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 1.5em;
    color: #6c6a6a;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .error-title {
        font-size: 2em;
    }

    .error-message h3 {
        font-size: 1.1em;
    }
}

#bernd_menu ul li.link-active a {
    color: #91820b;
    font-weight: bold;
}