@import url('css2.css');
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}
@keyframes rotation {
    70% {
        transform: rotate(1694deg);
    }

    100% {
        transform: rotate(1674deg);
    }
}
.box {
    width: 300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 72px repeat(3, 1fr);
    margin: 0 auto;
}
.box__header {
    grid-column: 1/4;
}
.box__img {
    max-width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.box__img:hover {
    transform: scale(1.1);
}
.box__modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
}
.box__modal-dialog {
    max-width: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.box__modal-content {
    display: flex;
    flex-direction: column;
    padding: 25px 35px;
    align-items: center;
    position: relative;
    text-align: center;
}
.box__modal-img {
    position: absolute;
    top: -50px;
}
.box__modal-title {
    margin-top: 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}
.box__modal-descr {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #000;
    margin-top: 11px;
}
.box__modal-btn {
    width: 100%;
    height: 40px;
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.box__modal-btn:hover {
    transform: scale(1.1);
}
.box__modal-btn_try-again {
    background-color: #ffe0c4;
}
.box__modal-btn_success {
    background-color: #59e767;
}
.door {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.door__item {
    position: relative;
    perspective: 500px;
    width: 190px;
    height: 400px;
}
.door__item img {
    position: absolute;
    left: 0;
    box-shadow: inset -1px -1px 0 1px #191919, inset 1px 1px 0 1px #191919;
    transform: rotateY(0);
    display: inline-block;
    transition: 0.75s;
    transform-origin: 0 0;
    cursor: pointer;
    z-index: 10;
    width: 100%;
    min-height: 100%;
}
.door__item img:hover {
    transform: rotateY(-30deg);
}
.door__item img.door__item_active {
    transform: rotateY(-85deg);
}
.door__inner {
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    position: absolute;
    top: 0;
    z-index: 0;
    font-size: 55px;
    line-height: 350px;
    font-weight: 800;
    vertical-align: middle;
    color: red;
}
.door__title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    background-color: #3a4752;
    padding: 10px 0;
    border-radius: 0.5em;
}
.door__modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
}
.door__modal-dialog {
    max-width: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.door__modal-content {
    display: flex;
    flex-direction: column;
    padding: 25px 35px;
    align-items: center;
    position: relative;
    text-align: center;
}
.door__modal-img {
    position: absolute;
    top: -50px;
}
.door__modal-title {
    margin-top: 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}
.door__modal-descr {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #000;
    margin-top: 11px;
}
.door__modal-btn {
    width: 100%;
    height: 40px;
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #59e767;
}
.door__modal-btn:hover {
    transform: scale(1.1);
}
@media (max-width: 767px) {
    .door__item {
        width: 140px;
        height: 300px;
    }
    .door__inner {
        font-size: 35px;
        line-height: 250px;
    }
}
@media (max-width: 575px) {
    .door__item {
        width: 90px;
        height: 190px;
    }
    .door__inner {
        font-size: 25px;
        line-height: 180px;
    }
}
.promo {
    margin: 50px auto;
    padding: 20px 20px 50px 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
}
.promo__wrapper {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    max-width: 386px;
    background-color: #fff;
    margin: 0 auto;
    padding: 50px 20px;
}
.promo__img {
    max-width: 220px;
    margin: 0 auto;
}
.promo__img img {
    width: 100%;
}
.promo__title {
    font-weight: 400;
    font-size: 32px;
    line-height: 44px;
}
.promo__subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
}
.promo__form {
    max-width: 300px;
    margin: 22px auto 0 auto;
    text-align: left;
}
.promo__form label {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ababab;
    margin-top: 15px;
}
.promo__form input {
    width: 100%;
    height: 46px;
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ababab;
    padding-left: 14px;
    outline-color: #ababab;
    box-sizing: border-box;
}
.promo__form button {
    margin-top: 27px;
    border: none;
    text-transform: uppercase;
}
@media (max-width: 575px) {
    .promo {
        padding: 0;
        margin: 20px auto;
    }
}
.sertificate__prod {
    width: 150px;
}
.sertificate h2.title {
    margin-bottom: 0;
}
.sertificate__title {
    font-size: 24px;
    line-height: 24px;
    color: #ff0010;
}
.sertificate__quantity {
    background-color: #ff0010;
    width: 280px;
    margin: 20px auto;
    padding: 15px 25px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    border-radius: 15px;
}
.sertificate__descr {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}
.sertificate__wrapper {
    background: url('../img.html') center center no-repeat;
    background-size: 100% 100%;
    position: relative;
    max-width: 650px;
    padding: 25px 40px;
    margin: 25px auto;
}
.sertificate__hologram {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 90px;
}
.sertificate__number {
    font-size: 16px;
    color: #00f;
    font-style: italic;
    text-align: center;
    margin-top: 5px;
}
.sertificate__frame {
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    margin: 45px 0 25px;
    border: 2px solid #0299ff;
    padding: 10px;
}
.sertificate__form {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
}
.sertificate__form label {
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}
.sertificate__form input {
    width: 100%;
    margin: 10px auto;
    padding: 5px 15px;
    border-radius: 3px;
    border: 2px solid #e9d7dc;
    font-size: 21px;
}
.sertificate__btn {
    max-width: 252px;
    font-size: 18px;
    width: 100%;
    display: block;
    margin: 20px auto;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
    border-radius: 5px;
    background: #0299ff;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
    animation: 1s pulse infinite alternate ease-in-out;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.sertificate__info {
    font-size: 14px;
    margin: 0 0 10px;
    font-weight: 400;
}
.spinner {
    padding: 15px;
    margin: 20px auto;
    text-align: center;
}
.spinner__wrapper {
    background: url('../img.html');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    max-width: 380px;
    height: 380px;
    position: relative;
    margin: 0 auto;
    text-align: center;
}
.spinner__content {
    position: absolute;
    height: 28px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.spinner__content-item {
    transform-origin: left center;
    transform: rotate(50deg);
    text-align: center;
    font-weight: 800;
    font-size: 20px;
    padding-left: 55px;
    position: absolute;
    color: #000;
    letter-spacing: -1px;
    width: 170px;
    font-family: Arial;
}
.spinner__content-item:nth-child(1) {
    transform: rotate(0);
}
.spinner__content-item:nth-child(2) {
    transform: rotate(45deg);
}
.spinner__content-item:nth-child(3) {
    transform: rotate(90deg);
}
.spinner__content-item:nth-child(4) {
    transform: rotate(135deg);
}
.spinner__content-item:nth-child(5) {
    transform: rotate(180deg);
}
.spinner__content-item:nth-child(6) {
    transform: rotate(225deg);
}
.spinner__content-item:nth-child(7) {
    transform: rotate(270deg);
}
.spinner__content-item:nth-child(8) {
    transform: rotate(315deg);
}
.spinner__modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
}
.spinner__modal-dialog {
    max-width: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.spinner__modal-content {
    display: flex;
    flex-direction: column;
    padding: 25px 35px;
    align-items: center;
    position: relative;
    text-align: center;
}
.spinner__modal-img {
    position: absolute;
    top: -50px;
}
.spinner__modal-title {
    margin-top: 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}
.spinner__modal-descr {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #000;
    margin-top: 11px;
}
.spinner__modal-btn {
    width: 100%;
    height: 40px;
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #59e767;
}
.spinner__modal-btn:hover {
    transform: scale(1.1);
}
.wheel {
    width: 380px;
    margin: 0 auto;
    position: relative;
}
.wheel__cursor {
    position: absolute;
    width: 35%;
    height: 35%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.wheel__cursor img {
    max-width: 100%;
    margin-bottom: 0;
}
.wheel__cursor-text {
    position: absolute;
    z-index: 2;
    display: inline-block;
    width: 45%;
    height: 45%;
    font: 16px Arial;
    line-height: 61px;
    cursor: pointer;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    background-color: #ccc;
    border: 1px solid #ccc;
    top: 58%;
    left: 50%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    transform: translate(-50%, -50%);
    box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset,
        rgba(0, 0, 0, 0.4) 0 0 5px;
    background: #fff;
}
@media (max-width: 575px) {
    .wheel {
        text-align: center;
        width: 300px;
        height: 300px;
    }
    .wheel__cursor {
        width: 40%;
        height: 40%;
    }
    .spinner {
        padding: 0;
    }
    .spinner__content-item {
        font-size: 18px;
        padding-left: 54px;
        width: 140px;
    }
    .spinner__wrapper {
        max-width: 300px;
        height: 300px;
        background-size: cover;
    }
}
.timer__wrapper {
    max-width: 200px;
    margin: 10px auto 0 auto;
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 5px 20px;
    border-radius: 10px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 150%;
    color: #ff0010;
    background-color: rgba(0, 0, 0, 0);
}
.timer__wrapper #hours,
.timer__wrapper #minutes,
.timer__wrapper #seconds {
    width: 40px;
}
.timer__descr {
    margin-top: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
}
.modal__dialog {
    max-width: 620px;
    margin: 100px auto;
    position: relative;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.modal__content {
    display: flex;
    flex-direction: column;
    padding: 45px 58px;
    align-items: center;
    position: relative;
}
.modal__close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    color: #ff0010;
    padding: 0 10px;
    cursor: pointer;
}
.modal__title {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 32px;
    line-height: 39px;
}
.modal__subtitle {
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    margin-top: 10px;
}
.modal__img {
    max-width: 185px;
    margin-top: 13px;
}
.modal__img img {
    width: 100%;
}
.modal__descr {
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    margin-top: 13px;
}
@media (max-width: 767px) {
    .modal__dialog {
        margin: 60px auto 0 auto;
        max-width: 500px;
        text-align: center;
    }
}
.btn {
    background: #ff0010;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    margin: 0 auto;
    display: block;
    width: 100%;
    cursor: pointer;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
.date {
    font-size: 22px;
    color: #ababab;
}
.fadeOut {
    animation-name: fadeOut;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.rotation {
    animation-name: rotation;
    animation-duration: 7s;
    animation-fill-mode: forwards;
    transition-timing-function: ease-in-out;
}
.show {
    display: block;
}
.hide {
    display: none;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    position: relative;
}
.d-header {
    position: relative;
    width: 100%;
    background-color: #c00;
    box-shadow: 0 2px 4px 0 #bf0000(0, 0, 0, 0.25);
}
.d-header__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 940px;
    padding: 18px 30px;
}
.d-header__logo {
    max-width: 100px;
}
.d-header__logo img {
    width: 100%;
}
.d-header__search {
    border-radius: 9px;
    width: 170px;
    height: 42px;
    color: #464646;
    display: flex;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.15);
}
.d-header__search-icon {
    padding: 12px 18px;
}
.d-header__search-text {
    line-height: 40px;
}
.d-container {
    max-width: 940px;
    margin: 0 auto;
}
.d-nav__list {
    width: 390px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    list-style-type: none;
    padding: 0 10px;
    margin: 0;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
}
.d-nav__list-item {
    padding: 10px 0;
}
.d-nav__list-item-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}
.d-nav__list-item-link:hover {
    color: #595959;
}
.d-nav__list-item_active {
    border-bottom: 3px solid #f20030;
}
@media (min-width: 320px) {
    .d-container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    .d-header__wrapper {
        flex-direction: column;
        align-items: start;
        padding: 15px 0;
    }
    .d-header__search {
        display: none;
        width: auto;
    }
}
@media (min-width: 768px) {
    .d-container {
        width: 750px;
    }
    .d-header__search-text {
        display: none;
    }
    .d-header__search {
        display: flex;
        width: auto;
    }
    .d-header__wrapper {
        flex-direction: row;
        align-items: center;
    }
}
@media (min-width: 992px) {
    .d-container {
        width: 950px;
    }
    .d-header__search-text {
        display: flex;
    }
    .d-header__search {
        width: 270px;
    }
}
