* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}


/* footer */

footer {
    display: flex;
    flex-direction: column;
    background: #0A1C2D;
    width: 100%;
    /* padding-block: 45px; */
    overflow-x: hidden;
}

#footer_div1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 60px;
}

ul {
    padding-right: unset;
}

#logo {
    width: 145px;
}

#footer_div1>div>ul>li {
    padding: 8px 0px;
}

#footer_div1 a,
#footer_div1 p {
    text-decoration: none;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: white;
    margin-block: unset !important;
    text-align: unset !important;
    padding-block: unset !important;
}

li {
    list-style-type: none;
}

#footer_div1 h3 {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 19px;
    color: #FFFFFF;
}

#footer_div1>div:nth-child(1) {
    width: 20%;
}

#footer_div1>div:nth-child(2),
#footer_div1>div:nth-child(3),
#footer_div1>div:nth-child(4) {
    width: max-content;
}

#footer_div1>div:nth-child(5) {
    width: 16%;
}

#footer_div1>div:nth-child(5)>ul>li:nth-child(2),
#footer_div1>div:nth-child(5)>ul>li:nth-child(3) {
    display: flex;
}

#footer_div1>div:nth-child(5)>ul>li:nth-child(2)>img,
#footer_div1>div:nth-child(5)>ul>li:nth-child(3)>img {
    margin: 0px 0px 0px 20px;
    width: 15px;
}

#footer_div1>div:nth-child(5)>ul>li:nth-child(4) {
    display: flex;
    justify-content: space-between;
    /* width: 123px; */
    width: 60%;
    align-items: flex-end;
}

#footer_div1>div:nth-child(2)>h3,
#footer_div1>div:nth-child(3)>h3,
#footer_div1>div:nth-child(4)>h3,
#footer_div1>div:nth-child(5)>h3 {
    margin: 0px 0px 24px;
}

#footer_div2 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#footer_div2 span {
    border-bottom: .05rem solid #315271;
    height: 1px;
    width: 124%;
    margin-bottom: 4px;
}

#last-icons {
    margin-top: 12px;
}

#footer_div2 h3 {
    color: white;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Cairo';
}

#footer_div2 p {
    color: white;
    font-size: 14px;
    text-decoration: none;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    line-height: unset !important;
    margin-block: unset !important;
    padding: 0px 20px;
    text-align: center;
}

#footer_div2>div img {
    height: 2rem;
    /* filter: grayscale(4); */
    /* filter: contrast(0.1); */
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

#visa {
    /* width: 4.2rem !important; */
    height: 1.5rem !important;
}

#tamwil {
    height: 2.5rem !important;
}

#huawei {
    height: 2.5rem !important;
}

#ebrd {
    height: 2.5rem !important;
    filter: contrast(0.1) !important;
}

#footer_div2>div img:hover {
    filter: none !important;
}


#footer_div2>div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 16vh;
}


#footer_div2>div:nth-child(1)>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 264px;
    align-items: center;
}

#footer_div2>div:nth-child(3)>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 262px;
    align-items: center;
}

#footer_div2 #conditions {
    height: 16vh;
    justify-content: center;
    width: 41%;
}

#last-icons img {
    width: 104px;
    filter: none !important;
}

#footer_div2 * {
    color: white;
    font-family: 'Cairo';
}

/* #footer_div2 h3{
    font-size: 13px;
} */

#show,
.show-span {
    display: none !important;
}

#instagram {
    width: 20px;
    /* margin-left: -3px; */
}
#facebook {
    height: 20px;
    /* margin: 0px -16px; */
}
#linkedin {
    width: 20px;
    /* margin: 4px 0px 0px -12px; */
}
#youtube {
    width: 21px;
    margin-bottom: -3px;
    /* margin: 4px 0px 0px -12px; */
}


@media screen and (max-width: 700px) {

    #footer_div1 a,
    #footer_div1 p,
    #footer_div1 h3,
    #footer_div2 h3 {
        font-size: 10px;
    }

    #footer_div2 p {
        font-size: 8px;
    }

    #footer_div2 h3 {
        margin-bottom: 12px;
    }

    #footer_div2>div {
        align-items: flex-start;
        justify-content: center;
        height: unset;
        margin: 12px 0px;
        width: 100%;
    }

    #show {
        display: flex !important;
        justify-content: space-between;
        width: 232px;
    }

    .show-span {
        display: block !important;
        text-align: center;
        align-self: center;
    }

    .hidden {
        display: none !important;
    }

    #footer_div1 {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 28px 28px -20px 28px;
        justify-content: flex-start;
        /* border-bottom: 1px solid #315271; */
    }

    #footer_div1>div:nth-child(1) {
        text-align-last: center;
        margin: 20px auto 40px;
        width: 100%;
    }

    #footer_div1>div:nth-child(2),
    #footer_div1>div:nth-child(3),
    #footer_div1>div:nth-child(4),
    #footer_div1>div:nth-child(5) {
        margin: 0px 0px 20px 20px;
    }

    #footer_div1>div:nth-child(2),
    #footer_div1>div:nth-child(3) {
        width: 110px;
    }

    #footer_div1>div:nth-child(5) {
        width: 240px !important;
    }

    #footer_div1>div:nth-child(2)>h3,
    #footer_div1>div:nth-child(3)>h3,
    #footer_div1>div:nth-child(4)>h3,
    #footer_div1>div:nth-child(5)>h3 {
        margin: 0px 0px 7px;
    }

    #footer_div2 {
        flex-direction: column;
        align-items: flex-start;
        margin: 0px 28px;
    }

    #footer_div2 span {
        width: 75%;
        align-self: center;
    }

    .icons img {
        margin-right: 10px;
    }

    #footer_div2>div img {
        height: 1rem;
        /* filter: grayscale(4); */
        /* filter: contrast(0.1); */
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }

    #visa {
        /* width: 4.2rem !important; */
        height: .8rem !important;
    }

    #tamwil {
        height: 1.5rem !important;
    }

    #huawei {
        height: 1.5rem !important;
    }

    #last-icons {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    #last-icons img:nth-child(1) {
        height: 1.2rem;
        /* position: relative;
        left: -38px; */
    }

    #last-icons p:nth-child(2) {
        /* margin: 0px -21px 0px -30px; */
        margin: 0px -91px 0px -88px;
    }

    #last-icons img:nth-child(3) {
        height: 0.6rem;
        /* position: relative;
        left: 43px; */
    }

    #mastercard {
        margin-right: 5px;
    }
}