.coinpayments-footer {
    font-family: Poppins, sans-serif; /*Cerapro, sans-serif;*/
    background-color: #20263B;
    padding: 57px 0 51px 0;
}

.coinpayments-footer-container {
    max-width: 1166px;
    margin-left: auto;
    margin-right: auto;
}

.coinpayments-footer .subscription-activated {
    color: white;
}
.coinpayments-footer .gl {
    text-transform: none;
}

.coinpayments-footer .gl.fotsp {
    color: white;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 0;
}

.coinpayments-footer .footer-logos {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
}

.coinpayments-footer .footer-logos .cps-new-logo {
    max-width: 188px;
    width: 100%;
}

.coinpayments-footer .footer-logos .divider {
    align-self: stretch;
    width: 1px;
    background-color: #FFF;
}

.coinpayments-footer .footer-logos .ksf1t-logo {
    max-width: 173px;
    width: 100%;
}

.coinpayments-footer .gd.footer-text,
.coinpayments-footer .gd.footer-text > a,
.footer-copyright-notice{
    color: #A6ADC7;
    font-size: 15px;
    line-height: 24px;
    font-family: Poppins, sans-serif; /*Cerapro, sans-serif;*/
    margin-bottom: 0;
    font-weight: 400;
}

.coinpayments-footer .footer-dividing-line {
    width: 145px;
    height: 1px;
    background-color: #A6ADC7;
    margin: 15px 0; 
}

.coinpayments-footer label.gd.footer-text {
    margin-bottom: 5px;
}

.footer-copyright-notice {
    font-size: 12px;
    line-height: 19px;
}

.coinpayments-footer-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(160px, auto));
    /*grid-template-columns: repeat(5, 166px);*/
    row-gap: 20px;
    column-gap: 40px;
    margin-bottom: 40px;
    margin-left: 40px;
    margin-right: 40px;
}

#footer-subscribe-form > label {
    font-weight: normal;
}

#footer-subscribe-form > input {
    width: 100%;
    max-width: 272px;
    height: 46px;
    border: none;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
    display: block;
    margin-bottom: 20px;
    color: black;
}

#footer-subscribe-form > button {
    color: white;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    background-color: #2A5ED5;
    border-radius: 4px;
    width: 130px;
    height: 46px;
}

.coinpayments-footer-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Два елементи в ряд */
    gap: 20px;
}

.coinpayments-footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coinpayments-footer-bottom-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: end;
}


@media screen and (max-width: 995px) {
    .coinpayments-footer-bottom {
        grid-template-columns: repeat(1, 1fr); /* Два елементи в ряд */
    }
    .footer-copyright-notice {
        text-align: center;
    }
    .coinpayments-footer .footer-logos {
        flex-direction: column;
        align-items: center;
    }
    .coinpayments-footer .footer-logos .divider {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .coinpayments-footer .footer-logos .cps-new-logo {
        max-width: 152px;
    }
}

.coinpayments-footer-apps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -10px;
    /*margin-bottom: 67px - 10px;*/
    margin-bottom: 57px;
}

@media screen and (max-width: 616px) {
    .coinpayments-footer-apps {
        margin-bottom: 37px;
    }
}

.coinpayments-footer-apps > .coinpayments-footer-apps-pill > .coinpayments-footer-app-image:hover {
    filter: drop-shadow(3px 1px 4px rgba(255, 255, 255, 0.54));
    scale: 1.1;
}

.coinpayments-footer-apps > .coinpayments-footer-apps-pill {
    margin-top: 10px;
    margin-bottom: 10px;
    flex-basis: 166px;
    width: 166px;
    height: 44px;
    margin-left: 12px;
    margin-right: 12px;
    text-decoration: none;
}
.coinpayments-footer-apps > .coinpayments-footer-apps-pill.general-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

.coinpayments-footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-copyright-notice {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    white-space: pre-line;
}
.coinpayments-footer-socials {
    /*display: grid;*/
    /*grid-template-columns: repeat(7, 1fr);*/
    /*align-items: center;*/
    /*justify-items: center;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*column-gap: 18px;*/
    /*width: fit-content;*/
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-right: 20px;
    flex-wrap: wrap;
}

.coinpayments-footer-socials > * {
    margin-left: 9px;
    margin-right: 9px;
}

.coinpayments-footer-socials > a > img {
    /* width: 41px;
    height: 41px; */
    width: 24px;
    height: 24px;
    transition: transform .25s linear .05s, filter 1s linear;
}

.coinpayments-footer-socials > a > img:hover {
    transition: transform .05s cubic-bezier(0.34, 1.56, 0.64, 1) 0s, filter .05s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1.23);
    transform-origin: center;
    filter: drop-shadow(3px 3px 4px #445cdd80);
}

.footer-app-image {
    width: auto;
}

@media only screen and (max-width:467px){
    .coinpayments-footer-socials {
        row-gap: 10px;
    }
}