@font-face {
    font-family: 'Roboto Condensed';
    font-stretch: 10% 140%;
    font-style: normal;
    font-weight: 400 700;
    src: url(fonts/Roboto/static/Roboto_Condensed-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto Wide';
    font-stretch: 150% 200%;
    font-style: normal;
    font-weight: 400 700;
    src: url(fonts/Roboto/static/Roboto-Bold.ttf) format('truetype');
}

body {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-stretch: 10%;
}

h1 {
    font-size: 36pt;
}

h2 {
    font-size: 32pt;
}

h3 {
    font-size: 28pt;
}

h4 {
    font-size: 24pt;
}

h5 {
    font-size: 20pt;
}

h6,label {
    font-size: 18pt;
}

div {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-stretch: 10%;
    font-size: 16pt;
}

ul {
    text-align: left;
}

p {
    font-size: 16pt;
    margin-bottom: 2rem;
}

.bg-graph {
    position: relative;
}

.bg-graph:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/graph.png') 0 10px / 500px 500px repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.bg-cloud {
    position: relative;
    display: inline-block;   /* облако подстраивается под содержимое */
    max-width: 100%;
    padding: 40px 60px;      /* «воздух» внутри облака, чтобы текст не касался краёв */
    box-sizing: border-box;
}

.bg-cloud::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: url('img/cloud.png') center center / 100% 100% no-repeat;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.bg-cloud .flex-block {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.bg-cloud .image-small {
    max-width: 100%;
    height: auto;
    position: relative;
    top: -40px;
}

@media (min-width: 992px) {
    .bg-cloud {
        padding: 60px 90px;   /* больше «воздуха» — облако растёт вместе с губами */
    }

    .bg-cloud .image-small {
        width: 113px;         /* было по факту меньше из-за max-width */
        max-width: none;      /* снимаем ограничение, иначе не вырастет */
        height: auto;
    }
}
.big-button, input {
    font-size: 26pt;
    padding: 10px 25px;
}

.big-text {
    font-size: 24pt;
}

.mb-more {
    margin-bottom: 5rem;
}

.header {
    font-family: 'Roboto Bold', sans-serif;
    font-weight: 700;
    font-stretch: 10%;
    color: white;
    padding: 10px;
    vertical-align: center;
}

.center {
    text-align: center !important;
}

.image-normal {
    width: 80%;
    height: auto;
}

.image-small {
    width: 20%;
    height: auto;
    max-width: 140px;
}

.image-mini {
    width: 100px;
    height: auto;
    opacity: 0.5;
}

.screen-img {
    max-width: 360px;
    width: 100%;
    height: auto;
}

.dollar-img {
    max-width: 140px;
    width: 100%;
    height: auto;
}

.flex-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.my-tooltip {
    position: relative;
    border: 1px solid black;
    border-radius: 10px;
    width: 400px;
    background: white;
    padding: 10px;
    font-size: 14pt;
    margin-top: auto;        /* прижимает тултип вниз */
}

.row.justify-content-center > [class*="col-"] > div {
    display: flex;
    flex-direction: column;;
    align-items: center;
    height: 100%;            /* занимает всю высоту колонки */
}
