.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    margin-top: auto;
    padding-top: 40px;
}

.footer_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.footer_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer_heading {
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    color: #2888FF;
}


.footer_text {
    color: #000000;
    margin-bottom: 12px;
    display: block;
}

.footer_link {
    color: #000000;
    margin-bottom: 5px;
    display: block;
    padding: 5px 0;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .footer_link:hover {
        color: var(--secondary-color);
        padding-left: 8px;
    }
}

.footer_bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    background: #181818;
    padding-bottom: 20px;
}


.footer_icon_box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer_icon {
    width: 20px;
    height: 20px;
    display: block;
    margin-right: 0.7em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer_icon1 {
    background-image: url(/myiq/static/img/email_b.png);
}

.footer_icon2 {
    background-image: url(/myiq/static/img/phobe_b.png);
}

.play_icon {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

.footer-copyright-svg {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

.footer-copyright-svg > div {
    width: 47px;
    height: 24px;
    margin-right: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 3px;
}

.footer-copyright-svg > div > .svg {
    display: block;
    /* width: 80%; */
    /* height: 67%; */
}

.play_icon_pc {
    display: block;
}

.play_icon_m {
    display: none;
}

@media (max-width: 768px) {

    .footer_container {
        padding: 0 4vw;
    }

    .footer_icon_box {
        font-size: 3.5vw;
    }

    .footer_icon {
        width: 3.5vw;
        height: 3.5vw;
    }

    .footer_section {
        max-width: 87%;
    }

    .footer_bottom {
        padding-top: 3.5vw;
        margin-top: 0;
    }


    footer ul {
        display: flex;
        flex-wrap: wrap;
        padding: 5vw 0;
        border-top: 1px solid #474747;
        width: 100%;
    }


    footer li {
        margin-right: 5vw;
        position: relative;
    }


    footer li:not(:last-child)::after {
        position: absolute;
        right: -1em;
        content: "/";
        margin-left: -1vw;
        color: #8a8a8a;
        margin-top: -6vw;
        font-weight: 800;
        line-height: 5vw;
    }

    .footer-language .language-trigger {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
        color: #FFFFFF;
    }

    .play_icon_pc {
        display: none;
    }

    .play_icon_m {
        display: block;
        margin-left: 2vw;
        display: flex;
    }

    .footer-copyright-svg {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0;
    }

    .footer-copyright-svg > div {
        width: 8vw;
        height: 4vw;
        margin-right: 4vw;
        background-color: #FFFFFF;
        border-radius: 0.5vw;
    }

    .footer {
        padding-top: 5vw;
        background-color: #181818;
        padding: 5vw 4vw;
        padding-bottom: 0;
    }

    .footer_text {
        color: #FFFFFF;
    }

    .footer_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 5vw;
        margin-bottom: 0;
    }

    .footer-language {
        border: 1px solid #A6A6A6;
        width: 50vw;
        margin-top: 0;
    }

    .footer-language-box {
        display: flex;
        margin-top: 6vw;
    }

    .footer-language-box .current-language {
        color: #FFFFFF !important;
    }

    .footer_icon1 {
        background-image: url(/myiq/static/img/email_l.png);
    }

    .footer_icon2 {
        background-image: url(/myiq/static/img/phobe_l.png);
    }

    .footer_link {
        color: #999999;
        padding: 0;
        font-size: 3.5vw;
    }

    .footer_section > .footer_heading {
        display: none;
    }

    .footer_section:nth-child(1) {
        display: none;
    }

    .login_start {
        display: none;
    }

}