@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Rubik", sans-serif;
    direction: rtl;
}

.header,
.footer {
    background: #446FB9;
    width: 100%;
    height: clamp(2.563rem, 1.962rem + 2.404vw, 4.125rem);
    margin-bottom: clamp(1.188rem, 0.346rem + 3.365vw, 3.375rem);
}

.banner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.banner-foto img {
    border: 6px solid #446FB9;
}

.banner h3 {
    font-family: Rubik;
    font-weight: 800;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
    color: #446FB9;
    border-radius: 6px;
    padding: 13px 32px 0;
    margin-top: -24px;
    background: #fff;
}

.banner h2 {
    font-family: Rubik;
    font-weight: 800;
    font-size: 100px;
    line-height: 100%;
    color: #446FB9;
    text-align: center;
}

.about-him p {
    font-family: Rubik;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.about-him p span {
    font-size: 25px;
    color: #446FB9;
    font-weight: 700;
}

.decor {
    width: 37vw;
    border: 1px solid #E0E0E0;
    margin: 0 auto 30px;
}

.payments {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.payments-info {
    display: flex;
    gap: 40px;
}

.payment {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.payment p {
    font-family: Rubik;
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    text-align: center;
    color: #446FB9;
}

.payments>p {
    margin: 35px 0 48px 0;
}
a.payment-link {
    padding: 10px 30px;
    text-decoration: none;
    background: #fff;
    border-radius: 5px;
}
a.payment-link:hover {
    background: #F5F5F5;
}
.bank {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.bank h3 {
    font-family: Rubik;
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    color: #446FB9;
    text-align: center;
}

.bank-informs {
    margin: 32px 0;
    display: flex;
    gap: 25px;
}

.bank-info p.title-bank-info {
    font-family: Rubik;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
}

.bank-info p.text-bank-info {
    font-family: Rubik;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    margin-top: 10px;
    text-align: right;
    color: #446FB9;
}

.bank-info.border-bank-info {
    border-left: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    padding: 0 20px;
}

.bank-info.border-bank-info1 {
    border-left: 1px solid #E0E0E0;
    padding: 0 0 0 20px;
}

.bank>p {
    font-family: Rubik;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
}

.foto-galery h3 {
    font-family: Rubik;
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    text-align: center;
    color: #446FB9;
    margin: 59px 0 30px;
}

.foto-galery-block {
    max-width: 870px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.foto-galery-bg {
    background: url(../image/bg.png);
    padding: 8% 0 14%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.footer {
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 0;
}
.footer p{
    margin-left: 12%;
}
@media (max-width: 980px) {
    .content {
        padding: 0 25px;
    }
    .banner-foto img {
        width: 97%;
    }
    .banner h3 {
        font-size: 15.36px;
        padding: 11px 17px 0;;
        width: 189px;
        margin: -19px auto 0;
    }
    .banner h2 {
        font-size: 51.2px;
        margin-bottom: 25px;
    }
    .about-him p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 120%;
    }
    .about-him p span {
        font-size: 17.5px;
    }
    .decor {
        width: 60vw;
        margin: 0 auto 20px;
    }
    .payments-info {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .payments>p {
        margin: 20px 0 40px 0;
        font-size: 16px;
        text-align: center;
        width: 80%;
    }
    .bank h3 {
        font-size: 20px;
    }
    .bank-info.border-bank-info {
        border-left: none;
    }
    .bank-informs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
        direction: rtl;
        margin: 32px 0;
    }
      .bank-info{
        padding: 0 20px;
      }
      .bank-info.border-bank-info1 {
        border-left: 1px solid #E0E0E0;
        padding: 0 20px;
    }
    .bank>p {
        font-size: 14px;
    }
    .foto-galery-bg {
        padding: 8% 0 10%;
    }
    .foto-galery h3 {
        font-size: 20px;
        margin: 33px 0 15px;
    }
    .foto-galery-block {
        gap: 12px;
        padding: 0 25px;
    }
    .foto-galery-block img {
        width: 22.5%;
    }
    .footer {
        justify-content: center;
    }
    .footer p {
     margin-left: 0;
    }
}