/* 代码雨样式 */
body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; /* 添加背景颜色，以便代码雨更加突出 */
}

#myCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* 位于登录框后面 */
}

/* 登录框样式 */
.shell {
    width: 640px;
    height: 320px;
    display: flex;
    z-index: 10; /* 确保登录框位于代码雨之上 */
    position: relative; /* 对z-index起作用的定位 */
}

.box-left, .box-right {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    height: 280px;
    position: relative;
    width: 50%;
}

.box-left h2{
    font: 900 50px '';
    margin: 50px 40px 40px;
}

.box-left span{
    display: block;
    color: #999;
    font-size: 14px; /* 修正了 font-style */
    margin: 40px;
}

.box-right{
    background-color: rgba(71, 74, 89, 0.8); /* 半透明背景 */
    box-shadow: 0 0 40px 16px rgba(0,0,0,.2);
    color: #f1f1f2;
}

.form{
    margin: 40px;
    position: relative; /* 修改为 relative */
}

label{
    color: #c2c2c5;
    display: block;
    font-size: 14px;
    height: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
    position: relative;
}

input{
    background: transparent;
    border: 0;
    color: #f2f2f2;
    font-size: 20px; /* 修正了 font-style */
    height: 30px;
    line-height: 30px;
    width: 100%;
    outline: none !important;
}

label::before{
    content: '';
    display: block;
    position: absolute;
    top: 52px;
    width: 100%;
    height: 3px;
    background-image: linear-gradient(to right,#44ffff,#b888ff);
}

#submit{
    color: #fff;
    margin-top: 40px;
    width: 100px;
    height: 35px;
    background-color: rgba(255,255,255,.1);
    border-radius: 20px;
    float: right;
    transition: .3s;
}

#submit:hover{
    letter-spacing: 2px;
    color: #000;
    background-color: #fff;
}