body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: flex-end; /* 将导航栏内容靠右对齐 */
    background-color: #fce8b6;
    position: fixed; /* 固定导航栏在最上方 */
    top: 0px; /* 固定在顶部 */
    width: calc(100% - 0px); /* 宽度占满整个页面 */
    z-index: 1000; /* 确保导航栏在其他内容之上 */
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.244); /* 添加底部阴影效果 */
}

/* 下拉按钮样式 */
.dropbtn {
    background-color: #fefefe00;
    color: rgb(255, 255, 255);
    padding: 0px;
    font-size: 18px; /* 增大字体大小 */
    border: none;
    cursor: pointer;
    margin: 0 45px; /* 增加间距 */
    text-decoration: none; /* 取消下划线 */
    display: flex;
    align-items: center;
    justify-content: space-between;/* 确保箭头在右侧 */
}
/* 容器 <div> - 需要定位下拉内容 */
.dropdown {
    position: relative;
    display: inline-block;
    color:#f3f2e7;
    font-weight: bold;
}

/* 下拉内容 (默认隐藏) */
.dropdown-content {
    display: none;
    position: absolute;
    color: rgb(237, 236, 236);
    background-color:  #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(255, 255, 255, 0);
    z-index: 1;
    font-weight: bold;
}

/* 下拉菜单的链接 */
.dropdown-content a {
    color: black;
    padding: 9px 10px;
    text-decoration: none; /* 取消下划线 */
    display: block;
}

/* 鼠标移上去后修改下拉菜单链接颜色 */
.dropdown-content a:hover {
    background-color: #fce8b6;
    text-decoration: none; /* 取消下划线 */
}

/* 在鼠标移上去后显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 当下拉内容显示时修改下拉按钮的背景颜色 */
.dropdown:hover .dropbtn {
    background-color: #ffffff00;
}

.container {
    display: flex;
    justify-content: flex-end; /* 将内容靠右对齐 */
    width: 100%;
    height: 100vh; /* 使容器占满整个视口高度 */
    word-wrap: break-word;
}

.container {
    display: flex;
    justify-content: space-around; /* 使两列矩形框在容器内均匀分布 */
    margin-top: 50px; /* 可调节的间距 */
}

.container1 {
    display: flex;
    justify-content: flex-end; /* 将内容靠右对齐 */
    width: 100%;
    height: 100vh; /* 使容器占满整个视口高度 */
    word-wrap: break-word;
}

.container1 {
    display: flex;
    justify-content: space-around; /* 使两列矩形框在容器内均匀分布 */
    margin-top: -350px; /* 可调节的间距 */
}

.box {
    background-color: #ffffff;
    width: 660px; /* 可调节的宽度 */
    height:300px; /* 可调节的高度 */
    padding: 20px;
    box-shadow: 0 4px 20px rgba(86, 86, 86, 0.2), inset 0 1px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px; /* 圆角效果 */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease; /* 过渡效果 */
    margin-bottom: 20px;
    position: relative; /* 使绝对定位基于这个容器 */
    padding-right: 20px; /* 设置右侧内边距为10px */
  
    
}

.box:hover {
    transform: translateY(-5px); /* 鼠标悬停时轻微上浮 */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* 鼠标悬停变化的阴影效果 */
}



.font-size-1 {
    position: absolute; /* 使用绝对定位 */
    top:40px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 28px;
    font-weight: bold;
    text-align: left;
   
}


.font-size-2 {
    position: absolute; /* 使用绝对定位 */
    top:80px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 21px;
    text-align: left;

}

.font-size-3 {
    position: absolute; /* 使用绝对定位 */
    top:120px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 21px;
    font-weight: bold;
    text-align: left;
}

.font-size-4 {
    position: absolute; /* 使用绝对定位 */
    top:150px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 17px;
    text-align: left;
    
}

.font-size-5 {
    position: absolute; /* 使用绝对定位 */
    top:190px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 21px;
    font-weight: bold;
    text-align: left;
    
}

.font-size-6 {
    position: absolute; /* 使用绝对定位 */
    top:220px; /* 距离顶部为0，放置在左上角 */
    left: 30px; /* 距离左侧为0，放置在左上角 */
    font-size: 17px;
    text-align: left;
    margin-right: 20px;
    
}


