@font-face {
    font-family: 'Lato';
    src: local('Lato'),
    url(/Views/fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: 'KaaosPro';
    src: local('KaaosPro'),
    url(/Views/fonts/KaaosPro.ttf);
}

*{
    padding: 0;
    margin: 0;
    border: none;
}

html {
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
}

body {
    display: flex;
    justify-content: center;
    width: 100%;
}

p {
    font-size: 16px;
    color: #3f3f3f;
    font-family: Lato, Arial, sans-serif;
}

ul {
    margin: 5px 15px 10px 25px;
}

li {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.popup {
    background-color: rgba(0, 0, 0, 0.9);        
    display: flex;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    flex-direction: column;
    flex-shrink: 1;
}

.popup_close {
    display: flex;
    font-size: 28px;
    align-self: end;
    margin-top: 20px;
    margin-right: 20px;
    flex-shrink: 1;
    padding: 0px 7px 1px 7px;
    background-color: #bdbdbd;
    border-radius: 5px;
    opacity: 0.4;
}

.popup_close:hover {
    cursor: pointer;
}

.inner-page-h1 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    align-self: flex-start;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.subtitle-h2 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 5px;
    margin-left: 10px;
    align-self: start;
}

.subtitle-h3 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 15px;
    margin-left: 10px;
    align-self: start;
}

.header {
    display: flex;
    width: 100%;
}

.logo {
    display: flex;
    justify-content: flex-start;
    flex-grow: 0.1;
}

.logo_href {
    display: flex;
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    font-family: KaaosPro, Arial, sans-serif;
    padding-left: 15px;
}

.main-menu {
    display: flex;
    height: 55px;
    flex-grow: 1;
    align-items: flex-start;
}

.main-menu_elements {
    display: flex;
    height: 55px;
}

.main-menu_elements_element {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
}

.main-menu_elements_element_link {
    color: #525252;
    text-decoration: none;
    font-size: 16px;
    font-family: Lato, Arial, sans-serif;
}

.main-menu_elements_element_link:hover {
    text-decoration: underline;
}

.body {
    display: flex;
    height: 100%;
    justify-content: center;
}

.body_main {
    display: flex;
    /*max-width: 1280px;*/
    height: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    flex-grow: 1;
    width: 100%;
}

.info-about-me {
    display: flex;
    min-height: 400px;
    margin-top: 60px;
    width: 100%;
    flex-wrap: wrap;
}

.info-about-me__text-link {
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    width: 100%;
    margin-bottom: 40px;

}

.info-about-me__name {
    display: flex;
    font-weight: bold;
    font-family: KaaosPro, Arial, sans-serif;
    font-size: 64px;
    justify-content: right;
    margin-right: 60px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.info-about-me__my {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    margin-top: 14px;
    justify-content: right;
    margin-right: 60px;
}

.info-about-me__image-block {
    display: flex;
    flex-basis: 0;
    flex-grow: 1;
    justify-content: start;
    width: 100%;
}

.info-about-me__image-block_image {
    display: flex;
    border-radius: 10px;
    width: 300px;
    height: 400px;
    margin-left: 15px;
}

.me-in-number-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 100px;
    margin-bottom: 100px;
    border-bottom: 1px solid #ffaa07;
    border-radius: 10px;
    justify-content: center;
}

.me-in-number-block_one-setting-block {
    display: flex;
    flex-direction: column;
    width: 150px;
    height: 150px;
    justify-content: center;
    align-items: center;
}

.me-in-number-block_one-setting-block_letters {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
}

.me-in-number-block_one-setting-block_numbers {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 15px;
}

.last-posts-preview-block {
    display: flex;
    flex-direction: column;
}

.last-posts-preview-block_pre-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.last-posts-preview-block_pre-block_link {
    display: flex;
    color: #ffaa07;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    align-self: center;
    margin-top: -13px;
    width: 90px;
}

.last-posts-preview-block_pre-block_link:hover {
    color: #ffe1a6;
}

