  .logo {
    width: 300px;
  }

  .logo img {
    width: 100%;
    margin-left: 85%;

  }
  hr{
    height: 2px;
    width:45%;
    color:"#d6d6d6";
  }
  .container {
    min-width: 850px;
    max-width: 850px;
    height: 650px;
    padding: 15px 15px 0 15px;
    background-image: url("/static/img/background_window.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
  }

  .content {
    display: flex;
    flex-direction: column;

  }

  .big_wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .title {
    height: 50px;
    width: 100%;
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4.5%;
    margin-bottom: 6%;

  }

  .common_block {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .addfriend_body {
    display: block;
  }
  .left_block {
    height: 100%;

  }

  .wrap_img {
    position: relative;
    width: 340px;
    z-index: 1;
  }

  .left_block img {
    width: 100%;
  }

  .right_block {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding-right: 60px;
    height: 300px;
  }

  .tegP {
    font-size: .7em;
    color: rgb(252, 230, 163);
    position: absolute;
    top: -28%;
    left: 8%;
    text-align: center;

    width: 100%;
  }

  .balance {
    text-align: center;
    height: 56px;
    width: 265px;
    position: relative;
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1.2em;
    font-weight: 600;
    top: -20px;


  }

  .balance img {
    width: 100%;
  }

  .count {

    position: absolute;
    top: 18%;
    text-align: center;
    width: 80%;
    margin-left: 18%;
  }

  a.back_btn {
    position: fixed;
    left: 0;
    bottom: 5%;
    max-width: 3%;
    min-width: 60px;
    cursor: pointer;
  }

  a.back_btn img {
    width: 100%;
  }

  a.back_btn:active {
    filter: brightness(120%);
  }

  .name {
    text-align: center;
    color: #F0EEEA;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 2px 2px 2px #000;
    position: absolute;
    bottom: 41%;
    left: 0;
    width: 100%;
  }

  .user_img {
    width: 130px;
    position: absolute;
    z-index: -1;
    top: 95px;
    left: 107px;
  }

  .user_img img {
    width: 100%;
    border-radius: 50%;

  }

  .button_refill {

    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1.2em;
    font-weight: 600;
    margin-left: 48px;
    min-width: 170px;
    max-width: 265px;
    width: 100%;
    position: relative;
    margin-bottom: 15%;
    pointer-events: auto;
    cursor: pointer;
  }

  .button_refill img {
    width: 100%;
  }

  a.buy_btn p.buy {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    width: 100%;


  }

  .button_refill:active {
    filter: brightness(120%);
  }





  @media screen and (max-width: 450px) and (orientation: portrait) {
    .logo {
      width: 300px;
    }

    .content {
      width: 342px;
    }

    .logo img {
      width: 50%;
      margin-left: 55%;
      margin-top: 3%;
      margin-bottom: 1.5%;
    }

    .wrap_img {
      width: 155px;
      margin-top: 12%;
      margin-left: 42%;
    }

    .user_img {
      top: 43px;
      left: 49px;
      width: 59px;
    }

    .container {
      min-width: 365px;
      ;
      height: 270px;
      margin: 10px;
      margin-top: 0;
      margin-left: 0;
      margin-right: 0;
    }

    .name {
      font-size: .8em;
      bottom: 41%;
    }

    .right_block {
      height: 140px;
      margin-right: -2%;
    }

    .balance {
      width: 160px;
      font-size: .8em;
      margin-left: 5%;
      margin-top: 5%;
    }

    .count {
      top: 10%;
    }

    .button_refill {
      font-size: .8em;
      margin-left: 73px;
      width: 180px;
    }

    .button_refill img {
      width: 80%;
    }

    a.back_btn {
      bottom: 5%;
      min-width: 50px;
    }

    a.buy_btn p.buy {
      left: 41%;
    }

    .title {
      height: 9px;
      font-size: .9em;
      padding-top: 0px;
      margin-bottom: 0px;
    }

    .tegP {
      font-size: .6em;
      bottom: 38px;
    }
    /* invitefriend */
    hr{
      height: 1px !important;
    }
    .avatar{
      width: 50px;
      height: auto;
    }
    .btn_primary {
      border-width: 0 33px !important;
      font-size: 0.7em !important;
    }
    #username {
      font-size: 0.7em !important;
    }
    .FrInvDoYuHaApp {
      font-size: 0.7em !important;
      margin: 4px !important;
    }
    .player_info{
      margin-top: 14px;
    }
    .hr{
      margin: 5px !important;
    }
    .title{
      font-size: .7em;
    }
    .texto{
      font-size: .7em !important;
    }
    .store.googleplay{
      width: 85px !important;
    }
    .store.appstore{
      width: 85px !important;
    }
    .store.store.macappstore{
      width: 99px;
    }
    .noo{
      margin: -20px 0 !important;
    }
  }

  @media screen and (min-width: 451px) and (max-width: 636px) {

    .wrap_img {
      width: 180px;
      margin-top: 10%;
      margin-left: 18%;
    }

    .user_img {
      top: 50px;
      left: 58px;
      width: 67px;
    }

    .name {
      font-size: 1em;
      bottom: 41%;
    }

    .right_block {
      height: 140px;
      margin-right: -2%;
    }

    .balance {
      width: 170px;
      font-size: 1em;
    }

    .count {
      top: 10%;
    }

    .button_refill {
      font-size: .9em;
      margin-left: 45px;
      width: 180px;
    }

    a.back_btn {
      bottom: 20%;
      min-width: 50px;
    }

    a.buy_btn p.buy {
      font-size: 1em;
    }

    .container {
      min-width: 480px;
      max-width: 640px;
      height: 320px;
      margin: 10px;
      margin-top: 0;
    }


    .title {
      height: 17px;
      font-size: .9em;
      padding-top: 0px;
      margin-bottom: 0px;
    }

    .tegP {
      font-size: .6em;
      bottom: 38px;
    }


    .logo {
      display: none;
    }

    .footer {
      font-size: .8em;
    }
        /* invitefriend */
        .avatar{
          width: 60px;
          height: auto;
        }
        .btn_primary {
          border-width: 2px 46px !important;
          font-size: 0.8em !important;
        }
        #username {
          font-size: 0.8em !important;
        }
        .FrInvDoYuHaApp {
          font-size: 0.8em !important;
          margin: 6px !important;
        }
        .player_info{
          margin-top: 14px;
        }
        .hr{
          margin: 8px !important;
        }
        .title{
          font-size: .8em;
        }
        .texto{
          font-size: .8em !important;
          max-width: 350px;

        }
        .store.googleplay{
          width: 85px !important;
        }
        .store.appstore{
          width: 85px !important;
        }
        .store.store.macappstore{
          width: 99px;
        }
        .noo{
          margin: -16px 0 !important;
        }
        hr{
          height: 1px !important;
        }

  }

  @media screen and (min-width: 637px) and (max-width: 736px) {

    .wrap_img {
      width: 200px;
      margin-top: 10%;
      margin-left: 18%;
    }

    .user_img {
      top: 56px;
      left: 64px;
      width: 75px;
    }

    .name {
      font-size: 1em;
      bottom: 41%;
    }

    .right_block {
      height: 165px;
    }

    .balance {
      width: 195px;
      font-size: 1em;
    }

    .count {
      top: 12%;
    }

    .button_refill {
      font-size: .9em;
      margin-left: 45px;
      width: 180px;
    }

    a.buy_btn p.buy {
      font-size: 1em;
    }

    .container {
      min-width: 640px;
      max-width: 640px;
      height: 356px;
      margin: 10px;
      margin-top: 0;
    }


    .title {
      height: 22px;
      font-size: 1em;
      padding-top: 0px;
      margin-bottom: 0px;
    }





    .tegP {
      font-size: .6em;
      bottom: 38px;
    }


    .logo {
      display: none;
    }

    .footer {
      font-size: .8em;
    }
     /* invitefriend */
     .avatar{
      width: 60px;
      height: auto;
    }
    .btn_primary {
      border-width: 2px 46px !important;
      font-size: 0.8em !important;
    }
    #username {
      font-size: 0.8em !important;
    }
    .FrInvDoYuHaApp {
      font-size: 0.8em !important;
      margin: 6px !important;
    }
    .player_info{
      margin-top: 14px;
    }
    .hr{
      margin: 8px !important;
    }
    .title{
      font-size: .8em;
    }
    .texto{
      font-size: .8em !important;
      max-width: 350px;

    }

    .store.googleplay{
      width: 110px !important;
    }
    .store.appstore{
      width: 110px !important;
    }
    .store.store.macappstore{
      width: 128px;
      
    }
    .noo{
      margin: -16px 0 !important;
    }
    hr{
      height: 1px !important;
    }

}


  @media screen and (min-width: 637px) and (max-width: 736px) and (min-height: 400px) {
    .logo {
      display: none;
    }

    .wrap_img {
      width: 230px;
      margin-top: 10%;
      margin-left: 10%;
    }

    .user_img {
      top: 60px;
      left: 66px;
      width: 97px;
    }

    .name {
      font-size: 1.2em;
      bottom: 41%;
    }

    .right_block {
      height: 165px;
    }

    .balance {
      width: 195px;
      font-size: 1.1em;
    }

    .count {
      top: 12%;
    }

    .button_refill {
      font-size: .9em;
      margin-left: 45px;
      width: 180px;
    }

    a.buy_btn p.buy {
      font-size: 1em;
    }

    .container {
      min-width: 640px;
      max-width: 640px;
      height: 400px;
      margin: 10px;
      margin-top: 0;
    }


    .title {
      height: 25px;
      font-size: 1.1em;
      padding-top: 0px;
      margin-bottom: 0px;
    }




    .tegP {
      font-size: .6em;
      bottom: 38px;
    }


    .logo {
      display: none;
    }

    .footer {
      font-size: .8em;
    }

     /* invitefriend */
     .avatar{
      width: 70px;
      height: auto;
    }
    .btn_primary {
      border-width: 4px 60px !important;
      font-size: 0.8em !important;
    }
    #username {
      font-size: 1em !important;
    }
    .FrInvDoYuHaApp {
      font-size: 0.8em !important;
      margin: 6px !important;
    }
    .player_info{
      margin-top: 14px;
    }
    .hr{
      margin: 10px !important;
    }
    .title{
      font-size: .8em;
    }
    .texto{
      font-size: .8em !important;
      max-width: 350px;

    }
    
    .store.googleplay{
      width: 110px !important;
    }
    .store.appstore{
      width: 110px !important;
    }
    .store.store.macappstore{
      width: 131px;
    }
    .noo{
      margin: -16px 0 !important;
    }
    hr{
      height: 1px !important;
    }

}

  @media screen and (min-width: 737px) and (max-width: 991px) and (max-height: 440px) {

    .wrap_img {
      width: 230px;
      margin-top: 10%;
      margin-left: 10%;
    }

    .user_img {
      top: 60px;
      left: 66px;
      width: 97px;
    }

    .name {
      font-size: 1.2em;
      bottom: 41%;
    }

    .right_block {
      height: 165px;
    }

    .balance {
      width: 195px;
      font-size: 1.1em;
    }

    .count {
      top: 12%;
    }

    .button_refill {
      font-size: .9em;
      margin-left: 45px;
      width: 180px;
    }

    a.buy_btn p.buy {
      font-size: 1em;
      top: 42%;
    }


    .container {
      min-width: 640px;
      max-width: 640px;
      height: 400px;
      margin: 10px;
      margin-top: 0;
    }


    .title {
      height: 25px;
      font-size: 1.1em;
      padding-top: 0px;
      margin-bottom: 0px;
    }

    .tegP {
      font-size: .6em;
      bottom: 38px;
    }

    .logo {
      display: none;
    }

    .footer {
      font-size: .8em;
    }
     /* invitefriend */
     .avatar{
      width: 60px;
      height: auto;
    }
    .btn_primary {
      border-width: 4px 60px !important;
      font-size: 0.8em !important;
    }
    #username {
      font-size: 1em !important;
    }
    .FrInvDoYuHaApp {
      font-size: 0.8em !important;
      margin: 10px !important;
    }
    .player_info{
      margin-top: 14px;
    }
    .hr{
      margin: 12px !important;
    }
    .title{
      font-size: .9em !important;
    }
    .texto{
      font-size: .8em !important;
      max-width: 350px;

    }
    .store.googleplay{
      width: 112px !important;
    }
    .store.appstore{
      width: 112px !important;
    }
    .store.store.macappstore{
      width: 131px;
    }
    .noo{
      margin: -16px 0 !important;
    }

}



  /* addfriend */

  .btn_primary{
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
    line-height: 2;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    border-radius: 5px; 
    background: #6b983b; 
    margin: 0;
    padding: 0;
    border-color: #6b983b;
    border-style: solid;
    border-width: 10px 120px;
}

    
    .player_info{
   
        text-align: center;
       }
    .player_info img{
    margin: 0 auto;
    margin-bottom: 5px;
    
    
    }   
    .FrInvDoYuHaApp{
    margin: 15px;
    font-size: 16px;
    }
    .pic{
        margin-top: 30px;
        margin-bottom: 0;
        padding: 0;
       
    
    }
    .pic img{
    position: absolute;
    width: 12%;
    bottom: 11.3%;
    left: 33%;
    }
    img {
        display: flex;
       
        bottom: 0;

    }
    
    .texto{
        margin: 0 10px 0 10px;
        color: white;
    }
    .hr {
        margin: 20px;
        display: flex;
        align-items: center;
        justify-content: center
        
    }
    .img.avatar {
      border-radius: 50%;
  }

  .store{
    display:inline-block;
    text-indent:-9999px;
    /* height:100%; */
    background:#000;
    box-sizing:border-box;
    line-height:1em;
    vertical-align:top;
    margin-bottom:4px;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    z-index: 999;
    min-height: 28px;

}

  @media screen and (min-width: 737px) and (max-width: 991px) and (max-height: 390px) {

    .logo {
      display: none;
    }

    .wrap_img {
      width: 230px;
      margin-top: 10%;
      margin-left: 10%;
    }

    .user_img {
      top: 60px;
      left: 66px;
      width: 97px;
    }

    .name {
      font-size: 1.2em;
      bottom: 41%;
    }

    .right_block {
      height: 165px;
    }

    .balance {
      width: 195px;
      font-size: 1.1em;
    }

    .count {
      top: 12%;
    }

    .button_refill {
      font-size: .9em;
      margin-left: 45px;
      width: 180px;
    }

    a.buy_btn p.buy {
      font-size: 1em;
    }

    .container {
      min-width: 640px;
      max-width: 640px;
      height: 400px;
      margin: 10px;
      margin-top: 0;
    }


    .title {
      height: 25px;
      font-size: 1.1em;
      padding-top: 0px;
      margin-bottom: 0px;
    }




    .tegP {
      font-size: .6em;
      bottom: 38px;
    }


    .logo {
      display: none;
    }

    .footer {
      font-size: .8em;
    }

  }

  @media screen and (min-width: 569px) and (max-width: 1200px) {
    title {
      margin-top: 0;
    }

    .logo {
      width: 238px;
      margin-left: 60px;
      margin-bottom: -2%;
    }

    .logo img {
      margin-left: 100%;
      margin-bottom: 1%;
    }
  }