@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html, body {
    height: auto;
    min-height: 100vh;
}

body {
    background: url("../img/bg.png") 50% 0 no-repeat #FFFBF1;
    background-size: contain;
    display: flex;
    justify-content: center;
    max-width: none;
}

.popup-social, .popup-social-mobile {
    display: none !important;
}

.header, .content {
    background-color: #fff;
}

.tabs {
    margin-bottom: 0;
    z-index: 1;
}

h1 {
    margin-top: 0;
    padding-top: 0.67em;
}

.wrapper {
    order: 2;
    background-color: transparent;
    width: 1230px;
}

.wrapper-left {
    order: 1;
    margin-right: 20px;
}

.wrapper-right {
    order: 3;
    margin-left: 20px;
}

.wrapper-left, .wrapper-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100vh;
}

.wrapper-left {
    width: 335px;
}

.wrapper-right {
    width: 290px;
}

.card {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 2px 8px 0px rgba(158, 14, 17, 0.2);
}

.card:not(:last-child) {
    margin-bottom: 15px;
}

.card .card-body {
    padding: 25px 28px 25px;
}

.card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 16px;
}

.card .card-title .icon-chevrons-right {
    vertical-align: middle;
    margin-left: 20px;
}

.card .card-title:first-child {
    margin-top: 0;
}

.card .card-img {
    display: block;
    margin: 0 auto;
}

.card .card-title a {
    color: inherit;
}

.card .card-full-link:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.card.cube {
    min-height: 104px;
}

.card.cube:after, .card.cube:before {
    display: block;
    content: "";
    width: 57px;
    height: 57px;
    border-radius: 10px;
    position: absolute;
    opacity: .1;
}

.card.cube:before {
    background: rgba(51, 51, 51, 1);
    right: -20px;
    bottom: 26px;
    z-index: 1;
}

.card.cube:after {
    background: rgba(158, 14, 17, 1);
    right: -8px;
    bottom: -10px;
}

.card.cube .card-body {
    padding-right: 52px;
    padding-bottom: 18px;
}

.card.cube .card-body:before {
    display: block;
    content: "";
    width: 40px;
    height: 2px;
    background: #9E0E11;
    margin-bottom: 13px;
}

.card.price .card-title {
    margin-bottom: 12px;
    font-size: 18px;
    text-align: center;
}

.card.test:before {
    display: block;
    content: "";
    width: 96px;
    height: 91px;
    background: url("../img/icon-idea.png") 0 0 no-repeat transparent;
    position: absolute;
    right: 12px;
    bottom: -5px;
}

.card.price .card-body, .card.test .card-body {
    padding: 38px 28px;
}

.card.test .card-body:before {
    display: inline-block;
    content: "Инструкция";
    height: 32px;
    font-size: 14px;
    color: #ffffff;
    background-color: #9e0e11;
    border-radius: 0 10px 10px 0;
    padding: 8px 12px 8px 29px;
    margin-left: -28px;
    box-sizing: border-box;
}

.card.test .card-title {
    /*font-size: 18px;*/
    margin-top: 17px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.card.test .btn {
    margin-bottom: 8px;
}

.card.banner {
    margin: 24px 0;
}

.card.banner .card-body {
    padding: 20px 28px;
}

.card.banner .card-title {
    font-size: 28px;
    text-align: center;
}

.icon-logo, .icon-laurel {
    display: flex;
    justify-content: space-around;
}

.icon-logo {
    margin-top: 37px;
}

.icon-laurel {
    margin-top: 29px;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
    border-radius: 50px;
    padding: 12px 32px;
    color: #333333;
    border: 1px solid transparent;
    line-height: 1;
    transition: all .25s linear;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #9e0e11;
    border-color: #9e0e11;
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: #9e0e11;
}

.btn-outline-light {
    background-color: transparent;
    border-color: #9e0e11;
    color: #9e0e11;
}

.btn-outline-light:hover {
    background-color: #9e0e11;
    border-color: #9e0e11;
    color: #fff;
}

.btn-block {
    display: block !important;
}

.text-primary {
    color: #9e0e11;
}

.mark {
    font-size: 12px;
    font-weight: 400;
    padding: 0 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

@media (max-width: 1229.98px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
    }

    footer {
        margin-bottom: 20px;
    }

    .wrapper {
        order: 1;
        width: 100%;
    }

    .wrapper-left {
        order: 2;
        margin-right: 0;
    }

    .wrapper-right {
        margin-left: 0;
    }

    .wrapper-left, .wrapper-right {
        justify-content: flex-start;
        height: auto;
        width: 100%;
    }

    .wrapper-right {
        flex-direction: row;
    }

    .wrapper-right .card {
        width: 50%;
    }

    .card, .card.banner {
        margin-left: 15px;
        margin-right: 15px;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .card.banner .card-title {
        font-size: 22px;
    }

    .card.price .card-title {
        font-size: 20px;
        margin-bottom: 23px;
    }

    .card.price .card-img {
        display: none;
    }

    .card.test .card-body:before {
        display: none;
    }

    .card.test .card-title {
        font-size: 14px;
        margin-top: 0;
    }

    .btn {
        font-size: 14px;
        padding: 8px 24px;
    }
    .card .card-title .icon-chevrons-right {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .wrapper-right {
        flex-direction: column;
    }

    .wrapper-right .card {
        width: auto;
    }

    .card.banner {
        margin: 0;
        border-radius: 0;
    }

    .card.banner .card-title {
        text-transform: none;
        line-height: 1.7;
    }

    .card .card-title .icon-chevrons-right {
        display: none;
    }
}