* {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a,
img {
    /*border: 0;
    transform: translate3d(0, 0, 1px);*/
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: url(../images/background-login.webp) rgba(255, 192, 203, 1) no-repeat center center fixed;
    /*background-position: center center;
            background-repeat: no-repeat;*/
    background-size: cover;
}

canvas {
    transform: rotateY(180deg);
    padding: 0;
    margin: 0;
    opacity: 0.3;
    pointer-events: none;
}

.fixed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-demo {
    position: relative;
    width: 400px;
    height: 670px;
}

.bt {
    text-align: center;
}

.switch {
    background: rgba(255, 192, 203, 0.4);
    box-shadow: 5px 5px 1px rgba(255, 192, 203, 0.5);
    border-radius: 25px;
    width: 100%;
    height: 140px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 8px;
    text-align: center;
}

#change:checked+label,
#change:not(:checked)+label {
    background: rgba(255, 192, 203, 1);
    border-radius: 25px;
    color: white;
    width: 280px;
    padding: 8px 0;
    font-size: 24px;
    font-weight: 600;
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translate(-50%);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

.turn {
    width: 100%;
    height: 400px;
    position: absolute;
    top: 0;
    perspective: 800px;
}

.over {
    width: 100%;
    height: 130%;
    transform-style: preserve-3d;
    transition: all 2s ease;
}

#change:checked~.turn .over {
    transform: rotateY(180deg);
}

.sign {
    transform: rotateY(180deg);
}

.login input:nth-child(-n+3) {
    margin: 20px 0;
}

.btn {
    background: rgba(255, 192, 203, 1);
    box-shadow: 5px 5px 5px rgba(255, 192, 203, 0.5);
    border: none;
    width: 280px;
    font-size: 24px;
    font-weight: 600;
    padding: 6px 0;
    color: white;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
    font-weight: 400;
    line-height: 1;
    color: #777777;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
    font-size: 65%;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
    font-size: 75%;
}

h1 {
    margin-top: 38px;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 1px);
}

h1,
.h1 {
    font-size: 36px;
}

h2,
.h2 {
    font-size: 30px;
}

h3,
.h3 {
    font-size: 24px;
}

h4,
.h4 {
    font-size: 18px;
}

h5,
.h5 {
    font-size: 14px;
}

h6,
.h6 {
    font-size: 12px;
}

p {
    margin: 0 0 10px;
}

form {
    width: 100%;
    display: flex;
    position: absolute;
    height: 100%;
    border-radius: 8px;
    /*background-color: #FCFBFA;*/
    transform-style: preserve-3d;
    text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

input {
    background-color: #ffffff;
    width: 70%;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 0 16px;
    font-size: 18px;
    color: #f771a8;
    font-weight: 500;
    outline: none;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(78, 73, 79, .5);
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 1px);
}

.input-key {
    position: relative;
    width: 35%;
    right: 17%;
}

.img-key {
    position: relative;
    left: 20%;
    bottom: 12%;
    width: 30%;
}

.box {
    border:1px solid rgba(255,255,255,.3);
    border-radius:12px;
    box-shadow:0 8px 32px rgba(0,0,0,.2);
    background:rgba(252,251,250,.2);   /* 半透明底色 */
    backdrop-filter:blur(10px);
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 1px);
}
.toggle,.hide,.show{
    position: relative;
    bottom: 25px;
    left: 55px;
    width: 15px;
    height: 15px;
    background-size: cover;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 1px);
    cursor: pointer;
}

.show {
    background: url(../images/eye_show.png) no-repeat center center;
    background-size: cover;
}
