.navbar {
    position: fixed;  /* 固定在页面顶部 */
    width: 100%;  /* 让导航栏宽度撑满屏幕 */
    max-width: 750px;
    /*height: 100px;*/
    padding: 10px 0;
    background: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #282828;
    z-index: 1000; /* 确保它位于其他元素之上 */
}

.navbar a {
    text-decoration: none; /* 去掉下划线 */
    color: inherit; /* 继承父元素的文字颜色 */
}

.navbar .menu{
    display: none;
    flex-direction: column;
    position: absolute;
    /*top: 100px;*/
    top:100%;
    left: 0;
    width: 100%;
    background-color: #444;
}
.menu a {
    padding: 15px;
    text-decoration: none;
    color: white;
    text-align: center;
    border-bottom: 1px solid #555;
}
.menu a:hover {
    background-color: #555;
}


.logo {
    width: 20%;
    margin-left:10px;
    /*font-size: 32px;*/
    /*font-weight: bold;*/
    /*padding-left: 35px;*/
}

.menu-icon {
    font-size: 24px;
    margin-right:20px ;
    /*cursor: pointer;*/
    /*padding-right: 35px;*/
}
.button-container {
    position: fixed;
    bottom: 30px; /* 控制按钮离底部的距离 */
    left: 50%;
    transform: translateX(-50%); /* 让按钮居中 */
    display: flex;
    width: 100%;
    max-width: 750px; /* 按钮整体的最大宽度 */
    border-radius: 30px; /* 让整个容器也有圆角 */
    z-index: 999; /* 确保按钮显示在最上层 */
}

.button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s;
    position: relative;
    margin: 0 5px;
}

.button img {
    width: 60px;
    height: 60px;
    margin-right: 5px;
}

/* 左侧按钮样式 */
.left {
    background: linear-gradient(to bottom, #e20200, #d80000);
    border-radius: 30px 0 0 30px;
    box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.3), /* 内部高光 */
    0 5px 8px rgba(0, 0, 0, 0.2); /* 外部阴影 */
}

/* 右侧按钮样式 */
.right {
    background: linear-gradient(to bottom, #ffaf1a, #ffa600);
    border-radius: 0 30px 30px 0;
    box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.3), /* 内部高光 */
    0 5px 8px rgba(0, 0, 0, 0.2); /* 外部阴影 */
}

/* 轻微的凹凸边框，增加立体感 */
.button::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}


/* 悬停效果 */
.button:hover {
    opacity: 0.8;
}