@media (min-width: 480px) {
  .header__content {
    background: url("../images/header_bg.jpg") center left no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }

  .container__inner {
    padding: 0 40px;
  }

  .header__title {
    font-size: 50px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1335px;
  }

  .container__inner {
    border: solid #DDE2EA;
    border-width: 0 1px;
  }

  .header__wrap {
    padding: 15px;
  }

  .logo {
    padding-left: 60px;
  }

  .logo:before {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }

  .logo__text {
    font-size: 24px;
  }

  .logo__text span {
    font-size: 31px;
  }

  .menu {
    display: table;
    margin-left: auto;
  }

  .menu__item:not(.menu__item_mobile) {
    display: inline-block;
    vertical-align: top;
  }

  .menu__item a {
    text-transform: uppercase;
    font-weight: normal;
    padding: 10px 5px;
    display: block;
    color: #30343A;
    text-decoration: none;
  }

  .menu__item a:hover,
  .menu__item a.active {
    color: #04C4D0;
  }

  .menu__item_mobile {
    display: none;
  }

  .main {
    display: table;
    width: 100%;
    border-right: 1px solid #DDE2EA;
  }

  .main__cell {
    display: table-cell;
    vertical-align: top;
  }

  .info {
    border: solid #DDE2EA;
    border-width: 0 1px 1px 1px;
  }

  .info .container__inner {
    border: none;
  }

  .info__inner {
    display: table;
    width: 100%;
    padding: 10px 0;
  }

  .info__cell {
    display: table-cell;
    vertical-align: middle;
  }

  .info__wrap {
    display: table;
    margin-left: auto;
  }

  .info__name {
    padding-left: 75px;
    position: relative;
  }

  .info__name:before {
    float: none;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -23px;
  }

  .info__item {
    padding-right: 15px;
  }

  .info__item_views, .info__item_likes {
    display: inline-block;
  }

  .info__item_views:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("../images/views_icon.svg") center no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
  }

  .info__item_likes:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("../images/like_icon.svg") center no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 5px;
  }

  .content__photo img + img {
    margin-left: 20px;
  }

  .content__subtitle {
    font-size: 16px;
    padding-top: 15px;
  }

  .aside__case {
    position: relative;
    width: 340px;
  }

  aside {
    display: block;
    width: 340px;
    padding: 40px 30px 0;
  }

  .fix aside {
    position: fixed;
    height: 100%;
    top: 0;
    background: #fff;
  }

  aside a {
    text-decoration: none;
  }

  .aside__content {
    background: #f4f0eb;
  }

  .aside__subtitle {
    font-size: 20px;
    text-align: center;
    line-height: 1.3;
    color: #000;
    padding: 30px 15px;
  }

  .aside__tags {
    padding: 35px 0 0;
  }

  .aside__title {
    font-size: 24px;
    padding-bottom: 15px;
  }

  .aside__wrap {
  }

  .aside__item {
    display: inline-block;
    padding: 10px 15px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #04C4D0;
    font-weight: normal;
    color: #727B89;
    margin-bottom: 10px;
  }

  .aside__item:hover {
    background: #04C4D0;
    color: #fff;
  }

  .button {
    font-size: 20px;
  }

  .comment {
    margin: 0;
  }

  footer {
    background: #ECFEFF;
    display: block;
    padding: 40px 0;
  }

  .footer__wrap {
    display: table;
    width: 85%;
    table-layout: fixed;
  }

  .footer__cell {
    display: table-cell;
    vertical-align: top;
  }

  .footer__title {
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 0 5px;
  }

  .footer__link {
    font-size: 14px;
    padding: 5px 0;
    display: block;
    font-weight: normal;
    text-decoration: none;
    color: inherit;
  }

  .footer__link:hover {
    color: #04C4D0;
  }
}

@media (min-width: 1280px) {
  .header__title {
    font-size: 50px;
    width: 55%;
  }

  .menu__item a {
    text-transform: uppercase;
    font-weight: normal;
    padding: 10px;
  }

  .info__wrap {
    margin: 0 auto;
  }

  .info__item {
    padding-right: 35px;
  }

  .info__button {
    padding: 10px 15px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background: #04C4D0;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    margin-left: auto;
    display: table;
    cursor: pointer;
    -webkit-transition: box-shadow .3s;
    -moz-transition: box-shadow .3s;
    -ms-transition: box-shadow .3s;
    -o-transition: box-shadow .3s;
    transition: box-shadow .3s;
  }

  .info__button:hover {
    -webkit-box-shadow: 0 0 0 2px #fff, 0 0 2px 4px #04C4D0, 0 0 0 6px #fff, 0 0 2px 8px #04C4D0;
    -moz-box-shadow: 0 0 0 2px #fff, 0 0 2px 4px #04C4D0, 0 0 0 6px #fff, 0 0 2px 8px #04C4D0;
    box-shadow: 0 0 0 2px #fff, 0 0 2px 4px #04C4D0, 0 0 0 6px #fff, 0 0 2px 8px #04C4D0;
  }
}

@media (max-width: 991px) {
  .comment:nth-last-child(n+7) {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .countdown-block,
  .best-form {
    margin: 0 -15px;
    padding: 20px 20px 40px;
  }
  
  .countdown-block>h3 {
    font-size: 32px;
  }
}