.posts-preview-block {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.posts-preview-block_stories {
    display: flex;
    width: 320px;
    justify-content: center;
    flex-wrap: wrap;
}

.posts-preview-block_stories_img {
    display: flex;
    width: 100px;
    height: 100px;
    align-self: center;
    justify-self: center;
    border: 1px solid #000;
    border-radius: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.posts-preview-block_stories_img-new {
    display: flex;
    width: 100px;
    height: 100px;
    align-self: center;
    justify-self: center;
    border: 5px solid #ffaa07;
    border-radius: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
    cursor: pointer;
}

.posts-preview-block_stories_img-new:hover {
    border: 5px solid #ffe1a6;
}

.post-preview-blocks {
    display: flex;
    flex-direction: column;
}

.stories-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.stories-block_preview {
    display: flex;
    width: 180px;
    height: 280px;
    border-radius: 10px;
    margin-left: 10px;
    margin-bottom: 50px;
}

.stories-block_preview:hover {
    cursor: pointer;
}

.stories-block_preview-text {
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    color: #bdbdbd;
    margin: 5px 0px 45px 10px;
}

.stories-block_popup {
    display: flex;
    flex-direction: row;
    align-self: center;
    height: 100%;
}

.stories-block_with-date {
    display: flex;    
    align-self: center;
    margin-bottom: 30px;
    width: 100%;
    height: 80vh;
}

.stories-date {
    position: absolute;
    color: #fff;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 10px;
    opacity: 0.4;
}

.stories-block_video-photo {
    display: flex;    
    align-self: center;
    width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.stories-block_video_source {
    display: flex;
    flex-grow: 1;
}

.stories-block_popup_next-stories {
    display: flex;
}

.stories-block_popup_next-stories_text {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 44px;
    color: #fff;
    margin-left: 15px;
    margin-right: 15px;
    align-self: center;
    flex-grow: 1;
}

.stories-block_popup_next-stories_text:hover {
    cursor: pointer;
    color: #b3b3b3;
}

.stories-block_with-date {
    display: flex;
}

.post-preview-block {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
    width: 300px;
    margin-top: 25px;
    /*margin-bottom: 20px;*/
}

.post-preview-block_img {
    background-color:#bdbdbd;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.post-preview-block_img:hover {
    opacity: 0.9;
}

.post-preview-block_date_section {
    display: flex;
    flex-direction: row;
}

.post-preview-block_date {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #b3b3b3;
    margin-top: 16px;
    margin-bottom: 16px;
}

.post-preview-block_section {
    color: #000;
    font-family: Lato, Arial, sans-serif;
    text-decoration: none;
    align-self: center;
    margin-left: 15px;
    background-color: rgb(247, 244, 237);
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.post-preview-block_title {
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    line-height: 25px;
    color: #000;
    text-decoration: none;
    margin-top: 10px;
    height: 50px;
}

.post-preview-block_title:hover {
    opacity: 0.5;
}

.post-preview-block_preview-text {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 25px;
    color: #000;
    text-decoration: none;
}

.posts-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.posts-list_back {
    display: flex;
    text-decoration: none;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    margin-left: 12px;
    align-self: flex-start;
    margin-top: 10px;
}

.pagination {
    display: flex;
    flex-direction: row;
    align-self: center;
    margin-left: 10px;
}

.pagination_button {
    display: flex;
    background-color: #fff;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    border:1px solid #000;
    border-radius: 10px;
    padding: 10px 60px 10px 60px;
}

.pagination_button:hover {
    border-color: #0076d6;
    cursor: pointer;
}

.post-data {
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    max-width: 1280px;
}

.post-data_back {
    display: flex;
    text-decoration: none;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    margin-left: 12px;
    margin-top: 10px;
}

.post-data_date_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
}

.post-data_date {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #4d4d4d;
    margin-left: 12px;
    align-content: center;
    margin-right: 20px;
}

.post-data_section {
    color: #000;
    font-family: Lato, Arial, sans-serif;
    text-decoration: none;
    background-color: rgb(247, 244, 237);
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
}

.post-data_preview-img {
    display: flex;
    max-width: 100%;
    max-height: 90vh;
    margin-top: 15px;
    margin-bottom: 50px;
    align-self: center;
    border-radius: 10px;
}

.post-data_paragraph {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin: 10px 12px 10px 12px;
}

.footer {
    display: flex;
    margin-top: 100px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer__copyright {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #7a7a7a;
    margin-left: 20px;
    margin-bottom: 30px;
}

.footer_menu-block {    
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-left: 50px;
    flex-wrap: wrap;
}

.footer_menu-block_link {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #7a7a7a;
    margin-right: 30px;
    margin-bottom: 15px;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
}

.contacts-block_line {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-left: 15px;
    margin-bottom: 20px;
}

.contacts-block_line_name {
    display: flex;
    margin-right: 15px;
}

.contacts-block_line_link {
    display: flex;
}

.cookie-block {   
    position: fixed;
    bottom: 0;
    max-width: 450px;
    min-height: 80px;
    border: 1px solid #ffaa07;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.cookie-block_text {
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
}

.cookie-block_text_link {
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    color: #ffaa07;
}

.cookie-block_botton {
    display: flex;
    align-self: center;
    padding: 10px 15px 10px 15px; 
    margin-top: 15px;
    border-radius: 10px;
    border: 1px solid #ffaa07;
    background-color: #fff;
}

.cookie-block_botton:hover {
    cursor: pointer;
    border: 1px solid #ffdc99;
}