@font-face {
    font-family: OpenSans;
    src: url(https://netology-code.github.io/html-2-diploma/sources/fonts/OpenSans-Regular.woff);
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
  font-family: OpenSans;
    src: url(https://netology-code.github.io/html-2-diploma/sources/fonts/OpenSans-Bold.woff);
    font-weight: 900;
    font-style: normal;
  }
  
  body {
    display: block;
    margin: 0;
    font-family: OpenSans, Arial, san-serif;
    overflow-x: hidden;
  }  
  
  * {
    margin: 0; 
    padding: 0
  }
  
  .header-body {
    width: 100%;
    min-width: 1200px;
    height: 450px;
    background-image: url(https://netology-code.github.io/html-2-diploma/sources/images/banner-bg.jpg);
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
  }
  
  .header-body::after {
    content: "";
    position: absolute;
    background-color: #000000;
    opacity: 0.6;
    
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
  }
  
  .container {
    position: relative;
    z-index: 1;
    
  }
  .header-logo {
    width: 180px;
    height: auto;
    padding-top: 28px;
    padding-left: 15%;
  }
  
  .menu {
    flex-direction: row;
    display: inline-block;
    vertical-align: top;
    float: right;
    padding-top: 16px;
    padding-right: 15%;
  }
  
  .menu-list-item {
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 16px;
    display: inline-block;
    vertical-align: top;
  }
  
  .menu-link {
   text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    line-height: 36px;
  }
  
  li {
  list-style: none;
  }
  
  .header-title {
    width: 870px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    font-size: 45px;
    line-height:75px;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  h2 {	
    text-transform: uppercase;
    font-size: 20px;
    line-height:24px;
    color: #000000;
  }
  
  h2:hover {
    text-transform: uppercase;
    font-size: 20px;
    line-height:24px;
    color: #878787;
  }
  
   h3 {	
    text-transform: uppercase;
    font-size: 14px;
    line-height:18px;
    color: #000000;
  }
  
  ul {
    padding-left: 0;
  }
  
  a {
    text-decoration: none;
    padding: 0px;
    margin: 0px;
  }
  
  a:focus {
    outline: 2px solid #846c23;
    outline-offset: 1px;
  }
  
  .contents {
    width: 1200px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
  }
  
  .news {
    width: 778px;
    display: block;
    box-sizing: border-box;
    margin-left: 15px;
  }
  
  .post-list {
  display: flex;
  margin-bottom: 60px;
  }
  
  .post-list-article {
    margin-left: 30px;
  }
  
  .category-article {
    display: flex;
  }
  
  .date-author {
    margin-top: 18px;
    display: block;
  }
  
  
  
  .time-list-news {
    font-size: 12px;
    line-height: 40px;
    color: #888888;
  }
  
  p {
    font-size: 15px;
    line-height: 22px;
    margin-top: 32px;
  }
  
  .post-list-header {
    width: 367px;
    box-sizing: border-box;
  }
  
  .author-list {
    font-size: 12px;
    font-weight: bold;
    line-height:40px;
    margin-left: 16px;
    color: #000000;
  }
  
  .category-article-item {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    color: #b59f5b;
    margin-right: 20px;
    margin-bottom: 10px;
  }
  
  .category-article-item:hover {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    color: #846c23;
    margin-right: 20px;
  }
  
  .article-text {
    font-size: 20px;
    line-height: 24px;
  }
  
  .sidebar {
    width: 272px;
    display: block;
    box-sizing: border-box;
    margin-left: 120px;
  }
  
  .post-block {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 21px;
    margin-bottom: 20px;
  }
  
  .post-block-list {
    margin-left: 20px;
    margin-bottom: 0;
  }
  
  .post-list-pic {
    width: 380px;
    height: auto;
  }
  
  .post-block-pic {
    width: 70px;
  }
  .time-list {
    font-size: 12px;
    padding-bottom: 8px;
    color: #888888;
    display: block;
  }
  
  .time-list:focus {
    font-size: 12px;
    padding-bottom: 8px;
    display: block;
    color: #000000;
  }
  
  .post-block-name {
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    margin-bottom: 0;
  }
  
  .post-block-name:hover {
    text-transform: uppercase;
    font-size: 14px;
    line-height:18px;
    color: #878787;
  }
  
  .searching {
    width: 272px;
    display: block;
    position: relative;
    margin-top: 58px;
    margin-bottom: 64px;
  }
  
  .field-search-group {
    width: 272px;
    height: 48px;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    background-color: #f5f7f6;
    font-family: inherit;
    font-size: 13px;
    opacity: 0.6;
    cursor: text;
  }
  
  .field-search-group:focus {
    height: 48px;
    outline: 2px solid #846c23;
  }
  
  .button-search {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/search.svg");
    width: 48px;
    height: 48px;
    max-height: 48px;
    border: none;
    background-color: #b59f5b;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center center;
    vertical-align: top;
    position: absolute; 
    top: 0;
    right: 0px; 
  }
  
  .button-search:hover {
    background-color: #846c23;
  }
  
  .button-search:focus {
    outline: 2px solid #846c23;
    outline-offset: 1px;
  }
  
  .newsletter-block {
    width: 272px;
  }
  
  .field-email-address {
    width: 272px;
    height: 48px;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    background-color: #f5f7f6;
    font-family: inherit;
    font-size: 13px;
    opacity: 0.6;
  }
  
  .field-email-address:focus {
    height: 48px;
    outline: 2px solid #846c23;
  }
  
  .button-submit {
    width: 272px;
    height: 48px;
    text-transform: uppercase;
    font-size: 14px;
    line-height:40px;
    font-weight: bold;
    border: none;
    background-color: #b59f5b;
    color: #ffffff;
    cursor: pointer;
    vertical-align: top;
    margin-top: 18px;
  }
  
  .button-submit:hover {
    background-color: #846c23;
  }
  
  .button-submit:focus {
    outline: 2px solid #846c23;
    outline-offset: 1px;
  }
  
  .post-header {
    margin-bottom: 14px;
    text-align: center;
    margin: 0px auto 19px;
  }
  
  .tag-block {
    width: 272px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
  }
  
  .tags-menu-list {
    width: 200px;
    padding-left: 15px;
    display: flex;
    flex-wrap: wrap;
  }
  
  
  
  .tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .tags-menu-list {
    width: 272px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  
  .tags-list-item {
    display: block;
    font-size: 12px;
    line-height: 24px;
    color: #0f0d0e;
    font-weight: bold;
    padding: 0 13px;
    margin: 0 6px 7px 0;
    border: 3px solid #eeeeee;
    text-align: center;
    text-transform: uppercase;
  }
  
  .tags-list-item:hover {
    display: block;
    font-size: 12px;
    line-height: 24px;
    font-weight: bold;
    padding: 0 13px;
    margin: 0 6px 7px 0;
    border: 3px solid #c7c7c7;
    text-align: center;
    text-transform: uppercase;
    color: #878787;
  }
  
  .category-block {
    width: 272px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
  }
  
  .post-header::after {
    content: "";
    width: 66px;
    height: 3px;
    background-color: #b59f5b;
    margin: 10px auto 0;
    display: block;
    opacity: 0.4;
  }
  
  .categories-container {
    width: 272px;
    list-style-type: none;
    padding: 0;
  }
  
  .categories-item {
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 47px;
    font-weight: bold;
    color: #0f0d0e;
    cursor: pointer;
    display: block;
  }
  
  .categories-imet:hover {
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 47px;
    font-weight: bold;
    color: #878787;
    cursor: pointer;
    display: block;
  }
  
  .categories-imet {
    font-size: 14px;
    line-height: 47px;
    color: #000000;
    font-weight: bold;
    text-transform: capitalize;
    border-bottom: 1px solid #eeeeee;
  }
  
  .categories-number {
    font-size: 12px;
    line-height: 36px;
    color: #b59f5b;
    font-weight: bold;
  }
  
  .categories-number:hover {
    font-size: 12px;
    line-height: 36px;
    font-weight: bold;
    color: #846c23;
  }
  
  .socials {
    width: 1170px;
    height: 83px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
  }
  
  .socials-item {
    margin-left: 30px;
    display: inline-block;
    width: 24px;
    height:24px; 
    background-repeat: no-repeat;
    background-size: 20px;
  }
  
  
  .socials-link {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
  }
  
  .socials-link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
  }
  
  .social-link-twitter {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/social/004-twitter.svg");
    margin-top: 30px;
    }
  
  .social-link-pinterest {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/social/001-pinterest.svg");
    margin-top: 30px;
    }
  
  .social-link-facebook {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/social/002-facebook-logo.svg");
    margin-top: 30px;
    }
  
  
  .social-link-instagram {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/social/005-instagram.svg");
    margin-top: 30px;
  }
  
  .social-link-tumblr {
    background-image: url("https://netology-code.github.io/html-2-diploma/sources/images/social/003-tumblr.svg");
    margin-top: 30px;
    }
  
  .copyright-footer {
    display: block;
    margin-top: 72px;
    margin-bottom: 34px;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    line-height: 40px;
    font-weight: bold;
    color: #999999;
  }
  
  
  
  body::after {
    content: url(0000https://camo.githubusercontent.com/b4c2964740f770332cf2c4a8e47571a1c51495ce/68747470733a2f2f6e65746f6c6f67792d636f64652e6769746875622e696f2f68746d6c2d322d6469706c6f6d612f736f75726365732f4e4f454d495f4d6f6465726e2e6a7067);
   width: 1660px;
    align-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 99;
  }
  
  .ym-advanced-informer {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
  }