header {
    height: 104px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 20px; /* Add a 20px right margin */
    width: calc(100% - 20px); /* Set the width to 100% minus the right margin */
    /* background-color: #f0f0f0; */
    background: linear-gradient(to bottom, #ffcccc, #ffffcc); /* Light red to light yellow */
    background-size: 200% 100%; /* 200% width to cover the entire box */
    position: fixed; /* Keep the header fixed at the top of the viewport */
    top: 0;
}

header h2 {
    padding-left: 10%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: -apple-system,BlinkMacSystemFont, 'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    overflow: hidden;
}

#mainContent {
    display: flex;
    flex-wrap: wrap;
}

#content {
    width: 85%;
    /* float: right; */
    height: calc(100vh - 160px); /* Set a specific height for the content */
    overflow: auto; /* Enable vertical scroll for the content */
    scrollbar-width: thin;
    padding: 20px;
    margin-top: 105px;
    margin-left: 16%;
    color: #686868;
    font-family: -apple-system,BlinkMacSystemFont, 'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: 400;
    line-height: 1.618;
    background: linear-gradient(to left, #ffcccc, #ffffcc); /* Light red to light yellow */
    background-size: 200% 100%; /* 200% width to cover the entire box */
}

#sidebar {
    width: 15%;
    /* float: left; */
    height: calc(100vh - 120px); /* Set a specific height for the content */
    overflow-y: auto; /* Enable vertical scroll for the content */
    position: fixed; /* Keep the sidebar fixed on the screen */
    scrollbar-width: thin;
    padding-left: 10px;
    padding-right: 5px;
    margin-top: 105px;
    margin-left: 5px;
    background: linear-gradient(to right, #ffcccc, #ffffcc); /* Light red to light yellow */
    background-size: 200% 100%; /* 200% width to cover the entire box */
    transition: background-position 0.3s ease; /* Add a smooth transition effect */
}

.menuList {
    list-style: none;
    padding: 0;
}

.menuListItem {
    margin-bottom: 10px;
    font-family: -apple-system,BlinkMacSystemFont, 'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.menuListItem:hover {
    color: rgb(102, 101, 101); /* Darker blue color on hover */
}


.forras {
    margin: 10px 0; /* Add some spacing between paragraphs */
    font-size: 10px; /* Adjust the font size as needed */
    text-align: center;
}

.indent {
    text-indent: 2em; /* You can adjust the value according to your preference */
}

.mantra-columns {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.left-column,
.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ✅ Responsive breakpoint */
@media (max-width: 768px) {
  .mantra-columns {
    flex-direction: column; /* stack vertically on small screens */
    gap: 2rem;
  }
}

/* #mantra {
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
} */

.mantra h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.1rem;
}

.mantra {
    padding-left: 40px; /* Indent the text by 2 tabs */
    margin-top: 20px; /* Add margin at the top for spacing */
    line-height: 1.5; /* Set line height for better readability */
    white-space: pre-line; /*treat /n as line-breaks*/
}

.mantra p {
    margin-bottom: 20px; /* Add margin between verses */
}

.week-link {
    color: hsl(9, 60%, 34%);
    text-decoration: none;
}
.week-link:hover {
    text-decoration: underline;
}

/* Responsive Table Styles - Transparent */
.table-container {
    /* width: 100%; */
    overflow-x: auto; /* horizontal scroll on small screens */
    margin: 20px auto;
    text-align: center;
}

.table-cosmic {
    /* width: 100%; */
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    min-width: 400px;
    display: inline-table;
}

.table-cosmic th,
.table-cosmic td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ccc; /* subtle borders */
}

.table-cosmic thead th {
    font-weight: bold;
}

.table-cosmic tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05); /* slight highlight on hover */
}

.contact {
    position: absolute;
    bottom: 12px; /* Align to the bottom of the header */
    right: 20px; /* Align to the right side with some margin */
    display: inline-block; /* Display as inline block */
    vertical-align: middle; /* Align to the bottom */
    height: 15px;
    font-family: -apple-system,BlinkMacSystemFont, 'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-size: smaller;
}

.contact img {
    vertical-align: middle; /* Align the image vertically in the middle */
    height: 100%; /* Set the height of the image to fill its container */
}

.horizontal_centered {
    display: block;      /* removes inline spacing */
    margin: 0 auto;      /* centers horizontally */
    max-width: 100%;     /* optional: responsive */
    height: auto;
    padding: 10px 0 20px 0;
}

/* Media query for small screens */
@media screen and (max-width: 1024px) {
    #sidebar {
        width: 30%;
    }
    
    #content {
        width: 70%;
        margin-left: 32%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    header {
        margin: 0;
        padding: 0;
        width: 96%;
        height: 120px;
    }

    .contact {
        margin: 0;
        padding: 0;
        font-size: x-small;
        height: 12px;
    }

    #mainContent {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #sidebar {
        height: 250px;
    }
    
    #sidebar, #content {
        width: 100%;
        margin-left: 0;
        position: static; /* Changing sidebar to normal flow */
        float: none;
        overflow-y: auto;
    }

    #content {
        width: 90%;
        margin-top: 0;
        margin-right: 0;
    }
}
