body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgb(240,255,240);
    font-family: Arial, sans-serif;
}
@keyframes fadeIn {
    from {
        opacity: 0; /* 初始透明 */
    }
    to {
        opacity: 1; /* 最终全显示 */
    }
}

/* 应用于文本的动画样式 */
.fade-in {
    animation: fadeIn 0.8s ease-in; /* 动画持续1秒，缓入效果 */
}

.lightblue{
    color: #007bff;
    text-align: center;
    text-shadow: 2px 2px 10px #0c1d38;
    padding-right: 43%;
    margin-top: -30px
    
}

p{
    color: rgb(16, 16, 16);
    text-align: center;
}

img {
    max-width: 100%;
    max-height: 100%;
}
h2{
    text-align: center;
    color: rgb(16, 16, 16);
}
div{
    font-size: xx-large;
}
.btn {
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
    /* margin-left: -43%;  */
}

.btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
.switch-btn {
    position: absolute;
    bottom: 80px;
    right: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
}

.switch-btn:hover {
    background-color: rgba(22, 25, 22, 0.9);
}

/* 居中布局 */
.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}
.center-container {
    transition: opacity 0.5s ease;
}
/* 背景图片样式 */
.background {
    background-image: url(./img/background1.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;

}

.titwhite {
    font-size: 110%;
    color: rgb(26, 27, 31);
    margin-bottom: 20px;
    text-align: center;
    /* padding-right: 43%; */
    font-weight: bold;
}

/* 底部固定样式 */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8); /* 背景透明黑 */
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
li{
    font-size: medium;
}
/* 并排div */
.container {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: rgb(240,255,240);
}
.box {
    flex: 1;
    background-color: rgb(240,255,240);
    padding: 0px;
    width: auto;
    height:auto;
    border: 2px solid rgb(125, 145, 125);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
}