h1,
p {
    font-family: 'Roboto', sans-serif;
}

h3 {
    font-family: 'Montserrat', sans-serif;
}

header {
    background-color: #16295B;
    padding: 14px 10%;
}

.content-container {
    max-width: 90%;
    margin: 0 auto;
}

.grey-block {
    background-color: #F8F8F8;
}

.content_box .subtitle {
    padding-top: 40px;
}

.subtitle {
    color: #16295B;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
}

.title {
    color: #16295B;
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    padding: 80px 0;
}

.content_box {
    padding: 0 7%;
    margin: 0 auto;
}

.content_box p {
    color: #626570;
    font-size: 30px;
    margin-bottom: 3%;
}

.title_page {
    display: flex;
    margin: 82px 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), url(img-20250707/background.jpg);
    color: white;
    background-repeat: no-repeat;
    background-size: 100%;
    justify-content: space-between;
    padding: 15% 7% 7%;
}

.content_right {
    align-self: flex-end;
}

.title_page h1 {
    max-width: 65%;
}

.title_page p {
    font-size: 30px;
}

.btn {
    color: #000;
    font-family: 'Roboto';
    font-size: 24px;
    font-weight: 400;
    padding: 30px 50px;
    border-radius: 14px;
    background-color: white;
}

.description .images_container {
    display: flex;
    justify-content: space-between;
}

.images_container img{
    max-width: 32%;
    height: auto;
}

.carousel-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.requisites {
    padding-bottom: 7%;
    margin-bottom: 3%;
}

.requisites_title {
    color: #626570;
    font-size: 30px;
    font-weight: 600;
    line-height: 140%;
}

.requisites_content {
    color: #626570;
    font-size: 30px;
    font-weight: 400;
    line-height: 140%;
    word-wrap: break-word;
}

.monobank {
    padding: 5% 3% 7%;
    margin-bottom: 3%;
}

.monobank_title {
    color: #16295B;
    font-size: 40px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 5%;
}

.monobank_btn {
    border-radius: 15.98px;
    background: #000;
    display: inline-flex;
    padding: 17px 56px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 26.633px;
    font-weight: 500;
    line-height: normal;
    margin-top: 10%;
    text-decoration: none;
}

.monobank img {
    max-width: 100%;
    height: auto;
    
}

.monobank_btn:hover {
    color: #fff;
}

.block {
    padding: 3% 0 0;
    margin-top: 3%;
}

.arrow {
    margin-left: 25px;
    width: 7%;
}

.dropdown {
    display: flex;
    justify-content: flex-end;
}

.dropdown button {
    color: rgba(22, 41, 91, 0.70);
    font-size: 24px;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
    border: none;
    background-color: transparent;
}

.block .row {
    justify-content: space-between;
    align-items: center;
}

.dollar_block .row {
    align-items: center;
}

footer {
    text-align: center;
    margin: 7% 0;
    color: #626570;
    font-size: 30px;
    font-weight: 400;
    line-height: 140%;
}

.carousel-inner {
    justify-content: start;
}

@media (min-width: 321px) and (max-width: 768px) {
    .title_page {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content_right {
        align-self: flex-start;
    }

    .content_box .row{
        width: 100%;
        flex-direction: row;
    }

    .title, .monobank_title, .subtitle, .btn, .dropdown button {
        font-size: 24px;
    }

    .content_box p, .title_page p, .requisites_title, .requisites_content, footer {
        font-size: 20px;
    }
    
    .monobank_btn {
        font-size: 26.633px;
    }

    .monobank img {
        display: none;
    }
}

@media (max-width: 576px){
    .title_page {
        flex-direction: column;
        align-items: flex-start;
    }

    .title_page{
        background-image: none;
        color: #16295B;
    }
    
    .content_right {
        align-self: flex-start;
    }

    .btn {
        background-color: #000;
        color: #FFF;
        padding: 20px 40px;
    }

    .content_box .row {
        width: 100%;
        display: flex;
    }

    .col-sm-3, .col-sm-9 {
        flex: 1;  /* Не дає елементам розтягуватись */
    }

    .dropdown button {
        display: none;
    }

    .title, .title_page h1, .monobank_title, .subtitle, .btn, .dropdown button {
        font-size: 22px;
    }

    .content_box p, .title_page p, .requisites_title, .requisites_content, footer, .monobank_btn {
        font-size: 16px;
    }
    
    .monobank_btn {
        padding: 15px 40px;
    }

    .monobank img {
        display: none;
    }

    .images_container {
        flex-direction: column;
        align-items: center;
    }

    .images_container img{
        max-width: 90%;
        height: auto;
        margin-bottom: 10px;
    }

    .arrow {
        margin: 0;
        width: 25%;
    }

    iframe {
        width: 400px;
        height: 400px;
    }
}
