body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    width: 600px; /* 设定容器的固定宽度 */
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container img {
    width: 50%; /* 设置图片宽度为50% */
    object-fit: scale-down;
    opacity: 0.5; /* 设置不透明度 */
    
}

.form-container {
    width: 50%; /* 设置表单容器宽度为50% */
    padding: 20px;
    background-color: #fff;
}

.form-container h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-container input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#loginForm a {
    display: block;
    background-color: skyblue;
    color: white;
    width: 100%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* 添加过渡效果 */
}

/* 悬停时的效果 */
#loginForm a:hover {
    background-color: #72b9c1;
    transform: scale(1.05); /* 放大按钮 */
}

/* 点击时的效果 */
.form-container button:active {
    background-color: #003d80;
    transform: scale(0.95); /* 缩小按钮 */
}
