:root {
    --main-bg-color: #D5E775; /* Main background color */
    --sidebar-bg-color: darkkhaki; /* Sidebar background color */
    --header-bg-color: olive; /* Header background color */
    --footer-bg-color: #000000; /* Footer background color */
    --active-bg-color: var(--main-bg-color); /* Active link background color */
    --hover-bg-color: var(--main-bg-color); /* Hover link background color */
}

/* Global Styles */
body { 
    font-family: Arial, sans-serif; 
    font-size: 16px;
}

/* Header Styles */
.header {
    display: flex;
    flex-direction: column; /* Ensure column layout */
    align-items: center;
    padding: 10px;
    color: black;
    background-color: var(--header-bg-color);
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center; /* Center the navbar items */
    background-color: #333;
    width: 100%; /* Full width */
    align-items: center; /* Vertically center items */
}

.navbar a {
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    color: white;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Google Translate Styles */
#google_translate_element {
    margin-left: auto; /* Push to the far right */
    padding: 14px 20px;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--sidebar-bg-color);
    flex: 0 0 35%; /* Sidebar takes up 35% of the container's width */
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    padding-bottom: 20px;
    padding: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    text-align: center;
    width: 100%; /* Ensure the list takes full width */
}

.sidebar ul li {
    text-align: center;
}

.sidebar ul li a {
    color: black;
    text-decoration: none;
    padding: 0px;
    display: block;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%; /* Full width for links */
}

/* Active Link Styles */
.sidebar ul li a.active {
    background-color: var(--active-bg-color);
    color: black;
    font-weight: bold;
}

/* Hover Effect */
.sidebar ul li a:hover {
    background-color: var(--hover-bg-color);
}

/* Main content area */
.main {
    flex: 1;
    padding: 20px;
    background-color: var(--main-bg-color);
    overflow-y: auto;
}

/* Ensure images maintain aspect ratio */
.sidebar img, .main img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Footer Styles */
.footer {
    color: white;
    background-color: var(--footer-bg-color);
    text-align: center;
    padding: 20px;
    margin: 0px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.mail, .phone, .copyright {
    font-size: 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
}

/* Flexbox container for the sidebar and content */
.row {
    display: flex; /* Make the container a flex container */
    flex-wrap: nowrap; /* Prevent wrapping */
    width: 100%; /* Ensure it takes up full width */
}

/* Responsive layout */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .navbar a, #google_translate_element {
        text-align: center;
        width: 100%;
    }
}

/* Other Styles */
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #333333;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}

#myBtn:hover {
    background-color: #555;
}

img {
    max-width: 100%;
    height: auto;
    padding: 10px;
}

img.portrait {
    max-height: 300px;
    width: auto;
}

img.landscape {
    max-width: 300px;
    height: auto;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flanking-image {
    height: 100px !important;
    width: auto !important;
    margin: 5px;
}

.uber-container {
    text-align: center;
    padding: 0 10px;
}

.headertitle {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.headersubtitle {
    font-size: 1rem;
    text-align: center;
}
