:root {
    --page-padding: 80px;
    font-family: "Rubik", sans-serif;
}

body {
    position: relative;
}

.main {
    overflow-x: hidden;
    position: relative;
    color: #fff;
}

.main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    background-image: url('../img/noise.webp');
    opacity: 0.1;
    background-repeat: repeat;
    mix-blend-mode: overlay;
    background-size: 1440px;
}

.main::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #24223C;
    z-index: -5;
}

.content-wrap {
    max-width: calc(1280px + (2 * var(--page-padding)));
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    margin-left: auto;
    margin-right: auto;
}

.cta-btn, .callbackform__btn {
    border: none;
    background-color: #7BE6E6;
    padding: 11px 34px;
    color: #0C4545;
    border-radius: 12px;
    font-family: Rubik;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, opacity 0.2s;
}

@media (hover:hover) {
    .cta-btn:hover, .callbackform__btn:hover {
        background-color: #cbffff;
    } 
}

.cta-btn:active, .callbackform__btn:active {
    background-color: #fff;
    transition: none;
}

.cta-btn:disabled, .callbackform__btn:disabled {
    opacity: 0.5;
    background-color: #7BE6E6;
    cursor: not-allowed;
}

.title {
    font-family: Rubik;
    font-size: 42px;
    font-weight: 700;
    line-height: 54.6px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

@media screen and (max-width: 1200px) {
    :root {
        --page-padding: 32px;
    }

    .title {
        font-size: 38px;
        line-height: 49.4px;
    }
}

@media screen and (max-width: 980px) {
    :root {
        --page-padding: 20px;
    }

    .title {
        font-size: 30px;
        line-height: 39px;
    }
}

@media screen and (max-width: 750px) {
    .cta-btn, .callbackform__btn {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }
    
    .title {
        font-size: 26px;
        line-height: 33.8px;
    }
}

