.wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.conteiner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/* header */
.header {
    width: 100%;
    height: 60px;
    background: #333 repeating-linear-gradient(90deg,
            rgba(30, 15, 140, 0.36), rgba(37, 124, 201, 0.37) 5px,
            rgba(10, 26, 89, 0.38) 5px, rgba(123, 159, 225, 0.37) 10px);
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

/* footer */
.footer {
    width: 100%;
    height: 180px;
    background: #333 repeating-linear-gradient(90deg,
            rgba(30, 15, 140, 0.36), rgba(37, 124, 201, 0.37) 5px,
            rgba(10, 26, 89, 0.38) 5px, rgba(123, 159, 225, 0.37) 10px);
}

/* page */
.main {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticket_conteiner {
    width: 1200px;    
    padding: 10px;
    text-align: center;
    background-color: #eee;
    box-shadow: 5px 5px 10px #606060;
}

.start_conteiner {
    width: 100%;
    margin: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.btn_ticket {
    display: inline-block;
    width: 200px;
    height: 30px;
    font-family: Verdana, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background-color: navy;
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
}

.btn_ticket:hover {
    background-color: mediumblue;
}

h1 {
    font-family: 'Pattaya', sans-serif;
    color: rgb(204, 51, 0);
    font-size: 28px;
    text-align: center;
    padding: 10px 10px 5px;
}

.timer_conteiner {
    border: 2px solid #0c2e5e;
    padding: 10px;
    border-radius: 8px;
    background-color: lightsteelblue;
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
}

.timer {
    font-family: Verdana, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0c2e5e;
}

.ticket_block_conteiner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 10px;
}

.ticket_block {
    width: 30px;
    height: 30px;
    box-shadow: 5px 5px 10px #606060;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.ticket_block_sim {
    background: radial-gradient(at 10% 10%, #00ffff, #000080);
}

.ticket_block_yes {
    background: radial-gradient(at 10% 10%, #99f49f, #036315);
}

.ticket_block_no {
    background: radial-gradient(at 10% 10%, #e787b5, #7d0738);
}

.ticket_content {
    width: 100%;
    height: 580px;    
    position: relative;
}

.ticket_field {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgb(193, 226, 244);
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
}

.ticket_title {
    font-size: 24px;
    font-weight: 700;
    color: #0c2e5e;
    text-align: left;    
    margin: 20px 10px 10px 40px;
}

.ticket_img {
    width: 50%;
    margin-bottom: 10px;
    box-shadow: 5px 5px 10px #606060;
}

.ticket_quest {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 10px;
}

.ticket_answers {
    display: inline-block;
    margin: 5px auto;
}

.ticket_answer {
    font-size: 15px;
    font-style: italic;
    color: #000;
    cursor: pointer;
    text-align: left;
    padding: 7px;
}

.ticket_answer:hover {
    font-weight: bold;
    color: blue;
}

.button_conteiner {
    width: 100%;
    position: absolute;
    bottom: 10px;
    margin-top: 20px;    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.button_help {
    width: 150px;
    height: 30px;
    color: #fff;
    margin: 5px 0 20px;
    background: radial-gradient(at 10% 10%, #5fb0dc, #195474);
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
}

.button_help:hover {
    color: #000;
    background: radial-gradient(at 10% 10%, #aedaf1, #90b9cf);
}

.button_furt,
.button_prev {
    width: 150px;
    height: 30px;
    color: #fff;
    margin: 5px 0 20px;
    background: radial-gradient(at 10% 10%, #4bb362, #2e7c3f);
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
}

.button_furt:hover,
.button_prev:hover {
    color: #000;
    background: radial-gradient(at 10% 10%, #91e0a2, #6fae7d);
}

/* окно help */
.ticket_mod {
    width: 80%;
    background: radial-gradient(at 10% 10%, #f1ddf5, #e6cbec);
    box-shadow: 5px 5px 10px #606060;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
}

.title_mod_conteiner {
    width: 100%;
    position: relative;
    margin: 5px;
}

.title_mod {
    font-size: 22px;
    font-weight: bold;
    color: rgb(143, 53, 26);
    text-align: center;
}

.title_close {
    font-size: 24px;
    color: rgb(143, 53, 26);
    position: absolute;
    right: 30px;
    cursor: pointer;
}

.text_mod {
    font-size: 15px;
    font-style: italic;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    background-color: #eee;
    line-height: 30px;
    text-align: justify;
    box-shadow: 5px 5px 10px #606060;
}

.url_png {
    height: 35px;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: -3px;
}

/* итоговое окно */
.result_conteiner {
    width: 500px;
    position: absolute;
    background-color: #000080;
    box-shadow: inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
    padding: 20px;
    border-radius: 10px;
    transform: translate(-50%, 120%);
    opacity: 0;
    transition: all 0.3s ease 0s;
    visibility: hidden;
    overflow: hidden;
}

.result_conteiner.on {
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all 1.2s ease 0s;
}

.result_title_conteiner {
    width: 90%;
    margin: 10px;
    position: relative;
}

.result_title {
    font-family: 'Pattaya', sans-serif;
    font-size: 26px;
    color: #fff;
    text-align: center;
}

.result_close {
    font-size: 24px;
    color: #fff;
    position: absolute;
    top: 1px;
    right: -30px;
    cursor: pointer;
}

.result_text {
    font-size: 18px;
    font-style: italic;
    color: #eee;
    padding: 5px 10px 5px 20%;
    text-align: justify;
}

.result_text_t {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

/* модальное окно выбор билетов */
.modal_ticket {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(79, 104, 137, 0.7);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    z-index: 100;
}

.modal_ticket_open {
    opacity: 1;
    visibility: visible;
}

.modal_ticket_conteiner {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal_ticket_content {
    background-color: #eee;
    box-shadow: 5px 5px 10px #606060;
    border-radius: 10px;
    border: 3px solid #999;
    padding: 10px;
    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}

.modal_ticket_open .modal_ticket_content {
    transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
    opacity: 1;
}

.modal_ticket_tabl {
    position: relative;
    padding: 5px;
    font-weight: normal;
    color: maroon;
}

.modal_ticket_title {
    font-family: 'Pattaya', sans-serif;
    font-size: 25px;
    text-align: center;
}

.modal_ticket_close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 23px;
    cursor: pointer;
    padding: 5px;
}

.modal_ticket_inside {
    padding: 3px;
}

.modal_head {
    padding: 5px;
    box-shadow: 5px 5px 10px #606060;
    background-color: #eee;
}

.ticket_item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ticket_num {
    width: 150px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    margin: 5px 0px;
    background: radial-gradient(at 10% 10%, #5fb0dc, #195474);
    box-shadow:
        inset rgba(0, 0, 0, .5) -3px -3px 8px,
        inset rgba(255, 255, 255, .9) 3px 3px 8px,
        rgba(0, 0, 0, .8) 3px 3px 8px -3px;
    cursor: pointer;
}

.ticket_num:hover {
    background: radial-gradient(at 10% 10%, #4183a6, #0a354c);
}

/* Адаптация */
@media(max-width:1200px) {
    .conteiner {
        max-width: 970px;
    }

    .ticket_conteiner {
        width: 100%;
    }

    .ticket_mod {
        width: 90%;
    }

    .text_mod {
        font-size: 14px;
        line-height: 27px;
    }

    .url_png {
        height: 30px;
    }
}

@media(max-width:992px) {
    .conteiner {
        max-width: 750px;
    }

    .text_mod {
        font-size: 12px;
        line-height: 22px;
    }

    .url_png {
        height: 26px;
    }
}

@media(max-width:767px) {
    .conteiner {
        max-width: none;
    }

    .ticket_conteiner {
        width: 550px;
        margin: auto;
    }

    .btn_ticket {
        width: 150px;
        font-size: 13px;
    }

    h1 {
        font-size: 24px;
    }

    .timer {
        font-size: 22px;
    }

    .ticket_block_conteiner {
        gap: 5px;
    }

    .ticket_block {
        width: 25px;
        height: 20px;
        font-size: 10px;
    }

    .ticket_content {
        height: 650px;
    }

    .ticket_img {
        width: 70%;
    }

    .button_furt,
    .button_prev,
    .button_help {
        width: 100px;
        font-size: 12px;
    }

    .title_mod {
        font-size: 16px;
    }

    .title_close {
        font-size: 18px;
        right: 15px;
    }

    .text_mod {
        font-size: 10px;
        line-height: 20px;
    }

    .url_png {
        height: 25px;
        padding-left: 2px;
        padding-right: 2px;
        margin-top: -2px;
    }

    .ticket_num {
        width: 100px;
        font-size: 12px;
    }
}

@media(max-width:550px) {
    /*до 340px*/

    .footer {
        height: 240px;
    }

    .ticket_conteiner {
        width: 340px;
    }

    .start_conteiner {
        gap: 5px;
    }

    .btn_ticket {
        width: 80px;
        font-size: 8px;
    }

    h1 {
        font-size: 16px;
    }

    .timer {
        font-size: 14px;
    }

    .ticket_block_conteiner {
        gap: 3px;
    }

    .ticket_block {
        width: 20px;
        height: 15px;
        font-size: 8px;
    }

    .button_conteiner {
        gap: 10px;
    }

    .button_furt,
    .button_prev,
    .button_help {
        width: 80px;
        font-size: 10px;
    }

    .ticket_img {
        width: 80%;
    }

    .ticket_fieldst {
        height: 200px;
    }

    .ticket_quest {
        font-size: 14px;
    }

    .ticket_answer {
        font-size: 13px;
    }

    .text_mod {
        font-size: 8px;
        line-height: 15px;
    }

    .url_png {
        height: 17px;
    }

    .result_conteiner {
        width: 300px;
    }

    .result_title {
        font-size: 18px;
    }

    .result_close {
        font-size: 18px;
        top: -1px;
        right: -20px;
    }

    .result_text {
        font-size: 10px;
    }

    .result_text_t {
        font-size: 12px;
    }

    .modal_ticket_title {
        font-size: 18px;
    }

    .modal_ticket_close {
        font-size: 18px;
    }

    .ticket_num {
        width: 60px;
        height: 20px;
        font-size: 8px;
    }
}