footer {
    background-color: #161e35;
    color: white;
    padding: 5vw 0;
}

footer p, footer h2, footer a {
    margin: 0 0 1.2vw 0;
}

footer h2 {
    font-size: 1.5vw;
}

footer > div {
    display: flex;
    flex-direction: row;
}

footer > div > div {
    width: 50%;
}

#footer-1-cnt {
    display: flex;
    flex-direction: column;
}

#footer-1-cnt img {
    width: 22%;
}

#footer-1-cnt p:nth-child(2) {
    color: #B0B0B0;
    margin-top: 1.2vw;
}

#privacy-code-cnt {
    display: flex;
}

#privacy-code-cnt a {
    text-decoration: underline;
    display: block;
    color: white;
    margin-right: 8%;
}

#footer-2-cnt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
} 

#footer-2-cnt > div {
    width: 30%;
}

#footer-2-cnt > div:nth-child(1) a {
    text-decoration: underline;
    display: block;
    color: white;
}

#footer-2-cnt > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

#footer-2-cnt > div:nth-child(2) a {
    margin-top: 1.2vw;
    cursor: pointer;
}

#footer-2-cnt > div:nth-child(3) {
    width: min-content;
}

#footer-2-cnt > div:nth-child(3) h2 {
    width: max-content;
}

#footer-2-cnt > div:nth-child(3) div {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-between;
    align-items: end;
}

#footer-2-cnt > div:nth-child(3) div a {
    width: 40%;
}

#footer-2-cnt > div:nth-child(3) div a img {
    width: 100%;
}

@media (max-width:767px) {
    footer {
        padding: 40px 0;
    }

    footer > div {
        flex-direction: column;
    }

    footer > div > div {
        width: 100%;
        align-items: center;
    }

    #footer-2-cnt {
        flex-direction: column;
    }

    #footer-2-cnt > div:first-child {
        display: none;
    }

    #footer-2-cnt > div:nth-child(2) {
        width: max-content;
        align-items: center;
        margin: 30px 0;
    }

    #footer-2-cnt > div:nth-child(3) {
        width: 30%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    #privacy-code-cnt {
        width: 100%;
        justify-content: space-around;
    }

    #privacy-code-cnt a {
        margin: 0;
    }

    footer h2 {
        font-size: 20px;
    }

    #footer-2-cnt > div:nth-child(3) div {
        justify-content: center;
    }
}