.service-item {
    width: 31%;
    border-radius: 32px;
    margin: 1%;
    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
}

.services-block {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    justify-content: center;
}

.service-img {
    display: block;
    width: 100%;
    height: 80px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.transfer {
    background-image: url(../images/transfer.png);
}

.factoring {
    background-image: url(../images/factoring.png);
}

.leasing {
    background-image: url(../images/lizing.png);
}

.credit {
    background-image: url(../images/loan.png);
}

.exchange {
    background-image: url(../images/exchange.png);
}

.service-block {
    text-align: left;
    display: flex;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.service-number {
    position: absolute;
    top: 26px;
}

.service-number span {
    font-weight: bold;
    font-size: 128px;
    color: rgb(120, 186, 235, 0.5);
    line-height: 60px;
}

.service-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service-item a {
    margin: 0px 0px 10px 0px;
    display: block;
    width: 100%;
    text-align: left;
    font-size: 12px;
}
.service-item a:last-child{
    margin-bottom: 0;
}

.service-item a p {
    margin: 6px 0px;
    line-height: 16px !important;
}

.service-item h4 {
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    margin: 20px 0px 16px 0px;
    display: block;
    width: 100%;
    text-align: center;
}

.service-content div {
    display: block;
    width: 65%;
}

.service-content div a p {
    margin-bottom: 6px;
}

.currency-container {
    background-color: rgba(236, 236, 236, 0.84);
    width: 400px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px #382b4227, -5px -5px 10px #a0a0a099;
}

.currency-container p {
    margin-bottom: 15px;
}

.date {
    display: flex;
    justify-content: space-between;
}

.date p {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.currency-flag {
    width: 100%;
    height: 100%;
}

.usd-flag,
.eur-flag,
.ru-flag {
    width: 40px;
    max-width: 40px;
    margin-right: 10px;
    height: fit-content;
}

.currency-table-body div {
    display: flex;
    width: 100%;
    display: flex;
    justify-content: center;
}

.currency-table-head {
    display: flex;
    margin-bottom: 15px;
}

.currency-table-head div {
    width: 40%;
    color: rgb(69, 90, 99);
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.currency-table-head div:first-child {
    width: 20%;
}

.currency-table-body .currency-text {
    display: flex;
    justify-content: center;
    width: 50%;
}

.currency-text p {
    font-weight: bold;
    font-size: 18px;
    color: #263337 !important;
}

.currency-number {
    font-weight: 600;
    font-size: 18px;
}

.currency-number span {
    color: #263337 !important;
}

@media screen and (max-width:425px) {
    .currency-container {
        width: 100%;
        margin: 0 auto;
    }
    .date p {
        font-size: 14px;
    }
    .currency-number span {
        font-size: 14px;
    }
    .service-item {
        width: 100% !important;
    }
    .service-item a {
        font-size: 12px;
        margin: 0px 0px 11px 0px;
    }
}

.homepage-bg {
    background-color: rgba(39, 39, 39, 0.466);
    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {
    .homepage-bg {
        background-image: none;
    }
    .service-item {
        width: 90%;
    }
}

@media (max-width: 930px) {
    .service-block {
        width: 80%;
    }
    .service-number {
        top: 10px;
    }
    .service-number span {
        font-size: 78px;
        line-height: 60px;
    }
    .service-content {
        left: 70px;
    }
    .service-content h4 {
        font-size: 20px;
    }
    .service-content a {
        font-size: 16px;
    }
}

.service-item {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.front-side,
.back-side {
    background-size: cover;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08), -4px -4px 12px 0 rgba(255, 255, 255, 1);
    border-radius: 32px;
    background-position: center;
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: 310px;
    height: auto;
    width: 100%;
}

.back-side {
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.front-side {
    background: #f0f0f0;
    cursor: pointer;
}

.front-side:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: .6;
    background-color: rgb(255, 255, 255);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 32px;
}

.service-item:hover .front-side,
.service-item:hover .back-side {
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
}

.front-side .inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    padding: 0px 20px;
}

.back-side .inner {
    padding: 0px 20px;
}

.service-item .back-side {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.service-item .front-side {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.service-item:hover .back-side {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.service-item:hover .front-side {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}