@media (max-width: 1250px) {
  .title-section__wrapper {
    top: 55%
  }

  .page-header {
    padding-top: 60px;
  }

  .searchbar-desktop {
    display: none;
  }

  .advantages-sect .container {
    min-height: 450px
  }

  .sidebar-opened .page {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
    margin-right: 0;
  }

  .sidebar .logo {
    display: none;
  }

  .sidebar-search {
    display: none;
  }

  .sidebar {
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
    top: 0px;
    padding-top: 60px;
    z-index: 98
  }

  .sidebar-opened .sidebar {
    -webkit-transform: translateX(-230px);
    -ms-transform: translateX(-230px);
    -o-transform: translateX(-230px);
    transform: translateX(-230px);
  }

  .header {
    display: block;
    background: #000
  }

  .searchbar {
    top: 0;
    left: 80px;
    right: 0;
    z-index: 100;
    height: 60px;
    position: absolute;
    background: transparent;
    display: block;
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;
    overflow: hidden;
    -webkit-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    -o-transform: translateY(-60px);
    transform: translateY(-60px);
  }

  /*
  .searchbar .container {
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;

  }
*/

  /*
  .searchbar-transformed .searchbar {
    z-index: 100
  }
*/

  .searchbar-transformed .searchbar {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }

  .searchbar form {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 10px;
  }

  .searchclose {
    display: none;
  }

  #searchclose-md {
    font-size: 0;
    position: absolute;
    right: 15px;
    top: 0px;
    bottom: 0;
    width: 40px;
    display: block;
  }

  #searchclose-md img {
    display: inline-block;
    margin-top: 20px;
    width: 25px;
  }

  .searchbar form {
    display: block;
    width: 100%;
  }

  .searchbar input {
    float: left;
    margin-right: 20px;
  }

  .advantages-sect__desc b {
    font-size: 20px;
  }

  .advantages-sect__desc span {
    font-size: 12px;
  }

  .title-section__downarr {
    display: none;
  }
}


@media (max-width: 890px) {
  .advantages-sect__wrapper {
    position: relative;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
    left: 0;
    right: 0;
  }

  .advantages-sect__wrapper {
    padding: 50px 0;
  }

  .advantages-sect_item {
    margin-bottom: 40px;
  }

  .advantages-sect__ico img {
    max-width: 200px
  }

  .advantages-sect__items .advantages-sect_item:nth-child(3),
  .advantages-sect__items .advantages-sect_item:nth-child(4) {
    margin-bottom: 0;
  }

  .advantages-sect__desc b {
    font-size: 24px;
  }

  .advantages-sect__items {
    display: block;
  }

  .advantages-sect_item {
    width: 50%;
    float: left;
  }


  .searchbar input {
    margin-right: 10px;
    width: 50%;
    min-width: 150px;
  }

  .searchbar {
    left: 60px;
  }

  .items-wrapper .game-item {
    width: 33.3%;
  }

  .title-section__wrapper {
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    left: 15px;
    right: 15px;
  }

  .title-section__cats {
    max-width: 560px
  }

  .advantages-sect__desc {
    margin: auto
  }

  .advantages-sect__items .clear {
    display: block;
  }

  .sidebar-content {
    padding-top: 10px;
  }
  .menu-gp img{
    width: 170px;
  }
}

@media (max-width: 610px) {

  /*
  .sidebar-content {
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;
  }
*/
  .top-menu li {
    display: block;
    width: 33.3%;
    margin-bottom: 20px;
  }

  .top-menu {
    flex-wrap: wrap
  }

  .page-header h2 {
    margin-top: 15px;
  }

  .header {
    overflow: visible
  }

  .searchbar {
    -webkit-transform: translate(0, 60px);
    -ms-transform: translate(0, 60px);
    -o-transform: translate(0, 60px);
    transform: translate(0, 60px);
    left: 0;
    bottom: 0px;
    top: auto;
    position: fixed;
    background: rgba(0, 0, 0, 0.8)
  }

  .searchbar-transformed .header .logo,
  .searchbar-transformed .header .header-search {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
  }

  .searchbar .join-button {
    width: 100px;
  }

  #searchclose-md img {
    float: right;
    margin-top: 18px;
  }

  .searchbar input {
    width: calc(100% - 150px);
  }

  .title-section__item img {
    height: 30px;
  }

  .title-section__desc {
    display: none;
  }

  .title-section__title {
    margin-bottom: 0;
  }

  .title-section__wrapper {
    top: 50%
  }

  .title-section {
    height: 98vh;
  }

  h6 {
    margin: 10px 0 30px
  }

  .items-wrapper .game-item {
    width: 50%;
  }

  .advantages-sect_item {
    float: none;
    width: auto;
  }

  .advantages-sect__items .advantages-sect_item:nth-child(3) {
    margin-bottom: 40px;
  }

  .advantages-sect__ico img {
    max-width: 120px
  }
  .title{
  font-size: 16px;
}
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .top-menu li {
    width: calc(50% - 5px);
    background: rgba(0,0,0,0.5);
    padding: 7px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden
  }
  .top-menu li a{
    width: auto;
    display: block;
  }
  .category-body .page h6{
    font-size: 13px;
    letter-spacing: 0.5px
  }
  .page-header h2{
    padding: 0 10px;
  }
  .top-menu li.active:after{
    width: auto;
    bottom: 0;
  }
  .items-wrapper {
    margin: 55px -10px 0
  }

  .searchbar input {
    font-size: 13px;
    margin-right: 5px;
  }

  .header .logo img {
    height: 25px;
    margin-top: 17px;
  }

  .items-wrapper .game-item {
    width: 100%;
  }

  h2 {
    font-size: 27px;
  }

  .login-content, .auth-content, .unsubscribe-content {
    margin-top: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .login-form input,
  .login-content .join-button,
  .auth-content input,
  .auth-content .join-button,
  .unsubscribe-content .join-button,
  .unsubscribe-content input{
    width: 100%;
  }
  .game-desc__buttons{
    display: block;
    width: 100%;
  }
  .game-desc__button{
    width: 100%;
    margin: 15px 0
  }
 
}

@media (max-height: 410px) {
  .sidebar-content {
    padding-top: 5px;
  }

}

@media (max-height: 379px) {
  .sidebar-menu li {
    height: 30px;
    line-height: 30px;
  }
}
