/* Reset */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*---------------------*/

.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: 80px;
    position: absolute;
    top: 0;
    left: 0;
}

.text_logo {
    color: #151515;
}

.menu .menu_list_link {
    color: #151515;
}

/*---------------------*/

.menu .menu_pod {
    background-color: rgb(92, 90, 90);
}

.menu .menu_pod .menu_list_link {
    color: #fff;
}

/*---------------------*/

/* Главное изображение */

.main_image {
    width: 100%;
    height: 100%;
    position: relative;
}

.main_image_izo {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*---------------*/

/* информация на главном изображении */

.main_title_izo_text {
    width: 100%;
    height: 90%;
    position: absolute;
    left: 0;
    top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 160px 30px 0;
    font-family: 'Pattaya', sans-serif;
    font-size: 100px;
    color: rgb(92, 90, 90);
    -webkit-text-stroke: .01em #fff;
}

.vivas_conteiner {
    width: 500px;
    height: 300px;
    position: absolute;
    left: 0;
    top: 0;
    margin: 100px 70px;
    padding-top: 30px;
    text-align: center;
}

.vivas_title_conteiner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.vivas_title {
    font-family: 'Pattaya', sans-serif;
    font-size: 36px;
}

.vivas_icon {
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.vivas_text {
    font-size: 20px;
    text-align: justify;
    padding: 20px 30px;
}

.vivas_btn {
    width: 60%;
    font-size: 18px;
    padding: 10px 10px;
    border: 3px solid #fff;
    background-color: rgb(92, 90, 90);
    color: #fff;
    cursor: pointer;
}

.vivas_btn:hover {
    background-color: rgb(169, 161, 161);
}

/*---------------------*/

/* page */

.page {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 10px 0;
}

.page_title {
    font-size: 40px;
    font-family: 'Pattaya', sans-serif;
}

/*---------------------*/

/* film */

.film_main {
    width: 100%;
    background-color: rgb(212, 205, 196);
    margin: 20px 0 10px;
}

.film_perforation {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

.perforation {
    width: 20px;
    height: 12px;
    background-color: rgb(92, 90, 90);
}

.film_cadr {
    display: flex;
    justify-content: center;
    gap: 2%;
}

.cadr {
    width: 18%;
    height: 18%;
    margin: 5px 0;
}

/*------------------*/

/* истории */

.foremost_story {
    display: block;
    text-align: right;
}

.historian_story {
    background-color: rgb(92, 90, 90);
    color: #fff;
    font-size: 20px;
    padding: 10px;
    text-align: left;
    margin: 30px 0 10px;
}

.title_story {
    padding: 20px 40px;
    font-size: 28px;
    letter-spacing: 2px;
}

.shell_story {
    padding: 5px 40px;
    border: 1px solid yellow;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.historian_icon {
    width: 64px;
}

.historian_login {
    color: yellow;
    font-size: 20px;
}

.historian_text {
    text-align: justify;
    line-height: 28px;
    padding: 20px;
}

.comments_btn {
    border: 2px solid yellow;
    font-size: 18px;
    padding: 10px 40px;
    background-color: rgb(92, 90, 90);
    color: #fff;
    margin-bottom: 10px;
    margin-right: 30px;
}

.read_more {    
    font-size: 18px;
    color: yellow;
    font-style: italic;    
    text-align: right;
    padding-right: 50px;
    padding-bottom: 20px;
    cursor: pointer;
}
.collapse_text {    
    font-size: 18px;
    color: yellow;
    font-style: italic;    
    text-align: right;
   padding-right: 50px;  
   padding-bottom: 20px; 
   cursor: pointer;
}

/*------------------*/

/* комментарии */

.foremost_comments {
    display: block;
}

.general_comments {
    background-color: rgb(152, 147, 147);
    color: #fff;
    font-size: 18px;
    padding: 10px;
    text-align: left;
    margin: 10px 0 10px;
}

.title_comments {
    padding: 20px 40px;
    font-size: 20px;
    letter-spacing: 2px;
}

.shell_historian {
    padding: 5px 40px;
    border: 1px solid white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.comments_icon {
    width: 48px;
}

.comments_login {
    color: #fff;
    font-size: 18px;
}

.story_comments {
    text-align: justify;
    line-height: 25px;
    padding: 20px;
    color: #fff;
}

.story_comments_info {
    padding: 5px 40px;
    border: 1px solid white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.story_comments_icon {
    width: 48px;
    cursor: pointer;
}

.check_top,
.check_bottom {
    font-size: 18px;
}

/*------------------*/

/* footer */

.footer {
    width: 100%;
    height: 240px;
    background-color: #151515;
    box-shadow: 0 5px 10px #000;
}

/* footer_menu */

.footer_title {
    font-size: 40px;
    font-family: 'Pattaya', sans-serif;
    color: yellow;
    text-align: center;
    padding: 20px 0 10px;
}

.menu_footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.menu_footer .menu_list_link {
    font-size: 18px;
    color: #fff;
}

.menu_footer .menu_list_link:hover {
    color: #9a9393;
}

.menu_footer .menu_pod {
    display: none;
    position: absolute;
    background-color: rgb(92, 90, 90);
    box-shadow: 0 5px 10px #000;
    padding: 1px;
    z-index: 10;
}

.menu_footer .menu_pod .menu_list_item {
    display: inline-block;
    padding: 10px 10px;
}

.menu_footer .btn_item:hover .menu_pod {
    display: block;
}

/*---------------------*/

.center_soch_icon {
    display: flex;
    justify-content: center;
    padding: 10px 30px;
}

.column_icon {
    width: 48px;
    margin: 10px;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 15px;
    cursor: pointer;
}

.go_up {
    border: 2px solid #fff;
    border-radius: 50%;
    float: right;
    cursor: pointer;
}

.go_up_icon {
    margin-top: -5px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
    border: 20px solid transparent;
    border-bottom: 20px solid yellow;
}

.go_up {
    margin: 0 50px;
    position: relative;
    bottom: 100px;
}

.text_footer {
    text-align: right;
}

/*---------------------*/

/* Модальное окно Story */
/* Модальный фон */

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}

/* Модальное окно */

.modal-content {
    width: 60%;
    margin: auto;
    background-color: #fff;
    border: 2px solid rgb(147, 152, 219);
    border-radius: 17px;
    box-shadow:
        inset rgba(0, 0, 0, .6) 0 -3px 8px,
        inset rgba(252, 255, 255, .7) 0 3px 8px,
        rgba(0, 0, 0, .8) 0 3px 8px -3px;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.text_modal_story {
    font-family: 'Pattaya', sans-serif;
    font-size: 38px;
    text-align: center;
    padding-top: 20px;
    color: rebeccapurple;
}

.clouse_story {
    color: rebeccapurple;
    float: right;
    font-size: 38px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
}

/* Модальное содержание */

.modal-body {
    width: 90%;
    margin: 10px auto 30px;
    text-align: center;
    border: double rebeccapurple;
    border-radius: 7px;
}

.modal_info_story {
    font-size: 20px;
    text-align: center;
    padding: 10px 30px;
    margin: 10px 30px;
    color: rebeccapurple;
}

#story,
#login {
    border: none;
    width: 93%;
    height: 40px;
    margin: 10px 0;
    padding: 15px;
    box-shadow:
        inset rgba(86, 99, 91, 0.6) 0 -3px 8px,
        inset rgba(213, 214, 235, 0.7) 0 3px 8px,
        rgba(38, 25, 215, 0.8) 0 3px 8px -3px;
    font-size: 18px;
    font-style: italic;
    color: rebeccapurple;
}

#story {
    height: 100px;
    padding-top: 30px;
    padding-left: 30px;
}

#login::placeholder,
#story::placeholder {
    color: #4f614f;
}

#login:focus,
#story:focus {
    outline: none;
}

#btn_form_story {
    border: none;
    width: 40%;
    height: 40px;
    margin-top: 15px;
    padding: 10px 0 15px;
    background-color: rebeccapurple;
    box-shadow:
        inset rgba(86, 99, 91, 0.6) 0 -3px 8px,
        inset rgba(213, 214, 235, 0.7) 0 3px 8px,
        rgba(38, 25, 215, 0.8) 0 3px 8px -3px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    cursor: pointer;
}

#btn_form_story:hover {
    background-color: rgb(205, 185, 225);
    color: rebeccapurple;
    font-weight: 700;
}

