.body_main_cl {
    width: 80%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
}

/* =============== ШАПКА =============== */

.hats_the_main_thing_cl {
    width: 96%;
    height: 8vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5vh;
    padding-left: 2%;
    padding-right: 2%;
}

.hats_the_main_thing_cl > span {
    font-size: 2vh;
    font-weight: bold;
    color: black;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hats_the_main_thing_cl > span > div {
    width: 85px;
    height: 85px;
    background-image: url(./catalog_img/sun.png);
    background-size: 100%;
    background-position: 50% 50%;
    border-radius: 5px;
    animation: pulse 1.5s infinite;
}

.hats_the_main_thing_cl > span > img {
    width: 85px;
    height: 85px;
    /* background-image: url(./catalog_img/sun.png);
    background-size: 100%;
    background-position: 50% 50%; */
    border-radius: 5px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 1.5px yellow) drop-shadow(0 0 3px yellow) drop-shadow(0 0 6px yellow);
    }

    50% {
        transform: scale(1.2);
        filter:
            drop-shadow(0 0 5px yellow) drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow);
    }

    100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 1.5px yellow) drop-shadow(0 0 3px yellow) drop-shadow(0 0 6px yellow);
    }
}

.hats_the_main_thing_cl > div {
    /* display: none; */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
}

.hats_the_main_thing_cl > div > div:nth-child(1) {
    width: 8vh;
    height: 6vh;
    background-image: url(./message/message.png);
    background-size: cover;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: end;
}

.hats_the_main_thing_cl > div > div:nth-child(1):hover {
    cursor: pointer;
}

.hats_the_main_thing_cl > div > div:nth-child(2) {
    width: 6.5vh;
    height: 5.5vh;
    background-image: url(./message/message.png);
    background-size: cover;
    margin-right: 2vw;
}

@media (max-width: 700px) {

    .hats_the_main_thing_cl {
        height: 5vh;
    }

    .hats_the_main_thing_cl > div > div:nth-child(1) {
        width: 6vh;
        height: 4.5vh;
    }

    .hats_the_main_thing_cl > div > div:nth-child(2) {
        width: 3.5vh;
        height: 3vh;
    }

}

/* =============== СТОРИЗЫ =============== */

.adding_history_cl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
}

.adding_history_cl:hover {
    cursor: pointer;
}

.adding_history_cl > section {
    width: 10vh;
    height: 10vh;
    border-radius: 50%;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adding_history_cl > section > div {
    width: 9vh;
    height: 9vh;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(https://sitimweb.ru/static/catalog_img/add_storiz.jpg);
    background-size: cover;
}

.adding_history_cl>span {
    width: 10vw;
    font-size: 1.4vh;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 600px) {
    .adding_history_cl>span {
        width: 20vw;
    }
}

#main_storiz_id {
    width: 100%;
    height: 14vh;
    margin-top: 2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 1vh;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    transition: 300ms all;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 1vw;
}

.storiz_block_cl {
    width: 10vh;
    height: 13vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
}

.storiz_block_cl > section {
    width: 10vh;
    height: 10vh;
    border: 2px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storiz_block_cl > section:hover {
    cursor: pointer;
}

.storiz_block_cl > section > div {
    width: 9vh;
    height: 9vh;
    border-radius: 50%;
    overflow: hidden;
    background-image: url(https://sitimweb.ru/static/users_5/profile_photo.jpg);
    background-size: cover;
}

.storiz_block_cl > span {
    font-size: 1.8vh;
    font-weight: bold;
}

@media (max-width: 700px) {

    #main_storiz_id {
        width: 100%;
        height: 12vh;
        gap: 1.5vh;
        
    }

    .adding_history_cl {
        width: 8vh;
        height: 12vh;
        margin-left: 20px;
    }

    .adding_history_cl > section {
        width: 8vh;
        height: 8vh;
    }

    .adding_history_cl > section > div {
        width: 8vh;
        height: 8vh;
    }

    .adding_history_cl > span {
        font-size: 1.2vh;
        font-weight: bold;
    }

    .storiz_block_cl {
        width: 8vh;
        height: 12vh;
    }

    .storiz_block_cl > section {
        width: 8vh;
        height: 8vh;
    }

    .storiz_block_cl > section > div {
        width: 8vh;
        height: 8vh;
    }

    .storiz_block_cl > span {
        font-size: 1.2vh;
        font-weight: bold;
    }

}

/* =============== ПУБЛИКАЦИИ =============== */

.main_publick_cl {
    position: absolute;
    width: 67.5%;
    height: 100vh;
    margin-top: 2vh;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: 300ms all;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    /* overscroll-behavior: contain; */
}

#main_publick_id {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: 300ms all;
}

#main_publick_id > section {
    width: 30%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

#main_publick_id > section > img {
    width: 100%;
    height: 70vh;
    border-radius: 1vh;
    overflow: hidden;
}

