.footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #ccfe06; /* Lime-yellow background */
    color: #33789c; /* Calm blue text color */
    padding: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.footer-top-left {
    flex-basis: 60%;
    display: flex; /* Add flexbox to better align content */
    align-items: baseline; /* Vertically align the image */
    justify-content: left; /* Horizontally left the image if no text */
}

.footer-top-right {
    flex-basis: 40%;
}

/* Build a repeating pattern which is equally spaced */
.footer-bottom {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-bottom-section {
    flex-basis: 20%;
}

.contact-us {
    margin: 0px 0; /* Add spacing above and below the link */
    text-align: left; /* Left align text */
}

.email-link {
    text-decoration: none; /* Remove underline from link */
    font-size: var(--scale--1); /* Adjust font size */
    color: #000; /* Set text color (black or any preferred color) */
    font-weight: bold; /* Make the link text bold */
    transition: color 0.3s; /* Smooth transition effect for hover */
}

.email-link:hover {
    color: #007BFF; /* Change to a hover color (e.g., blue) */
}

/* Content specific styles */
.pool-title {
    margin: 0;
    padding-bottom: 8px;
    font-weight: bold;
}

.pool-details {
    margin: 0;
    font-size: var(--scale--1);
    line-height: 1.1rem;
}

.pool-details-payment {
    margin: 0;
    font-size: var(--scale--1);
    line-height: 1.1rem;
    padding-top: 8px;
}
/*
Adds a little custom padding to accommodate the table. Might be better to
get a common style for all sections under the pools
*/
.pool-details-header {
    margin: 0;
    font-size: var(--scale--1);
    line-height: 1.1rem;
    padding-top: 10px;
    padding-bottom: 3px;
    font-weight: bold;
}

.footer-bottom-section .pool-workout-table {
    border-collapse: collapse;
    background-color: var(--color-bg-footer);
    margin-top: 5px;
}

.pool-workout-table-cell {
    padding: 0;
    margin: 0;
    border: 0px solid #000;
    line-height: 1.1rem;
    font-size: var(--scale--1);
}

/* Navigation bottom bar has limited use. Currently a holding space for future use. */

.bottom-bar {
    display: flex;
    flex-direction: var(--heading-orientation);
    flex-wrap: wrap;
    justify-content: space-between; /* Left + Right alignment */

    width: 100%;
    height: var(--bottom-bar-height);
    margin: 0;
    padding: var(--heading-padding);
    box-sizing: border-box;
    border-top: 2px solid #fff;
}
.brand-bottom {
    display: flex;
    align-items: center;
    margin: 0;
    padding: var(--brand-padding);
    font-size: var(--brand-font-size);
    font-weight: bold;
    color: #ffffff;
}

.nav-bottom {
    display: flex;
    flex-direction: var(--heading-orientation);
    gap: 1rem;
    margin: 0;
    padding: var(--nav-padding);
}

.nav-bottom div a {
    font-size: var(--header-nav-font-size);
    text-decoration: none; /* Remove the default underline on links */
    color: #ddd; /* Set link text to white for high contrast */
    font-weight: normal; /* Make the link text bold to stand out */
    transition: color 0.3s; /* Smoothly animate any color change over 0.3 seconds */
}

.nav-bottom a:hover { /* Hover effect for links */
    color: #ffffff;
    text-decoration: underline;
}

.social-media-icons {
    display: flex;
    justify-content: left; /* Left icons */
    gap: 10px; /* Add space between icons */
    padding-top: 5px; /* Add space from the "STAY CONNECTED" text */
}

.social-icon {
    width: 24px; /* Set the size of the icons (adjust as needed) */
    height: 24px;
    cursor: pointer; /* Add a pointer cursor on hover */
    transition: transform 0.2s; /* Smooth hover effect */
}

.social-icon:hover {
    transform: scale(1.2); /* Scale up the icon on hover */
}