/*------------------------*/

/* Модальное окно Comments */

.modal-content_comm {
    width: 60%;
    margin: auto;
    background-color: #fff;
    border: 2px solid rgb(175, 220, 182);
    border-radius: 17px;
    box-shadow:
        inset rgba(0, 0, 0, .6) 0 -3px 8px,
        inset rgba(252, 255, 255, .7) 0 3px 8px,
        rgba(0, 0, 0, .8) 0 3px 8px -3px;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.text_modal_comm {
    font-family: 'Pattaya', sans-serif;
    font-size: 38px;
    text-align: center;
    padding-top: 20px;
    color: green;
}

.clouse_comm {
    color: green;
    float: right;
    font-size: 38px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
}

/* Модальное содержание */

.modal-body_comm {
    width: 90%;
    margin: 10px auto 30px;
    text-align: center;
    border: double green;
    border-radius: 7px;
}

.modal_info_comm {
    font-size: 20px;
    text-align: center;
    padding: 10px 30px;
    margin: 10px 30px;
    color: green;
}

#comm,
#login_comm {
    border: none;
    width: 93%;
    height: 40px;
    margin: 10px 0;
    padding: 15px;
    box-shadow:
        inset rgba(86, 99, 91, 0.6) 0 -3px 8px,
        inset rgba(213, 214, 235, 0.7) 0 3px 8px,
        rgba(18, 106, 10, 0.8) 0 3px 8px -3px;
    font-size: 18px;
    font-style: italic;
    color: blue;
}

