@import "reset.css";

/* 
    font-family: "Open Sans", sans-serif;
*/

/* general */
html {
    min-height: 100vh;
    position: relative;
}
body {
    position: relative;
    color: #242424;
    background-color: #ececec;
    font-size: 18px;
    line-height: 1.67;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}
.wrapper {
    position: relative;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (max-width: 768px) {
}

/* typography */
.title {
    font-weight: 700;
    font-size: 30px;
    padding-bottom: 24px;
}
.subtitle {
    padding-bottom: 40px;
}
@media (max-width: 768px) {
}

/* BTN */
.btn {
    font-family: "Open Sans", sans-serif;
    color: #242424;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    background: linear-gradient(180deg, rgba(238, 238, 238, 1), rgba(228, 228, 228, 1));
    border: 2px solid #fff;
    border-bottom-color: #aaa;
    border-right-color: #aaa;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-blue {
    background-color: #2383cc;
    font-family: "Open Sans", sans-serif;
    padding: 11px 10px;
    border: none;
    outline: none;
    color: #fff;
    font-weight: bold;
    width: 100%;
    max-width: 172px;
    font-size: 17px;
    position: relative;
    line-height: 1;
    cursor: pointer;
}
.btn-blue:hover {
    background-color: #ff2215;
}
.btn-blue__text {
    transition: width 0.5s ease-in-out;
    overflow: hidden;
    width: 97px;
    display: inline-block;
    white-space: nowrap;
}
.btn-blue__after {
    width: 3px;
    background: #fff;
    display: inline-block;
    position: absolute;
    top: 8px;
    bottom: 8px;
}
.btn-red {
    position: fixed;
    width: 340px;
    height: 55px;
    right: 5px;
    bottom: 5px;
    position: fixed;
    z-index: 90000050;
    background: linear-gradient(180deg, #ff0101, #f40101);
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 148px;
    overflow: hidden;
}
.btn-red span {
    white-space: nowrap;
    opacity: 0;
    position: absolute;
}
.btn-red span.is-hidden {
    animation: push-out 0.6s;
}
.btn-red span.is-visible {
    opacity: 1;
    animation: push-in 0.6s;
}
@media (max-width: 768px) {
    .btn-red {
        width: 300px;
        height: 40px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* header */
.header {
    padding: 20px 0;
    background-color: #c3dbff;
    border: 5px solid #9fbeee;
    border-left: none;
    border-right: none;
}
.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
}
.header__item {
    width: 100%;
    max-width: 103px;
    cursor: pointer;
}
.header__search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}
.header__txt {
    cursor: pointer;
    transition: all 0.3s linear;
    max-width: 97px;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
}
.header__txt:hover {
    color: #2383cc;
}
.header__form {
    padding-left: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 342px;
}
.header__field {
    color: #000;
    background: #fff;
    border: 2px ridge #fff;
    height: 36px;
    font-size: 14px;
    padding: 10px 5px;
    outline: none;
    width: 100%;
    max-width: 223px;
}
.header__btn {
    width: 100%;
    max-width: 99px;
}
.header__btn-mob {
    display: none;
    max-width: 31px;
    margin-top: 4px;
}
@media (max-width: 880px) {
    .header__form {
        max-width: 268px;
    }
    .header__field {
        max-width: 170px;
    }
}
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    .header__nav {
        display: none;
    }
    .header__btn-mob {
        display: flex;
    }
    .header__search {
        flex-wrap: wrap;
    }
    .header__wrapper {
        align-items: flex-start;
    }
    .header__form {
        order: 0;
        width: 100%;
    }
    .header__txt {
        order: 1;
        max-width: fit-content;
        padding-top: 10px;
    }
}

/* footer */
.footer {
    background-color: #156898;
    padding: 28px 0;
    color: #fff;
    text-align: center;
    font-size: 16px;
}
@media (max-width: 768px) {
    .footer {
        padding-bottom: 60px;
    }
}

/* popup */
.popup {
    width: 300px;
    top: 10px;
    left: 10px;
    position: fixed;
    z-index: 90000060;
    transition: all 0.5s linear;
    padding: 5px;
    box-shadow: 0 0 1px rgba(64, 64, 64, 0.3), 0 8px 50px rgba(64, 64, 64, 0.05);
    border-radius: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #848484;
    line-height: 1.3;
    opacity: 1;
    background: #fff;
}
.popup.hidden {
    opacity: 0;
    top: -180px;
}
.popup__pic {
    margin-right: 13px;
    border-radius: 50%;
    width: 53px;
    height: 53px;
    pointer-events: none;
}
.popup__title {
    font-size: 16px;
    font-weight: 700;
}
@media (max-width: 768px) {
}

/* intro */
.intro {
    padding-top: 19px;
}
.intro__wrapper {
    background: linear-gradient(180deg, #fdfbfb, #f2f2f2);
    border-style: solid;
    border-color: #e4e4e4;
    border-width: 1px;
    border-radius: 10px;
}
.intro__header {
    display: flex;
    justify-self: flex-start;
    align-items: center;
    background: linear-gradient(180deg, #c3dbff, #9fbeee);
    border-style: solid;
    border-color: #e4e4e4;
    border-width: 1px;
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: bold;
}
.intro__blink {
    max-width: 74px;
    margin-left: auto;
}
.intro__svg-right {
    max-width: 26px;
    margin-left: 10px;
    display: flex;
}
.intro__svg-left {
    max-width: 26px;
    margin-right: 10px;
    display: flex;
}
.intro__main {
    padding: 15px 20px;
}
.intro__title {
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 20px;
}
.intro__pics {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding-bottom: 40px;
}
.intro__pic {
    width: auto;
    max-height: 212px;
    margin: 0 10px;
}
.intro__text {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.intro__subtitle {
    font-size: 19px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
}
.intro__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 20px 10px;
    font-size: 14px;
}
.intro__svg-footer {
    max-width: 23px;
    margin-left: 10px;
    display: flex;
}
@media (max-width: 768px) {
    .intro {
        padding-top: 10px;
    }
    .intro__main {
        padding: 10px;
    }
    .intro__header {
        font-size: 15px;
        padding: 5px 10px;
    }
    .intro__pics {
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
        padding-bottom: 5px;
    }
    .intro__pic {
        max-height: 100px;
        margin: 0 5px;
        margin-bottom: 10px;
    }
    .intro__pic:last-child {
        max-height: 170px;
    }
    .intro__subtitle {
        padding-bottom: 30px;
    }
    .intro__footer {
        padding-top: 10px;
    }
}

/* breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
}
.breadcrumbs__header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
}
.breadcrumbs__link {
    color: #2383cc;
    font-size: 15px;
}
.breadcrumbs__arrow {
    max-width: 10px;
    display: flex;
    margin: 0 25px;
}
.breadcrumbs__title {
    font-size: 34px;
    font-weight: bold;
    padding: 10px 0;
}
.breadcrumbs__info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #848484;
    font-size: 16px;
    padding-bottom: 20px;
}
.breadcrumbs__time,
.breadcrumbs__profile {
    display: flex;
    max-width: 18px;
    margin-right: 10px;
}
.breadcrumbs__name {
    padding-right: 70px;
}
@media (max-width: 768px) {
    .breadcrumbs__title {
        font-size: 27px;
        line-height: 1.4;
    }
}

/* post */
.post__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.post__left {
    background-color: #f5f5f5;
    border-style: solid;
    border-color: #e4e4e4;
    border-width: 1px;
    margin-right: 2px;
    padding: 30px;
}
.post__ava {
    background-color: #cc66cc;
    border-radius: 100%;
    width: 103px;
    height: 103px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #602160;
    font-size: 55px;
    text-align: center;
    line-height: 1;
}
.post__name {
    color: #2383cc;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0 5px;
}
.post__info {
    color: #848484;
    font-size: 13px;
    text-align: center;
}
.post__right {
    flex-grow: 1;
    background-color: #ffffff;
    border-style: solid;
    border-color: #e4e4e4;
    border-width: 1px;
    padding: 0 10px;
}
.post__header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
    color: #b4b4b4;
    font-size: 16px;
    border-bottom: 1px solid #e4e4e4;
}
.post__svg-header {
    margin-left: auto;
    display: flex;
    max-width: 18px;
    margin-right: 10px;
}
.post__content {
    padding: 20px 10px 35px;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}
.post__content > img {
    width: 100%;
    max-width: 380px;
    margin-bottom: 20px;
}
.post__content > p {
    padding-bottom: 25px;
}
.post__content > p b {
    font-weight: bold;
}
.post__content > p i {
    font-style: italic;
}
.post__content > p a {
    font-weight: bold;
    color: #0a4cff;
    text-decoration: underline;
}
.post__content > .note {
    background-color: #f5f5f5;
    background-image: url(../images/kiss.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 22px;
    border-style: solid;
    border-color: #e4e4e4;
    border-width: 1px;
    color: #2383cc;
    font-size: 14px;
    line-height: 1;
    padding: 14px 20px 14px 40px;
    position: relative;
    margin: 20px 0 50px;
}
.post__content > .note::after {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -1px;
    top: -1px;
    background: #2383cc;
    width: 4px;
}
@media (max-width: 768px) {
    .post {
        margin-top: -20px;
    }
    .post__wrapper {
        display: block;
    }
    .post__left {
        background-color: transparent;
        border: none;
        margin-right: 0;
        padding: 0 0 20px;
        display: flex;
    }
    .post__name {
        text-align: left;
        padding: 0;
    }
    .post__ava {
        width: 65px;
        height: 65px;
        font-size: 40px;
        margin-right: 15px;
    }
    .post__header {
        padding: 9px 0;
        font-size: 14px;
    }
    .post__content {
        padding: 10px 5px 35px;
    }
    .post__content > p {
        padding-bottom: 15px;
    }
    .post__content > .note {
        margin: 10px 0 30px;
    }
}

/* order */
.order {
    background-color: #ffffff;
    border-style: solid;
    border-color: rgb(35, 131, 204);
    border-width: 3px;
    border-radius: 10px;
    width: 100%;
    max-width: 571px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 20px 30px;
}
.order__right {
    width: 100%;
    max-width: 50%;
}
.order__left {
    width: 100%;
    max-width: 47%;
    padding-right: 20px;
}
.order__pic {
    max-width: 170px;
    margin: 0 auto;
}
.order__price-old {
    color: #242424;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    text-decoration: line-through;
    padding: 5px 0;
}
.order__price-new {
    color: #d91717;
    font-size: 28px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
}
@media (max-width: 768px) {
    .order {
        padding: 20px 20px 80px;
        flex-wrap: wrap;
    }
    .order__left {
        max-width: 100%;
        padding-right: 0;
    }
    .order__right {
        max-width: 100%;
    }
}

/* form */
.form {
    padding-top: 20px;
}
.form__title {
    color: #2383cc;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    padding-bottom: 20px;
}
.form__item {
    padding-bottom: 10px;
}
.form__field {
    color: #707070;
    height: 36px;
    font-size: 14px;
    padding: 10px 10px;
    outline: none;
    width: 100%;
    background: #fff;
    border-style: solid;
    border-color: #a5a5a5;
    border-width: 1px;
    border-radius: 5px;
}
.form .btn-blue {
    margin: 10px auto 0;
    display: block;
}
label.error {
    color: red;
    font-size: 12px;
    line-height: 1;
    position: relative;
    display: block;
}
@media (max-width: 768px) {
    .form {
        padding-top: 0;
    }
    .form__title {
        padding-bottom: 10px;
    }
    .form__item {
        max-width: 230px;
        margin: 0 auto;
    }
    .form .btn-blue {
        margin: 0;
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* comments */
.comments {
    padding: 10px 0 30px;
}
.comments__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #000000;
    padding-bottom: 15px;
    border-bottom: 2px solid #e4e4e4;
}
.comments__title {
    width: 100%;
    color: #2383cc;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 7px;
}
.comments__subtitle {
    font-weight: bold;
    padding-right: 15px;
}
.comments__color {
    color: #2383cc;
}
.comments__text {
    margin-left: auto;
    margin-right: 15px;
}
.comments__select {
    width: 100%;
    max-width: 135px;
    position: relative;
}
.comments__select .arrow {
    position: absolute;
    max-width: 14px;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}
.comments__form {
    padding: 20px 0 0;
}
.comments__row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.comments__field {
    flex-grow: 1;
    height: 90px;
    resize: none;
    font-size: 14px;
    color: #000;
    font-family: "Open Sans", sans-serif;
    padding: 7px 10px;
    outline: none;
}
.comments__ava {
    min-width: 65px;
    max-width: 65px;
    margin-right: 20px;
}
.comments__btn {
    margin-left: auto;
    margin-top: 15px;
    display: block;
    background: linear-gradient(180deg, #427cb6, #3269a0);
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 7px 23px;
    border-style: outset;
    border-color: #427cb6;
    border-width: 2px;
    outline: none;
    font-family: "Open Sans", sans-serif;
}
.comments__item {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 1px solid #d9d9d9;
    padding: 25px 0 15px;
}
.comments__info {
    font-size: 17px;
    line-height: 1.6;
    color: #000;
    max-width: calc(100% - 85px);
}
.comments__name {
    font-weight: bold;
    color: #2a6a9a;
}
.comments__footer {
    color: #2383cc;
    padding-top: 20px;
}
.comments__date {
    color: #b4b4b4;
}
.comments__pic {
    width: 100%;
    max-width: 437px;
    margin-top: 20px;
}
.comments__item--subitem {
    margin-left: 80px;
    border-top: 1px solid #d9d9d9;
    border-bottom: none;
    margin-top: 20px;
    padding-bottom: 0;
}
@media (max-width: 768px) {
    .comments__header {
        position: relative;
    }
    .comments__title {
        padding-bottom: 30px;
    }
    .comments__color {
        position: absolute;
        right: 0;
        top: 34px;
        font-size: 13px;
    }
    .comments__select {
        max-width: 130px;
        height: 30px;
    }
    .comments__text {
        font-size: 13px;
        margin-right: 5px;
    }
    .comments__subtitle {
        font-size: 15px;
    }
    .comments__btn {
        margin-top: 7px;
        padding: 5px 20px;
    }
    .comments__item {
        font-size: 17px;
    }
    .comments__ava {
        margin-right: 10px;
    }
    .comments__footer {
        font-size: 15px;
    }
    .comments__item--subitem {
        margin-left: 74px;
    }
}

/* thanks */
.thanks {
    box-sizing: border-box;
    height: 100vh;
    padding-top: 15vh;
    background: url(../images/bg-thanks.jpg) no-repeat center/cover;
    position: relative;
}
.thanks .wrapper {
    max-width: 795px;
    position: relative;
    z-index: 1;
}
.thanks__icon {
    max-width: 93px;
    display: block;
    position: relative;
    margin: 0 auto 40px;
}
.thanks__icon::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -16px;
    left: -24px;
    z-index: -1;
    background-image: url("https://w.ladicdn.com/s450x450/5c7362c6c417ab07e5196b05/aeae-20201001034624.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    background-attachment: scroll;
    background-origin: content-box;
    pointer-events: none;
    animation-name: fadeIn;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.thanks__title {
    color: rgb(0, 0, 0);
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    padding-bottom: 20px;
}
.thanks__subtitle {
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-align: center;
    line-height: 1.6;
}
.thanks__phone {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    line-height: 1.6;
    padding: 30px 0;
}
.thanks__phone-ic {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    background: rgba(99, 160, 81, 1);
    margin-right: 15px;
}
.thanks__phone-ic svg {
    max-width: 20px;
    height: auto;
}
.thanks__decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.thanks__decor--1 {
    top: 130px;
    left: calc(50% - 500px);
    animation-name: pulse;
    animation-delay: 1s;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
.thanks__decor--2 {
    top: 230px;
    right: calc(50% - 500px);
    animation-name: pulse;
    animation-delay: 1s;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
.thanks__decor--group {
    height: 234px;
    bottom: 40px;
    left: 0;
    right: 0;
    overflow: hidden;
    animation-name: shake;
    animation-delay: 0s;
    animation-duration: 35s;
    animation-iteration-count: infinite;
}
.thanks__decor--3 {
    top: -60px;
    right: calc(50% - 1500px);
    max-width: 1333px;
}
.thanks__decor--4 {
    top: -80px;
    left: calc(50% - 1500px);
    max-width: 1333px;
}
.thanks__decor--5 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1333px;
}
@media (max-width: 768px) {
    .thanks {
        padding-top: 50px;
        background-image: url(../images/bg-thanks-mob.jpg);
    }
    .thanks__icon {
        margin: 0 auto 20px;
    }
    .thanks__decor--1 {
        top: 103px;
        left: 20px;
        max-width: 93px;
    }
    .thanks__decor--2 {
        right: 20px;
        max-width: 78px;
        top: 350px;
    }
    .thanks__decor--group {
        display: none;
    }
}

/* anim */
@keyframes shake {
    0%,
    100% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translateX(10px);
        -ms-transform: translateX(10px);
        transform: translateX(10px);
    }
}
@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes push-out {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    60% {
        opacity: 0;
        -webkit-transform: translateX(110%);
        transform: translateX(110%);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
@keyframes push-in {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateX(10%);
        transform: translateX(10%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
