@media screen and (max-width:950px){
  html,body{
    min-width:auto;
  }
   body {
    background: url(../images/bg.png) no-repeat;
    background-size: 100% 100%;
    height: 95vh;
  }
  .phone{
    display: block;
  }
  .pc{
    display: none;
  }
  .main > .container{
    width:auto;
    margin-top: 2rem;
  }
  .top-wraps .top {
    text-align: center;
  }
  .top-wraps .top img {
    width: 13rem;
    height: 6rem;
    margin-bottom: 20px;
  }
  .login-wrap{
    background-color: #fff;
    margin: 0 auto;
    padding: 0.6rem 0;
    text-align: center;
    width: 17rem;
    border-radius: 0.4rem;
  }
  .login-wrap .login{
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
  }
  .login-wrap .user_name{
    display: flex;
    background-color: #f7f7f7;
    padding: .4rem;
    width: 80%;
    margin: 0 auto;
  }
  .login-wrap .user_name p{
    font-weight: bold;
    font-size: 0.7rem;
  }
  .login-wrap .user_name input{
    border: none;
    outline: none;
    background-color: #f7f7f7;
    margin-left: .6rem;
    border-radius: 0.2rem;
}
  .login-wrap .password{
    display: flex;
    background-color: #f7f7f7;
    padding: 0.4rem;
    width: 56%;
    position: relative;
    margin-left: 1.7rem;
    border-radius: 0.2rem;
    margin-top: .7rem;
}
  .login-wrap .password p{
    font-weight: bold;
    font-size: 0.7rem;
  }
  .login-wrap .password .get_code{
    width: 40%;
    margin-left: 0.6rem
  }
  .login-wrap .password .get_code input{
    border: none;
    outline: none;
    background-color: #f7f7f7;
    width: 140%;
  }
  .login-wrap .password .get_code a{
    position: absolute;
    right: -4rem;
    top: 0.3rem;
    font-size: .6rem;
    background-color: #7c9fc9;
    color: #fff;
    padding: 0.3rem 0.4rem;
    border-radius: 0.2rem;
  }
  .login_now .go_login{
    display: flex;
    justify-content: space-between;
    margin: 0.2rem 2rem;
    font-size: .7rem;
  }
  .go_login a{
    color: #0658b3;
  }
  .login-wrap .submit_btn{
    background: url(../images/btn_denglu.png) no-repeat;
    background-size: cover;
    font-size: .7rem;
    color: #fff;
    width: 66%;
    line-height: 1.7rem;
    margin: 0.9rem auto;
}
  .phone-footer{
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
  }
  
}

@media screen and (min-width:1200px){
  body {
    background: url(../images/denglu_bg.png) no-repeat;
    background-size: 100% 100%;
  }

  .phone{
    display: none;
  }
  .pc{
    display: block;
  }
  
  .main {
    margin-bottom: 100px;
  }
  
  .login-wrap {
    display: flex;
    justify-content: center;
  }
  
  .top-wraps {
    display: flex;
    justify-content: center;
    margin: 50px 0;
  }
  .top-wraps .top {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .top-wraps .top img {
    width: 399px;
    height: 183px;
    margin-bottom: 20px;
  }
  .top-wraps .top span {
    font-size: 20px;
  }
  
  form {
    width: 520px;
    padding: 20px 0 60px 0;
    border-radius: 20px;
    background-color: #fff;
  }
  form .login {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3a3a3a;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
  }
  form .user_name {
    width: 100%;
    display: flex;
    margin-bottom: 9px;
  }
  form .user_name p {
    width: 118px;
    text-align: right;
    line-height: 42px;
    padding-right: 16px;
    color: #3a3a3a;
    font-size: 16px;
  }
  form .user_name input {
    width: 288px;
    height: 42px;
    border-radius: 8px;
    transition: all 0.3s linear;
    background-color: #f6f9fa;
    border: 1px solid #f6f9fa;
    padding: 5px 10px;
  }
  form .user_name input:focus {
    outline: none;
    border: 1px solid #59caff;
  }
  form .password {
    width: 100%;
    display: flex;
    margin: 18px 0;
  }
  form .password p {
    width: 118px;
    text-align: right;
    line-height: 42px;
    padding-right: 16px;
    color: #3a3a3a;
    font-size: 16px;
  }
  form .password .get_code {
    width: 288px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  form .password .get_code input {
    width: 165px;
    height: 42px;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s linear;
    border: 1px solid #f6f9fa;
    background-color: #eef0f1;
  }
  form .password .get_code .code {
    width: 117px;
    height: 42px;
    line-height: 42px;
    border-radius: 8px;
    font-size: 16px;
    color: #FFF;
    background: #6193bb;
    text-align: center;
  }
  form .password .get_code input:focus {
    outline: none;
    border: 1px solid #59caff;
  }
  form .login_now {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  form .login_now .go_login {
    width: 288px;
    display: flex;
    justify-content: space-between;
  }
  form .login_now .go_login a {
    font-size: 14px;
    color: #0658b3;
  }
  form .submit {
    width: 100%;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  form .submit .submit_btn {
    width: 288px;
    height: 42px;
    line-height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/btn.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    font-size: 16px;
  }
}

