@font-face {
    font-family: 'San Francisco';
    src: url(http://forumstatic.ru/files/001b/96/e0/44816.otf?v=1);
  }

html {
    /* ширина инстаграма */
    --instaWidth: 620px;
}


.insta__container {
    margin: 0 auto;
    width: calc(var(--instaWidth));
    background: #fafafa;
    color: #262626;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size: 16px;
    overflow: hidden;
    outline: 1px solid #e2e2e2;
}

.insta__header {
    display: flex;
    background: #fff;
    padding: 10px;
    align-items: center;
    flex-wrap: nowrap;
    border-bottom: 1px solid #e2e2e2;
}

.insta__acc_menu {
    justify-content:space-between;
}

#insta__acc_menu-panel {
    display: flex;
    justify-content:space-between;
    flex-wrap: nowrap;
    align-items: center;
    width: calc(var(--instaWidth) - 70px);
}

.insta__acc_menu_search {
    border-radius: 8px;
    background: rgba(var(--bb2,239,239,239),1);
    width: 216px;
    padding: 8px 16px;
    font-size: 16px;
    color: #8e8e8e;
    font-weight: 200;
}

.insta__acc_menu_search_icon {
    margin: 0 7px 0 0;
}

.insta__mini_icon {
    border-radius: 50%;
    display: block;
    object-fit: cover;
    width: 25px;
    height: 25px;
}

.insta__acc_header {
    display: flex;
    align-items: flex-start;
    padding: 20px 10px;
}

.insta__acc_about {
    margin: 0 0 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.insta__icon-wrap {
    background: linear-gradient(53deg, rgba(251,167,92,1) 0%, rgba(225,64,99,1) 49%, rgba(196,45,145,1) 100%);
    border-radius: 50%;
}

.insta__acc_about_icon-wrap {
    padding: 6px;
}

.insta__acc_about_icon {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fafafa!important;
    display: flex;
    justify-content: center;
}

.insta__acc_about_username {
    font-size: 28px;
    line-height: 32px;
    font-weight: 300;
}

#insta__acc_about_btns {
    display: flex;
}

.insta__acc_about_btn {
    margin: 3px;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 4px;
}

.insta__acc_about_btn-white{
    border: 1px solid rgba(var(--ca6,219,219,219),1);
}

.insta__acc_about_btn-blue {
    color: #fff;
    background: #0095f6;
    border: 1px solid #0095f6;
}

.insta__acc_about_stat {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 20px 0;
}

.insta__acc_about_stat-item {
    margin: 0 15px 00 0;
}

.insta__acc_about_number {
    font-weight: 600;
}

.insta__acc_about_name {
    display: block;
    font-weight: 600;
}

.insta__acc_about_bio {
    width: 100%;
}

.insta__acc_about_link {
    color: #00376b;
    font-weight: 600;
}

.insta__acc_highlights {
    display: flex;
    flex-wrap: wrap;
}

.insta__acc_highlights_item {
    margin: 10px;
    max-width: 80px;
    overflow: hidden;
}

.insta__acc_highlights_img-wrap {
    background-color: #e2e2e2;
    border-radius: 50%;
    padding: 3px;
    height: 70px;
    width: 70px;
}

.insta__acc_highlights_img {
    border-radius: 50%;
    border: 2px solid #fafafa !important;
    object-fit: cover;
    height: 70px;
    width: 70px;
    box-sizing: border-box;
}

.insta__acc_highlights_img img {
    height: 70px;
}

.insta__acc_highlights_text {
    font-weight: 600;
    font-size: 12px;
    line-height: 13px;
    max-width: 80px;
    text-align: center;
    margin: 5px 0;
}

#insta__acc_tabs {
    border-top: #e2e2e2 1px solid;
    display: flex;
    justify-content: space-around;
    color: #8e8e8e;
}