#comm {
    height: 100px;
    padding-top: 30px;
    padding-left: 30px;
}

#login_comm::placeholder,
#comm::placeholder {
    color: #4f614f;
}

#login_comm:focus,
#comm:focus {
    outline: none;
}

#btn_form_comm {
    border: none;
    width: 40%;
    height: 40px;
    margin-top: 15px;
    padding: 10px 0 15px;
    background-color: green;
    box-shadow:
        inset rgba(86, 99, 91, 0.6) 0 -3px 8px,
        inset rgba(213, 214, 235, 0.7) 0 3px 8px,
        rgba(38, 25, 215, 0.8) 0 3px 8px -3px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    cursor: pointer;
}

#btn_form_comm:hover {
    background-color: rgb(132, 221, 132);
    color: green;
    font-weight: 700;
}

/*------------------------*/

/* tamer */

.aside_timer {
    width: 40%;
    margin: 50px auto;
    text-align: center;
    border: double rgb(56, 48, 48);
    border-radius: 15px;
}

.aside_gl_text {
    font-size: 22px;
    color: rgb(178, 57, 57);
    font-weight: 700;
    transform: scaleY(1.6);
    padding: 20px 5px;
}

#timert {
    display: inline-block;
    font-size: 16px;
    color: blue;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#timer {
    font-size: 22px;
    color: brown;
    border: 2px solid rgb(118, 118, 227);
    box-shadow: 10px 5px 5px rgb(80, 80, 150);
    padding: 10px;
    margin: 0 10px;
    border-radius: 50%;
}

#codd {
    display: none;
}

#copy_end {
    display: none;
    font-size: 20px;
    font-weight: 700;
    color: #197434;
    padding: 20px;
}

#copy {
    display: none;
    width: 42px;
    margin: 0 auto 10px;
    cursor: pointer;
}

#copy:hover {
    border: 2px solid rgb(68, 132, 227);
    border-radius: 5px;
    padding: 3px;
    background-color: rgb(142, 177, 205);
}

/*--------------*/

/* Адаптация */

@media(max-width:1200px) {
    .conteiner {
        max-width: 970px;
    }

    /* информация на главном изображении */

    .main_title_izo_text {
        padding: 120px 30px 0;
        font-size: 80px;
    }

    .vivas_conteiner {
        margin: 60px 30px;
        padding-top: 30px;
    }

    /*---------------------*/
}

