/* 设置整个页面的样式 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 背景图片样式 */
.background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 将内容对齐到页面底部 */
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* 确保背景图片覆盖整个div */
    top: 0;
    left: 0;
}

/* 内容容器样式 */
.content-container {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -5%);
    width: 100%;
    text-align: center;
}

/* 运动会介绍图片样式 */
.introduce-image {
    width: 90%; /* 根据需要调整宽度 */
    margin: auto;
    margin-bottom: 1%;
    display: block; /* 确保图片是块级元素 */
    bottom: 10%;
}

/* 按钮样式 */
.enter-button {
    display: block;
    margin: 5px auto; /* 添加上下间距，水平居中 */
    border: none; /* 去掉按钮的边框 */
    background: none; /* 去掉按钮的背景色 */
    cursor: pointer; /* 鼠标悬停时显示手型 */
    padding: 0; /* 去掉默认的内边距 */
    width: 10%;
    bottom: 3%;
    
}

.enter-button-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* 添加放大过渡效果 */
}

/* 鼠标悬停时按钮图片放大 */
.enter-button:hover .enter-button-image {
    transform: scale(1.2); /* 放大到1.2倍 */
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 250px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(139, 90, 43, 0.7);
    color: gold;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.icp-link{
    color: #e6e6e5;
    text-decoration: none;
    font-size: 14px;
}
.logo{
    width: 15px;
}

@media (max-height: 500px) and (orientation: landscape) {
    /* 按钮样式 */
    .enter-button {
        display: block;
        margin: 5px auto; /* 添加上下间距，水平居中 */
        border: none; /* 去掉按钮的边框 */
        background: none; /* 去掉按钮的背景色 */
        cursor: pointer; /* 鼠标悬停时显示手型 */
        padding: 0; /* 去掉默认的内边距 */
        width: 12vw;
        bottom: 3%;
        
    }
    .enter-button-image {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease; /* 添加放大过渡效果 */
    }

    .icp-link{
        color: #fdfdf6;
        text-decoration: none;
        font-size: 0.9vw;
    }
    .logo{
        width: 1.4vw;
    }
    .music-control {
        width: 40px;
        height: 40px;
    }
    
    /* 横屏时背景图从顶部开始显示 
    .background {
        justify-content: flex-start;
    }
    
    .background-image {
        object-position: top center;
    }
        */
}