body {
    padding-top: 78px;
}

.new-year-timer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 78px;
    background-color: #D8FFF3;
    cursor: pointer;
    background-image: url('/images/18028381.jpg');
    z-index: 99;
}

.new-year-timer:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: rgba(170, 0, 22, .6);
}

.new-year-timer-ins {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    font-family: 'Arial';
    z-index: 1;
}

.new-year-timer-ins-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    margin: auto;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('/images/close_white.svg');
    cursor: pointer;
}

.countdown-box {
    padding: 0 10px;
    text-align: center;
}

.countdown-value {
    font-size: 30px;
    line-height: 30px;
}

.countdown-value-text {
    font-size: 10px;
    line-height: 16px;
}

/* Форма обратной связи */

.timer-fade-in-overlay {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, .3);
    position: fixed;
    z-index: 99999;
}

.timer-close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    background-image: url('/images/close_white.svg');
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.timer-form-div {
    opacity: 0;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 490px;
    margin: 20vh auto;
    border-radius: 10px;
    padding: 30px 40px 20px 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #024;
    text-align: center;
    font-family: 'Arial';
}

.timer-name {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 10px;
    margin-bottom: 20px;
    outline: 0!important;
    border: 3px solid transparent;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 16px;
    font-family: 'Arial';
}

.timer-phone {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 10px;
    margin-bottom: 20px;
    outline: 0!important;
    border: 3px solid transparent;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 16px;
    font-family: 'Arial';
}

.timer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 10px;
    outline: 0!important;
    border: 0!important;
    box-sizing: border-box;
    background-color: #FF3D41;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: .2s background-color;
    font-family: 'Arial';
}

.timer-btn:hover {
    background-color: #DB2C2C;
    transition: .2s background-color;
}

.timer-form-h2 {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.timer-sale-text {
    max-width: 340px;
    font-weight: 400;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    margin: 30px 0 40px 0;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    background: rgb(255,61,65);
}

.timer-first-t {
    color: #fff;
    font-size: 22px;
    line-height: 24px;
}

.timer-second-t {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.timer-sale-text:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    top: 2px;
    left: -60px;
    background-image: url('/images/present-box_13396962.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.timer-sale-text:after {
    content: '';
    position: absolute;
    right: -70px;
    top: -40px;
    width: 50px;
    height: 50px;
    background-image: url('/images/star_17549994.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.timer-form-info {
    padding: 20px 0 0 0;
    color: #ccc;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
        font-weight: 400;
}

.countdown-container {
    opacity: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-right: 40px;
}

.countdown-colon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 25px;
}

.new-year-timer-span {
    display: inline-block;
    padding: 5px 10px;
    font-size: 20px;
    line-height: 20px;
    color: #000;
    background-color: #fff;
    border-radius: 20px;
}

.timer-snowman {
    display: block;
    position: absolute;
    width: 60px;
    right: 0;
    top: 10px;
}

.timer-firtree {
    display: block;
    position: absolute;
    width: 53px;
    left: 0;
    top: 2px;
}

.timer-ded-moroz {
    display: block;
    position: absolute;
    width: 40px;
    left: 0;
    top: 5px;
}

.timer-text {
    padding-left: 20px;
    margin-bottom: 0;
}

@media only screen and (max-width: 480px) {

}


@keyframes slideFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px); /* Начинаем на 50px выше */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Конечная позиция */
  }
}

.fade-in-block {
  animation: slideFromTop .3s ease-out forwards;
}

/* Форма обратной связи, конец */