@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* general */
* {
    box-sizing: border-box;
}

html {
    min-height: 100vh;
    position: relative;
    height: 100%;
}

body {
    position: relative;
    color: #000;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    font-family: "Open Sans", sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

strong {
    font-weight: 700;
}

/* reusable */
.wrap {
    max-width: 680px;
    padding: 0 10px;
    margin: 0 auto;
}

.title {
    color: #fff;
    font-weight: 400;
    font-size: 35px;
    text-align: center;
    text-shadow: rgb(0 0 0) 1px 2px 3px;
    font-family: 'Avo', sans-serif;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 27px;
    text-shadow: rgb(0 0 0) 1px 2px 3px;
    color: #fff;
    text-align: center;
    font-family: 'Avo', sans-serif;
    margin-bottom: 20px;
}

.title-2 {
    font-size: 50px;
    line-height: 56px;
    color: #C0AE8F;
}

.title-3 {
    font-size: 24px;
    line-height: 34px;
}

.btn {
    position: relative;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    padding: 14px 15px;
    background: linear-gradient(18090deg, #8e44ad, #c0392b);
    color: #fff;
    outline: 0;
    border: 0;
    border-radius: 23px;
    appearance: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s linear;
}

.btn-yellow {
    background: linear-gradient(180deg, #ffe259, #ffa751);
    max-width: 342px;
    width: 100%;
    animation-name: bounce;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@media (max-width: 768px) {
    .title {
        font-size: 28px;
        line-height: 1.3;
    }

    .btn {
        font-size: 24px;
        max-width: 300px;
    }
}

/* header */
.header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(228, 228, 228);
}

.header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .btn {
    animation-name: tada;
    animation-delay: 0s;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    max-width: 334px;
    width: 100%;
}

.header-block {
    font-size: 33px;
    font-weight: 700;
    text-align: center;
}

.header-block p {
    line-height: 1;
    margin-bottom: 15px;
}

.header-block span {
    color: #e83a30;
}

.countdown {
    display: flex;
    justify-content: center;
}

.countdown>div {
    font-size: 40px;
    font-weight: 700;
    margin: 0 17px;
    line-height: 1;
}

@media (max-width: 768px) {
    .header {
        position: relative;
        padding-bottom: 15px;
    }

    .header .wrap {
        flex-direction: column;
    }

    .header-block {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .countdown>div {
        font-size: 24px;
    }

    .header .btn {
        max-width: 300px;
    }
}

/* content */
.page-wrapper {
    position: relative;
    background: linear-gradient(18090deg, #45b649, rgba(190, 196, 77, 1.0));
}

.content {
    padding-top: 124px;
}

.top-date {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 10px;
}

.box {
    background-color: #fff;
    border-radius: 25px;
    padding: 25px 25px 35px;
    margin-bottom: 20px;
}

.box-bordered {
    border: 2px solid #000;
}

.box-yellow {
    background: linear-gradient(90deg, rgba(232, 226, 48, 1), rgba(228, 228, 228, 1));
    border: 2px solid #f4f19c;
}

.box-yellow-bordered {
    border: 2px solid #000;
}

.box-green {
    background-color: #16b28e;
    border: 2px solid #000;
    color: #fff;
}

.box-transparent {
    background-color: transparent;
}

.box img {
    margin: 0 auto 20px;
}

.box .box-title {
    font-size: 19px;
}

.box p {
    font-size: 18px;
    margin-bottom: 20px;
}

.box p:last-child {
    margin-bottom: 0;
}

.box .name-comment {
    font-size: 18px;
    text-align: right;
}

.main-form .btn {
    animation-name: pulse;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.box-green img {
    max-width: 290px;
    width: 100%;
    border: 1px solid #f1f3f4;
    border-radius: 3px;
}

.box .pic-round {
    border-radius: 50%;
    max-width: 240px;
    border: 0;
}

.box-transparent .btn {
    animation-name: pulse;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    max-width: 340px;
    width: 100%;
    padding: 19px;
}

.box .pic-lg {
    max-width: 440px;
    width: 100%;
    border-radius: 20px;
}

.box .pic-sm {
    max-width: 310px;
}

.box .center {
    text-align: center;
}

.box p.bordered {
    border: 3px solid #fff;
    border-radius: 14px;
    padding: 15px;
}

.box ul {
    margin-bottom: 20px;
    padding-left: 40px;
}

.bordered+.btn-wrap {
    padding: 10px 0 30px;
}

.bordered+.btn-wrap .btn {
    animation-name: pulse;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    max-width: 340px;
    width: 100%;
    padding: 19px;
}

.form-title {
    font-size: 47px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #5c0b34;
}

.form-title span {
    display: block;
}

.form-title span:first-child {
    color: #004aad;
}

.form-title span:nth-child(2) {
    color: #e8308c;
}

.box ul li {
    font-size: 18px;
}

.box h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 20px;
    padding-left: 40px;
}

.box .line {
    position: relative;
    padding-left: 27px;
    border-left: 3px solid #b4b4b4;
    margin-left: 10px;
}

.box p+img {
    margin-top: 30px;
}

.box .red {
    color: #ff1201;
    font-weight: 700;
}

.box .text {
    font-size: 23px;
    font-weight: 700;
}

.box .price {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-decoration-line: line-through;
    margin-bottom: 0;
}

.box .new-price {
    font-size: 31px;
    text-align: center;
    margin-bottom: 10px;
}

.btn-wrap {
    text-align: center;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .content {
        padding-top: 0;
    }

    .date {
        font-size: 20px;
    }

    .box {
        padding: 15px;
    }

    .box h3 {
        padding-left: 23px;
    }

    .box .line {
        margin-left: 0;
        padding-left: 20px;
    }

    .box p {
        font-size: 16px;
    }

    .box ul {
        padding-left: 23px;
    }

    .box ul li {
        font-size: 16px;
    }

    .form-title {
        font-size: 31px;
    }

    .box-transparent .btn {
        max-width: 300px;
    }

    .bordered+.btn-wrap .btn {
        max-width: 300px;
    }

    .subtitle {
        font-size: 24px;
        line-height: 1.4;
    }

    .box .name-comment {
        font-size: 16px;
    }
}

/* form */
.main-form {
    max-width: 580px;
    margin: 0 auto;
}

.form input {
    width: 100%;
    display: block;
    margin-bottom: 6px;
    border-radius: 5px;
    outline: none;
    border: 1px solid rgb(232, 48, 140);
    padding: 5px 10px;
}

.box .text-form {
    font-size: 16px;
    margin-bottom: 0;
}

.form-row {
    min-height: 90px;
}

.form-label {
    display: block;
    font-size: 18px;
}

.form-label span {
    color: #e83a30;
}

.form-control {
    border-radius: 24px;
    color: #545454;
    font-size: 19px;
    border: 0;
    margin: 0;
    padding: 9px 10px;
    display: block;
    width: 100%;
}

label.error {
    display: block;
    font-size: 14px;
    color: #e83a30;
    font-weight: 700;
}

.form-row-btn {
    text-align: center;
    min-height: auto;
    padding: 20px 0 40px;
}

.form-row-btn .btn {
    padding: 19px;
    max-width: 430px;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row-btn .btn {
        max-width: 300px;
    }
}

/* timer */
.flipdown {
    width: 235px;
    height: 60px;
    margin: 0 auto;
}

.flipdown .rotor-group:first-child {
    display: none;
}

.flipdown .rotor {
    width: 30px;
    height: 50px;
    font-size: 30px;
}

.flipdown .rotor-group {
    padding-right: 20px;
}

.flipdown .rotor:after {
    width: 30px;
    height: 25px;
}

.flipdown .rotor-leaf {
    width: 30px;
    height: 50px;
}

.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
    width: 30px;
    height: 25px;
}

.rotor-group-heading {
    display: none;
}

.flipdown .rotor-leaf-front,
.flipdown .rotor-top {
    line-height: 50px;
}

.flipdown .rotor-top,
.flipdown .rotor-bottom {
    width: 30px;
    height: 25px;
}

.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    bottom: 12px;
    left: 70px;
    display: none;
}

.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    bottom: 25px;
    left: 70px;
    display: none;
}

/* footer */
.footer {
    position: relative;
    padding: 25px 0 40px;
    text-align: center;
}

.footer .copyright {
    text-align: center;
}

/* thank page */
.page-wrapper-thank {
    height: 100vh;
    min-height: 100%;
    background: url(../images/thank-bg.jpg) no-repeat top center;
    background-size: cover;
}

.page-wrapper-thank .content {
    padding: 90px 0 50px;
}

.section-thank {
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.section-thank .wrap {
    max-width: 780px;
}

.section-thank .wrap-icon {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.section-thank .wrap-icon .icon {
    padding: 16px 0 0;
}

.section-thank .wrap-icon:before {
    content: '';
    display: block;
    background: url(../images/aeae-20201001034624.png) no-repeat center;
    width: 140px;
    height: 140px;
    animation-name: fadeIn;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-size: 140px;
    top: 0;
}

.section-thank .wrap-icon svg {
    position: relative;
    display: block;
    max-width: 93px;
    margin: 0px auto;
    height: 115px;
}

.section-thank .subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-shadow: none;
}

.section-thank p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.section-thank .phone {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    align-items: center;
}

.phone-wrap-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #63a051;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-wrap-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: #fff;
}

.phone .phone-number {
    font-size: 22px;
    font-weight: 700;
    margin-left: 10px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-wrapper-thank {
        background: url(../images/thank-bg-mob.jpg) no-repeat top center;
        background-size: cover;
    }
    .page-wrapper-thank .content {
        padding-top: 60px;
    }
    
    .section-thank .subtitle {
        font-size: 22px;
    }
    
    .section-thank p {
        font-size: 16px;
    }
    
    .phone .phone-number {
        font-size: 18px;
    }
}