/* Before login */
.footer-wrapper {
    background-color: #333333;
    width: 100%;
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    color: white;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1279px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 2.5rem;
    }
    .footer-container {
        padding: 2.5rem 0rem !important;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 80%;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        gap: 2.5rem;
        width: auto;
    }
    .footer-container {
        padding: 2.5rem 2.5rem;
    }
}

.footer-section {
    font-size: 0.875rem;
    font-weight: 400;
}

.footer-section-title {
    font-weight: 400;
    margin-bottom: 1rem;
    display: block;
    font-size: 12px;
}

.footer-menu {
    padding-left: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: row;
}

@media (min-width: 768px) {
    .footer-menu {
        flex-direction: column;
    }
}

.menu-item,
.menu-link {
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 14px;
}

.menu-item:hover,
.menu-link:hover {
    color: white !important;
    text-underline-offset: 4px;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 45px;
}

@media (min-width: 1279px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-policy {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

@media (min-width: 768px) and (max-width: 1279px) {
    .policy-item {
        font-size: 0.875rem;
    }
    .footer-policy {
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-copy {
    text-align: end;
    font-size: 0.75rem;
}
/* For IOS 14  */

@media only screen and (min-width: 767px) and (max-width: 1279px) {
    .footer-top {
        gap: 0px;
    }
    .footer-top > *:not(:last-child) {
        margin-bottom: 24px;
    }
    .footer-brand {
        gap: 0px;
    }
    .footer-brand > *:not(:last-child) {
        margin-bottom: 16px;
    }
    .footer-social {
        gap: 0px;
    }
    .footer-social > *:not(:last-child) {
        margin-right: 16px;
    }
    .footer-links {
        gap: 0px;
    }
    .footer-links > *:not(:last-child) {
        margin-right: 40px;
    }
    .footer-menu {
        gap: 0px;
    }
    .footer-menu > *:not(:last-child) {
        margin-bottom: 16px;
    }
    .footer-policy {
        gap: 0px;
    }
    .footer-policy > *:not(:last-child) {
        margin-right: 40px;
    }
}
@media only screen and (max-width: 767px) {
    .footer-top {
        flex-direction: column;
        gap: 0px;
    }
    .footer-top > *:not(:last-child) {
        margin-bottom: 24px;
    }
    .footer-brand {
        gap: 0px;
    }
    .footer-brand > *:not(:last-child) {
        margin-bottom: 16px;
    }
    .footer-social {
        gap: 0px;
    }
    .footer-social > *:not(:last-child) {
        margin-right: 16px;
    }
    .footer-links {
        gap: 0px;
    }
    .footer-links > *:not(:last-child) {
        margin-bottom: 24px;
    }
    .footer-policy {
        gap: 0px;
    }
    .footer-policy > *:not(:last-child) {
        margin-right: 24px;
    }
    .footer-menu {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, max-content));
    }
    .footer-menu > * {
        width: fit-content;
    }
    .policy-item {
        gap: 0px;
    }
    .policy-item > * {
        width: fit-content;
    }
    .policy-item *:not(:last-child) {
        margin-right: 4px;
    }
}
