@charset "utf-8";
/*
    Михаил Бабидов
    skype: compo_life
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300..700&display=swap');
@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url('../fonts/BebasNeueCyrillic.eot');
    src: local('Bebas Neue Cyrillic'), local('BebasNeueCyrillic'),
        url('../fonts/BebasNeueCyrillic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BebasNeueCyrillic.woff2') format('woff2'),
        url('../fonts/BebasNeueCyrillic.woff') format('woff'),
        url('../fonts/BebasNeueCyrillic.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-body: 'Montserrat', sans-serif;
    --font-title: 'Bebas Neue Cyrillic', sans-serif;
}
html {
    font-size: 16px;
}
body {
    max-width: 1920px;
    margin: 0 auto;
    font-family: sans-serif;
}

body,
.font-body {
    font-family: var(--font-body);
}

.font-title,
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
}

img {max-width: 100%;}
b {font-weight: 700;}
.text-black {color: #000000;}
.no-margin-last-child > *:last-child {margin-bottom: 0;}
.rounded-xl  {border-radius: 0.5rem;}
.rounded-xxl {border-radius: 1rem;}

.border-reset {border-color: inherit !important;}
.border-2x {border-width: 2px !important;}
.border-3x {border-width: 3px !important;}
.border-4x {border-width: 4px !important;}
.border-5x {border-width: 5px !important;}

.fw-100 {font-weight: 100 !important;}
.fw-200 {font-weight: 200 !important;}
.fw-300 {font-weight: 300 !important;}
.fw-400 {font-weight: 400 !important;}
.fw-500 {font-weight: 500 !important;}
.fw-600 {font-weight: 600 !important;}
.fw-700 {font-weight: 700 !important;}
.fw-800 {font-weight: 800 !important;}
.fw-900 {font-weight: 900 !important;}

.bg-image {background-size: cover; background-position: center center;}
.bg-image-top {background-position: center top;}
.bg-image-bottom {background-position: center bottom;}
.bg-image-fixed {background-attachment: fixed;}

.btn-xl {
    --bs-btn-font-size: .85rem;
    --bs-btn-font-weight: 700;
    --bs-btn-padding-x: 5rem;
    --bs-btn-padding-y: 1.5rem;
    --bs-btn-border-radius: .75rem;
    border: none;
    box-shadow: inset 0 -3px rgba(0,0,0,.25);
    background-image: linear-gradient(to bottom,
        rgba(255,255,255,.5),
        rgba(255,255,255,0)
    );
    text-transform: uppercase;
}

#scr1 {
    background-image: url("../img/scr1_v3.jpg");
    position: relative;
}
#scr1 > .container {
    position: relative;
    z-index: 1;
}
#scr1 .item-wrap {
    display: flex;
}
#scr1 .item {
    position: relative;
    flex: 1 1 auto;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}
#scr1 .item:before {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 10rem;
    border-radius: 1rem;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right top;
}
#scr1 .item-1:before {
    background-image: url("../img/scr1-img-1_v2.png");
}
#scr1 .item-2:before {
    background-image: url("../img/scr1-img-2_v2.png");
}
#scr1 .item-3:before {
    background-image: url("../img/scr1-img-3_v2.png");
}
#scr1 .item:after {
    content: '';
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    height: 100%;
    bottom: -.5rem;
    background: var(--bs-body-bg);
    border-radius: 0 0 1rem 1rem;
    z-index: -1;
}
#scr1 .item-inner {
    position: relative;
    z-index: 1;
    margin-right: 5rem;
}
#scr1 .line-bottom {
    background-image: url("../img/scr1-bottom.png");
    height: 20%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
}

.quiz-item {
    --quiz-paddind: 3rem;
    --quiz-paddind-inner: calc(var(--quiz-paddind) / 2);
    --quiz-border-radius: 1rem;
    --quiz-bg: var(--bs-dark);
    --quiz-color: var(--bs-light);
}
.quiz-item {
    background-color: var(--quiz-bg);
    background-image: linear-gradient(45deg,
        rgba(255,255,255,.25),
        rgba(255,255,255,0)
    );
    color: var(--quiz-color);
    padding: var(--quiz-paddind);
    border-radius: var(--quiz-border-radius);
}
.quiz-item > .row {
    --bs-gutter-x: var(--quiz-paddind);
    --bs-gutter-y: var(--quiz-paddind);
}
.quiz-item-title {
    margin-bottom: var(--quiz-paddind);
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
}
.quiz-item-label {
    text-align: center;
    display: flex;
}
.quiz-item-label input[type="radio"],
.quiz-item-label input[type="checkbox"] {
    display: none;
}
.quiz-item-inner {
    --border-color: var(--bs-light);
    flex: 1 1 auto;
    border: 1px solid var(--border-color);
    padding: var(--quiz-paddind-inner);
    border-radius: var(--quiz-border-radius);
}
.quiz-item-inner .quiz-item-img img {
    border-radius: calc(var(--quiz-border-radius) - var(--quiz-paddind-inner) / 2);
}
.quiz-item-text:last-child {
    margin-bottom: 0;
}
.quiz-item-label input:checked + .quiz-item-inner {
    --border-color: var(--bs-danger);
}
.quiz-item-label input:checked + .quiz-item-inner.quiz-item-inner-color {
    color: var(--border-color);
}
.modal .phone-wrap {
    position: relative;
    margin-left: -5rem;
}
.modal .phone {
    position: absolute;
    margin-top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    animation: 3s trY infinite linear;
}
@keyframes trY {
    0%, 100% {
        transform: translateY(-1rem);
    }
    50% {
        transform: translateY(1rem);
    }
}


@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }
}