/*-- -------------------------- -->
<---          Footer            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #footer-1240 {
        padding: var(--sectionPadding);
        box-sizing: border-box;
        background-color: #1a1a1a;
    }
    #footer-1240 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        /* 40px - 64px */
        gap: clamp(2.5rem, 6vw, 4rem);
    }
    #footer-1240 .cs-top {
        width: 100%;
        /* makes the children behave like the parent doesnt exist. They now act as children of the next parent up, in this case the cs-container. That way we can use felxbox to arrange them with the rest of the footer elements */
        display: contents;
    }
    #footer-1240 .cs-logo-group {
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* 20px - 24px */
        gap: clamp(1.25rem, 3vw, 1.5rem);
    }
    #footer-1240 .cs-logo {
        width: 15rem;
        height: auto;
    }
    #footer-1240 .cs-logo img {
        width: 100%;
        height: auto;
    }
    #footer-1240 .cs-logo-text {
        line-height: 1.5em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
        max-width: 75%;
    }
    #footer-1240 .cs-social {
        /* 32px - 80px */
    margin-top: clamp(2rem, 6vw, 5rem);
    display: inline-flex;
    justify-content: flex-start;
    gap: 0.75em;
    }
    #footer-1240 .cs-social-link {
    /* 32px - 52px */
    width: clamp(2rem, 4vw, 3.25rem);
    height: clamp(2rem, 4vw, 3.25rem);
    background-color: #4e4b66;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, background-color 0.3s;
    }
    #footer-1240 .cs-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-0.1875rem);
    }
      #footer-1240 .cs-social-img {
    /* 14px - 24px */
    height: clamp(0.875rem, 2vw, 1.5rem);
    width: auto;
    display: block;
    }
    #footer-1240 .cs-contact-group,
    #footer-1240 .cs-gallery-group {
        text-align: left;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        
    }
    #footer-1240 .cs-header {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        text-align: inherit;
        color: var(--primary);
    }
    #footer-1240 .cs-contact-info {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* 8px - 12px */
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    #footer-1240 .cs-contact-link {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: inherit;
        text-decoration: none;
        margin: 0;
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s;
    }
    #footer-1240 .cs-contact-link:hover {
        color: var(--primary);
    }
    #footer-1240 .cs-icon {
        filter: grayscale(1) brightness(1000%);
        opacity: 0.7;
    }
    #footer-1240 .cs-areas {
        display: flex;
        flex-direction: column;
        margin-top: 8px;
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
        line-height: 25px;
        text-align: left;
        font-size: 17px;
    }
    #footer-1240 .cs-bottom {
        width: 100%;
    }
    #footer-1240 .cs-ul {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* 24px - 40px */
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }
    #footer-1240 .cs-li {
        list-style: none;
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        margin: 0;
        opacity: 0.8;
    }
    #footer-1240 .cs-li-link {
        text-decoration: none;
        color: var(--bodyTextColorWhite);
        transition: color 0.3s;
    }
    #footer-1240 .cs-li-link:hover {
        color: var(--primary);
    }
    #footer-1240 .cs-credit {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: center;
        margin: 0;
        /* 16px - 40px */
        margin-top: clamp(1rem, 4vw, 2.5rem);
        /* 16px - 40px */
        padding-top: clamp(1rem, 4vw, 2.5rem);
        border-top: 1px solid var(--primary);
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
        display: block;
    }
    #footer-1240 .cs-credit-link {
        font-size: inherit;
        line-height: inherit;
        text-decoration: none;
        color: inherit;
        transition: color 0.3s;
    }
    #footer-1240 .cs-credit-link:hover {
        color: var(--primary);
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #footer-1240 .cs-logo-group {
        width: 50%;
        padding-left: 15px;
    }
    #footer-1240 .cs-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3rem;
    }
    #footer-1240 .cs-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
}

                                