@media(max-width:992px) {
    .conteiner {
        max-width: 750px;
    }

    /* информация на главном изображении */

    .main_title_izo_text {
        padding: 60px 30px 0;
        font-size: 60px;
    }

    .vivas_conteiner {
        margin: 40px 20px;
        padding-top: 30px;
    }

    .vivas_title {
        font-size: 30px;
    }

    .vivas_icon {
        width: 48px;
        height: 48px;
    }

    .vivas_text {
        font-size: 18px;
        padding: 10px 30px;
    }

    .vivas_btn {
        width: 50%;
        font-size: 16px;
    }

    /*---------------------*/

    .menu_footer .menu_pod .menu_list_item {
        padding: 10px 5px;
    }

    .menu_footer .menu_pod .menu_list_item .menu_list_link {
        font-size: 14px;
    }

    .text_footer {
        padding-left: 5px;
    }

    /* modal */

    .modal-content_comm,
    .modal-content {
        width: 80%;
    }

    .text_modal_comm,
    .text_modal_story {
        font-size: 28px;
    }

    .clouse_comm,
    .clouse_story {
        padding: 10px 20px;
    }

    .modal_info_comm,
    .modal_info_story {
        font-size: 17px;
    }

    #btn_form_comm,
    #btn_form_story {
        width: 60%;
    }
}

@media(max-width:767px) {
    .conteiner {
        max-width: none;
    }

    /* информация на главном изображении */

    .main_title_izo_text {
        padding: 90px 30px 0;
        font-size: 50px;
    }

    .vivas_conteiner {
        margin: 50px 20px;
        padding-top: 20px;
    }

    .vivas_title_conteiner {
        justify-content: left;
    }

    .vivas_title {
        font-size: 26px;
    }

    .vivas_icon {
        width: 40px;
        height: 40px;
    }

    .vivas_text {
        font-size: 16px;
        padding: 10px 20px;
    }

    /*---------------------*/

    .page_title {
        font-size: 34px;
    }

    .title_story {
        font-size: 20px;
    }

    .historian_icon {
        width: 48px;
    }

    .historian_login {
        font-size: 18px;
    }

    .historian_text {
        font-size: 18px;
    }

    /* --------------- */

    .footer {
        height: 140px;
    }

    .footer_title {
        font-size: 30px;
    }

    .menu_footer {
        display: none;
    }

    .center_soch_icon {
        display: none;
    }

    .go_up {
        margin: 0 50px;
        bottom: 0;
    }

    .text_footer {
        text-align: center;
        padding-top: 40px;
    }
}

@media(max-width:550px) {
    /* до 340px */

    /* информация на главном изображении */

    .main_title_izo_text {
        padding: 5px 20px 0;
        font-size: 28px;
        color: #fff;
        -webkit-text-stroke: .01em rgb(92, 90, 90);
    }

    .vivas_conteiner {
        width: 300px;
        margin: 50px 20px;
        padding-top: 10px;
    }

    .vivas_title_conteiner {
        gap: 10px;
    }

    .vivas_title {
        font-size: 20px;
    }

    .vivas_icon {
        width: 30px;
        height: 30px;
    }

    .vivas_text {
        display: none;
    }

    .vivas_btn {
        width: 70%;
        font-size: 12px;
        margin-top: 10px;
    }

    /*---------------------*/

    .shell_historian,
    .shell_story {
        padding: 5px 10px;
        gap: 10px;
    }

    .comments_icon,
    .historian_icon {
        width: 36px;
    }

    .comments_login,
    .historian_login {
        font-size: 11px;
    }

    .footer_title {
        font-size: 18px;
    }

    .center_soch_icon {
        display: none;
    }

    .text_footer {
        padding-top: 10px;
    }

    /* modal */

    .modal-content_comm,
    .modal-content {
        width: 90%;
    }

    .text_modal_comm,
    .text_modal_story {
        font-size: 18px;
    }

    .modal_info_comm,
    .modal_info_story {
        font-size: 14px;
    }

    #login_comm::placeholder,
    #comm::placeholder,
    #login::placeholder,
    #story::placeholder {
        font-size: 14px;
    }

    #btn_form_comm,
    #btn_form_story {
        width: 80%;
        font-size: 16px;
    }
}