:root {
    --AGAsidebar-bg-color: #a16d6c; /* Sidebar background color */
    --AGAfooter-bg-color: #333; /* Footer background color */
    --AGAactive-bg-color: var(--AGAmain-bg-color); /* Active link background color */
    --AGAhover-bg-color: var(--AGAmain-bg-color); /* Hover link background color */
    --AGAheader-bg-color: #7f4846;
    --AGAmain-bg-color: #c39897;
    /*dusty rose palette c39897 / a16d6c / 7f4846 */



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

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

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center; /* Center the navbar items */
    background-color: var(--AGAfooter-bg-color);
    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;
}

/* Sidebar Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.row {
  display: flex;
  flex: 1; /* This makes the row grow to fill available space */
  align-items: stretch;
}

.AGAsidebar {
  /*width: 30%;*/
  
  background-color: #a16d6c;
}

.AGAmain {
  width: 70%;
  background-color: #fff;
}

.AGFooter {
  background-color: #ccc;
  padding: 1rem;
  text-align: center;
}
.AGAsidebar ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    text-align: center;
    width: 100%; /* Ensure the list takes full width */
}

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

.AGAsidebar 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 */
.AGAsidebar ul li a.active {
    background-color: var(--AGAactive-bg-color);
    color: black;
    font-weight: bold;
}

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

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

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

/* Footer Styles */
.AGAfooter {
    color: white;
    background-color: var(--AGAfooter-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;
  align-items: stretch; /* Ensures children match height */
}

.AGAsidebar,
.AGAmain {
  min-height: 100%;
}



/* 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;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .AGAsidebar {
    width: 100%;
  }

  .AGAmain {
    width: 100%;
  }
}