#main_publick_id > section > div {
    width: 100%;
    height: 5vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 2vw;
}

.buttons_publick_cl {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
}

.buttons_publick_cl > div {
    width: 4vh;
    height: 4vh;
    background-size: cover;
}

.buttons_publick_cl > div:hover {
    cursor: pointer;
}

.buttons_publick_cl > span {
    font-size: 2.25vh;
    color: black;
    font-weight: bold;
}

#main_publick_id > section > span {
    width: 100%;
    text-align: start;
}


@media (max-width: 600px) {

    .body_main_cl {
        width: 90%;
        height: auto;
    }

    .main_publick_cl {
        width: 100%;
        height: auto;
    }

    #main_publick_id > section {
        width: 100%;
        height: 100vh;
        margin-bottom: 3vh;
    }

    #main_publick_id > section > img {
        height: 90vh;
    }

}

/* =============== ПУБЛИКАЦИИ =============== */

#new_publications_id, #new_publications_two_id {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
    gap: 0.5%;
    margin-top: 0.5vh;
    padding-bottom: 100px;
}

#new_publications_id > section, #new_publications_two_id > section {
    width: 33%;
    height: 20vw;
    background-color: rgba(128, 128, 128, 0.5);
    margin-bottom: 0.5vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: 300ms all;
}

#new_publications_id > section:hover, #new_publications_two_id > section:hover {
    cursor: pointer;
}

@media (max-width: 700px) {
    #new_publications_id > section, #new_publications_two_id > section {
        height: 40vw;
    }
}

#new_publications_id > section > div, #new_publications_two_id > section > div {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    opacity: 0;
    transition: 300ms all;
}

#new_publications_id > section > div:hover, #new_publications_two_id > section > div:hover {
    opacity: 1;
}

#new_publications_id > section > div > div, #new_publications_two_id > section > div > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
}

#new_publications_id > section > div > div:nth-child(1) > div, #new_publications_two_id > section > div > div:nth-child(1) > div {
    width: 3vh;
    height: 3vh;
    background-image: url(./img/like_block.svg);
    background-size: cover;
}

#new_publications_id > section > div > div:nth-child(2) > div, #new_publications_two_id > section > div > div:nth-child(2) > div {
    width: 3vh;
    height: 3vh;
    background-image: url(./img/message_block.svg);
    background-size: cover;
}

#new_publications_id > section > div > div > span, #new_publications_two_id > section > div > div > span {
    font-size: 2vh;
    font-weight: bold;
    color: white;
}

/* =============== МОДАЛЬНОЕ ОКНО ПРОСМОТРА ПУБЛИКАЦИИ (мобильная версия) =============== */

#publication_viewer_mob_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: black;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
    flex-direction: column;
    transform: translateY(18vh);
    padding-top: 0px;
}

#publication_viewer_mob_id > section {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 75px;
}

/* =============== ПРОСМОТР СТОРИЗОВ =============== */

#render_storiz_profile_id {
    width: 100%;
    overflow-x: scroll;
}

#sub_render_storiz_profile_id, #sub_render_storiz_profile_main_id {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}


/* =============== ПРОСМОТР СТОРИЗОВ =============== */

#storiz_block_img_id {
    border-color: red;
}

/* --- Индикатор сообщений --- */

#message_indicator_id {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
}

@media (max-width: 700px) {
    #message_indicator_id {
        width: 15px;
        height: 15px;
    }
}