.insta__acc_tab {
    width: 120px;
    margin-top: -1px;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.insta__acc_tab_active {
    border-top: #878787 1px solid;
    color: #262626;
}

.insta__acc_tab_icon {
    margin: 0 5px 0 0;
}

.insta__acc_photos {
    display: flex;
    flex-wrap: wrap;
}

.insta__acc_photo {
    width: calc(var(--instaWidth)/3 - 10px);
    height: calc(var(--instaWidth)/3 - 10px);
    object-fit: cover;
    margin: 5px;
}

.insta__post_header {
    justify-content: start;
    width: 100%;
}

.insta__post_header::after {
    content: "...";
    position: relative;
    right: calc(var(--instaWidth) * -1 + 150px);
    top: -10px;
    font-size: 20px;
    font-weight: 700;
    width: 20px;
    height: 20px;
}

.insta__post_icon-wrap {
    padding: 2px;
    margin: 0 10px 0 0;
}

.insta__post_icon {
    border: 2px solid #fafafa !important;
}

.insta__post_text-bold {
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
}

.insta__post_photo {
    width: calc(var(--instaWidth));
    object-fit: contain;
    display: block;
}

.insta__post_btns {
    display: flex;
    padding: 15px 10px;
    justify-content: space-between;
}

.insta__post_btns-left svg {
    margin: 0 5px;
}

.insta__post_comm {
    padding: 0 15px 15px;
}

.insta__post_comm_author {
    padding: 7px 0 0;
    font-size: 14px;
    line-height: 18px;
    text-align: justify;
}

.insta__post_comm_aut::after {
    content: "Посмотреть все комментарии";
    color: #a7a7a7;
    font-size: 14px;
}

.insta__hashtag {
    color: #00376b;
}

.insta__post_footer {
    border-top: 1px solid #e2e2e2;
    padding: 15px;
    color: #a7a7a7;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.insta__post_footer svg {
    margin: 0 15px 0 0;
}


.insta__comm {
    width: calc(var(--instaWidth) - 100px);
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}

.insta__comm_header {
    justify-content: start;
    width: 100%;
    padding: 5px 10px;
}

.insta__comm_text {
    padding: 10px;
}

.insta__story{
    margin: 0 auto;
    display: block;
    width: calc(var(--instaWidth) - 200px);
    height: calc((var(--instaWidth) - 200px) * 1.77954545455);
    overflow: hidden;
    position: relative;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.insta__story_header {
    width: calc(var(--instaWidth) - 200px);
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.insta__story_lines {
    display: flex;
    padding: 20px 10px 10px;
}

.insta__story_line {
    margin: 0 2px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    width: calc((var(--instaWidth) - 200px) / 5 - 8px);
    justify-content: space-between;
}

.insta__story_line-active {
    background: linear-gradient(90deg, #fff 68%, #bababa 42%);

}

.insta__story_line-right {
    background: #bababa;

}

.insta__story_user {
    display: flex;
    align-items: center;
}

.insta__story_icons {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 10px 0 15px;
    border: 2px solid #ff6624 !important;
}

.insta__story_username {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.insta__story_controls {
    display: flex;
    align-items: center;
    padding: 0 10px 0 0;
}

.insta__story_controls svg {
    margin: 0 5px;
}

.insta__story_post {
    background: #c2c2c2; width: calc(var(--instaWidth) - 200px);
    height: calc((var(--instaWidth) - 200px) * 1.77954545455);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.insta__story .black-grad {
    /* черный */
    background: linear-gradient(132deg, rgb(0, 0, 0) 0%, rgb(55, 55, 55) 100%);
}

.insta__story .grey-grad {
    /* серый */
    background: linear-gradient(132deg, rgb(135, 135, 135) 0%, rgb(217, 216, 216) 100%);
}

.insta__story .rainbow-grad {
    /* радужный */
    background: linear-gradient(132deg, 
        rgba(255,0,0,1) 0%, 
        rgba(255,55,0,1) 16%, 
        rgba(255,166,0,1) 33%, 
        rgb(35, 220, 2) 50%, 
        rgb(2, 203, 226) 65%, 
        rgba(87,101,253,1) 83%, 
        rgba(154,0,255,1) 90%);
}

.insta__story .orange-red-pink-grad {
    /* градиент оранжево + красный + розовый */
    background: linear-gradient(132deg, rgb(219, 2, 169) 20%, rgb(255, 8, 62) 49%, rgb(255, 102, 36) 100%);
}

.insta__story .purple-blue-grad {
    /* фиолетовый + голубой */
    background: linear-gradient(132deg, rgb(215, 1, 186) 10%, rgb(39, 172, 255) 100%);
}

.insta__story .green-blue-grad {
    /* зеленый + голубой */
    background: linear-gradient(132deg, rgb(28, 210, 28) 50%, rgb(55, 204, 249) 100%);
}

.insta__story .red-yellow-grad {
    /* красный + желтый */
    background: linear-gradient(132deg, rgb(250, 28, 76) 0%, rgb(251, 215, 56) 100%);
}

.insta__story .purple-pink-grad {
    /* фиолетовый + розовый */
    background: linear-gradient(132deg, rgb(236, 5, 209) 20%, rgb(248, 58, 134) 100%);
}

.insta__story_photo {
    width: calc(var(--instaWidth) - 200px);
    object-fit: contain;
}

.insta__story-h {
    object-fit: cover;
}

.insta__story_text {
    margin: 68px 20px;
    width: calc(var(--instaWidth) - 240px);
    height: calc((var(--instaWidth) - 277px) * 1.77954545455);
    overflow: hidden;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'San Francisco';
    font-style: italic;
    color: #fff;
    text-shadow: #3a3a3a 1px 0px 1px;
    font-size: 30px;
    line-height: 34px;
}

.insta__story_reply {
    position: absolute;
    width: calc(var(--instaWidth) - 230px);
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.insta__story_input {
    display: block;
    height: 14px;
    width: 265px;
    border-radius: 24px;
    border: #FFF 1px solid;
    padding: 15px;
    z-index: 2;
    color: #FFF;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.insta__story_reply svg {
    margin: 0 5px;
}