.dao{
    width:100%;
    height:65px;
    background-color: white;
    border-bottom: 1px solid rgba( 169,169 ,169 ,0.5 ) ;
    display:flex;
    align-items: center;
    margin-bottom: 25px;
 }
 .dao a{
     height:100%;
     width:150px;
     box-sizing:border-box;
     float:right;
     display:flex;
     color:black;
 
     text-align:center;
     justify-content: center;
     align-items: center; 
     line-height: 1.5;
 
     padding:20px 30px;
     text-decoration: none;
     box-sizing: border-box;
 
     /* border-left: 1px solid  rgba( 169,169 ,169 ,0.5 ); */
     border-right: 1px solid  rgba( 169,169 ,169 ,0.5 );
 }
 .dao a:hover{
    background-color: black;
    color:white;
  }
  .menu-item {
    position: relative;
    display: inline-block;
    z-index: 1000;
 }
 
 .drawer-buttons {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0; /* 初始状态下，隐藏内容 */
    overflow: hidden; /* 隐藏超出的部分 */
    opacity: 0;
    display: flex;
    flex-direction: column;
    background-color: #333;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out; /* 添加过渡效果 */
 }
 
 .drawer-buttons button {
    width: 100%;
    height: 40px;
    background-color: black;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
 }
 
 .drawer-buttons button:hover {
    background-color: white;
    color:black;
 }
 
 /* 当鼠标悬浮时，显示按钮 */
 
 .menu-item:hover .drawer-buttons {
    max-height: 200px; /* 设置按钮容器最大高度以便展开 */
    opacity: 1; /* 设置为完全不透明 */
 }
 
 .language-number {
    display: flex;
    align-items: center;
    margin-left: auto;
 }
 .language-box {
    display: flex;
    margin-right: 20px;
 }
 .box {
    padding: 5px 10px;
    cursor: pointer;
 }

 
 /*  
 .dao button{
    padding:10px 20px;
    background-color: white;
    color:gray;
    border:none;
    cursor:pointer;
 } */ 
 
 .language-number{
       display: flex;
       flex-direction: column; /* 使 EN 和 CN 在上面，电话号码在下面 */
       justify-content: center;
       align-items: center;
       margin-left: 350px;  /* 让它有一些左侧间距 */
       width: 30px;
    }
 
 .language-box {
    position: relative;
    display: flex;             /* 使用flex布局让EN和CN水平排列 */
    border: 1px solid gray;    /* 为父容器添加边框 */
    border-radius: 5px;        /* 给父容器添加圆角 */
    padding: 5px;              /* 给父容器添加内边距 */
    background-color: white; /* 背景色 */
    width: auto;     
    height: 20px;    
    margin: 0 auto;            /* 水平居中对齐 */
    right: 140px;
    bottom: 7px;
 }
 
 .box {
    padding: 10px 20px;         /* 设置方框内的内边距 */
    font-size: 14px;            /* 设置文本大小 */
    cursor: pointer;           /* 鼠标悬停时显示为可点击 */
    display: flex;              /* 使用flexbox */
    justify-content: center;    /* 水平居中对齐 */
    align-items: center;        /* 垂直居中对齐 */
    margin: 0 5px;             /* 设置间隔 */
    /* width: auto;               宽度自适应 */
    max-width: 150px;          /* 每个方框的最大宽度 */
    text-align: center;        /* 文本居中 */
 }
 
 /* 电话号码样式 */
 .number{
    position: relative;
    margin:0;
    width: 20px;
    right: 140px;
    bottom: 25px;
    height:10px ; 
    font-size: 20px;    /* 设置字体大小 */
    color: black;       /* 设置文字颜色 */
    text-align: center; /* 使文本居中 */
 }
 
 #moumou{
    width: 100px;
    height: 50px; 
    vertical-align: middle;
    margin:20px 20px ; 
 }
 #search{
    width: 20px;
    height: 20px; 
    vertical-align: middle;
    margin:20px 20px 20px 50px;
 }

    .banner-container {
        width: 100%;
        height: 400px; /* 设置容器高度 */
        background: #111;
        border: 3px solid white;
        margin: 5px auto;
        position: relative;
        box-shadow: 0px 0px 5px #000;
        overflow: hidden; /* 隐藏超出部分 */
    }
    .banner-left, .banner-right {
        position: absolute;
        top: 50%; /* 将箭头垂直居中 */
        transform: translateY(-50%); /* 垂直居中偏移 */
        cursor: pointer;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 2; /* 确保箭头在图片上方 */
    }
    .banner-left {
        left: 10px; /* 根据需要调整 */
        width: 50px; /* 根据需要调整 */
        height: 50px; /* 根据需要调整 */
        background-image: url('./鲜花网站（2人完成）/images/banner_btnl.png');
    }
    .banner-right {
        right: 10px; /* 根据需要调整 */
        width: 50px; /* 根据需要调整 */
        height: 50px; /* 根据需要调整 */
        background-image: url('./鲜花网站（2人完成）/images/banner_btnr.png');
    }
    .banner-wrapper {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 900%; /* 9倍宽度以容纳多个状态 */
        height: 100%;
        transition: transform 0.5s ease-in-out; /* 平滑过渡效果 */
    }
    .banner {
        flex: 0 0 10%; /* 每个banner占据10%宽度 */
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }
    .banner-state {
        background-image: url('./鲜花网站（2人完成）/images/banner.jpg'); 
    }
.box-white{
    position: relative;
    width: 30%;
    top: 30px;
    display: flex;
    align-items: center;
    gap: 20px; /* 设置子元素之间的间距 */
}
.box-white h3 {
    position: relative;
    left: 140px;
    display: inline-block;
}
.banner-main {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 水平居中 */
    align-items: flex-start; /* 垂直顶部对齐 */
    gap: 20px; /* 设置图片之间的间隔 */
    margin: 20px 0; /* 上下外边距 */
}
.banner-item {
    text-align: center; /* 文本居中对齐 */
    margin: 0; /* 移除外边距 */
    padding: 0; /* 移除内边距 */
    width: calc(25% - 20px); /* 减去间隙宽度 */
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out;
    cursor: pointer; /* 改变鼠标指针为手型 */
}
.banner-item.active {
    opacity: 1; /* Visible when active */
}
.banner-item img {
    width: 100%; /* 图片宽度 */
    height: auto; /* 图片高度自动 */
    object-fit: cover; /* 保持图片比例 */
    transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
}
.banner-item:hover img {
    transform: scale(1.1); /* 放大图片 */
}
.banner-item p {
    margin-top: 10px;
    width: 100%; /* 确保描述文本宽度与图片一致 */
}
.description {
    margin: 5px 0; /* 描述与图片之间的间隔 */
}
.price {
    color: #ff0e0e;
}
.box-introduce {
    position: relative;
    height: 680px;
    background-color: rgb(241, 241, 241);
}
.box-introduce img {
    position: relative;
    height: 580px;
    width: 50% ; /* 设置百分比宽度，根据父容器自适应 */
    top: 30px;
    left: 670px;
}
.underline-black {
    position: relative; /* 改为相对定位 */
    width: 50% ;
    border-bottom: 2px solid rgb(0, 0, 0);
    right: 280px;; /* 移除固定的right值 */
    top: 60px; /* 移除固定的top值 */
    margin-left: auto; /* 让下划线在容器内靠右对齐 */
}
.underline-black1 {
    position: relative; /* 改为相对定位 */
    border-bottom: 2px solid rgb(0, 0, 0);
    width: 50% ;
    right: 280px; /* 移除固定的right值 */
    top: 550px; /* 移除固定的top值 */
    margin-left: auto; /* 让下划线在容器内靠右对齐 */
}
.vline {
    position: relative;
    width: 2px;
    background-color: black;
    z-index: 1;
}
.vline1 {
    position: relative;
    width: 2px;
    background-color: black;
    z-index: 1;
}

.content {
    position: relative;
    bottom: 1070px; /* 移除固定的bottom值 */
    left: 0; /* 移除固定的left值 */
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 150px; /* 使用margin - left来设置左间距 */
}
.introduction-main{
    position: relative;
    width: 550px;
    left: 150px;
    bottom: 1070px;
}
.introduction-main h4{
    line-height: 2;
    color: #6d6b6b;
}
.introduction-black{
    position: relative;
    width: 130px;
    height: 40px;
    background-color: #000000;
    left: 150px;
    bottom: 1070px;
}
.introduction-black h4{
    position: relative;
    left: 20px;
    top: 10px;
}
.header {
    position: relative;
    width: 150px;
    top: 270px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* 确保文本框在图片之上 */
    color: white;
    font-size: 36px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    padding: 10px 20px;
    border-radius: 5px;
}
.header p {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 确保图片之间没有多余空隙 */
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1%; /* 添加一些内边距以适应屏幕 */
}
.image-wrapper {
    position: relative;
    width: 48%; /* 每张图片的宽度 */
    overflow: hidden; /* 隐藏溢出的内容 */
    margin-bottom: 2%; /* 给图片添加底部外边距 */
    transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
}
.image-wrapper img {
    width: 100%;
    height: auto; /* 保持图片比例 */
    border: none; /* 移除边框 */
}
.overlay {
    position: absolute;
    bottom: 0; /* 覆盖层从底部开始 */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* 初始不显示 */
    transition: opacity 0.3s ease-in-out; /* 过渡效果 */
    z-index: 2; /* 确保覆盖在图片之上 */
    text-align: center; /* 文字居中 */
}
.overlay h2 {
    margin: 0;
    font-size: 24px;
}
.overlay h5 {
    margin: 0;
    font-size: 16px;
}
.slide-top {
    -webkit-animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
            animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}
.image-wrapper:hover .overlay {
    opacity: 1; /* 鼠标悬停时显示 */
}
.small {
    position: relative;
    width: 20%;
    bottom: 50px;
    left: 670px;
    text-align: center; /* 文字居中 */
    display: flex;
    gap: 20px; /* 设置子元素之间的间距 */
}
.underline-box {
    position: relative;
    display: inline-block;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200vh; /* Add some vertical space for scrolling */
}
.box-container {
    display: flex; /* 开启 Flexbox 布局 */
    gap: 20px; /* 子元素之间的间距 */
    border-bottom: 4px solid black;
    position: relative;
    bottom: 55px;
}
 .box2 {
    padding-left: 50px;
    width: 25%;
    height: auto;
    opacity: 0;
    transform: rotate(-540deg) scale(0);
    transform-origin: 0 50%;
    transition: all 1s ease-out;
}
.box2.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}
@-webkit-keyframes swirl-in-left-fwd {
    0% {
        -webkit-transform: rotate(-540deg) scale(0);
                transform: rotate(-540deg) scale(0);
        -webkit-transform-origin: 0 50%;
                transform-origin: 0 50%;
        opacity: 0;
    }
    100% {
        -webkit-transform: rotate(0) scale(1);
                transform: rotate(0) scale(1);
        -webkit-transform-origin: 0 50%;
                transform-origin: 0 50%;
        opacity: 1;
    }
}
@keyframes swirl-in-left-fwd {
    0% {
        -webkit-transform: rotate(-540deg) scale(0);
                transform: rotate(-540deg) scale(0);
        -webkit-transform-origin: 0 50%;
                transform-origin: 0 50%;
        opacity: 0;
    }
    100% {
        -webkit-transform: rotate(0) scale(1);
                transform: rotate(0) scale(1);
        -webkit-transform-origin: 0 50%;
                transform-origin: 0 50%;
        opacity: 1;
    }
}
/* 外层容器 */
.abc {
    position: relative;
    bottom: 45px;
    padding-top: 10px;
    display: flex; /* 使用 Flexbox 让子容器水平排列 */
    justify-content: flex-start; /* 水平对齐，默认左对齐 */
    gap: 0; 
    margin-bottom: 5px;
  }
  
  /* .introduction 容器 */
  .introduction {
    display: flex;
    gap: 15px; /* 每个链接之间的间距 */
    background-color: black;
  }
  
  /* 友情链接容器 */
  .friend-links {
    display: flex; /* 友情链接也使用 Flexbox 排列 */
    align-items: center; /* 垂直居中对齐 */
    background-color: white;
  }
  
  .weather{
    margin-left:auto;
    padding-left:10px;
    padding-right:10px;
    background-color: lightblue;
    color:white;
    border-radius: 10px;
  }
  .weather:hover{
    background-color: lightcyan;
    color:lightskyblue;
}
  

  .introduction a{
    /* display: inline-block; 确保每个链接是块状元素 */
    padding: 10px 15px; /* 内边距 */
    background-color: black; /* 背景颜色 */
    color: white; /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 0px; 
    transition: background-color 0.3s, transform 0.3s; /* 添加过渡效果 */
  }
  
  .friend-links a {
    /* display: inline-block; 确保每个链接是块状元素 */
    padding: 10px 15px; /* 内边距 */
    background-color: white; /* 背景颜色 */
    color: black; /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 0; 
    transition: background-color 0.3s, transform 0.3s; /* 添加过渡效果 */
  }
  
  .introduction a:hover,
  .friend-links a:hover {
    background-color: black; /* 鼠标悬浮时背景颜色变化 */
    color: white; /* 鼠标悬浮时文字变为白色 */
    transform: scale(1.2); /* 鼠标悬浮时放大 */
  }
 .shuiping{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    position: relative;
 }
 .shuiping div{
    border:1px solid gray;
    width:20%;
    height: 200px;
    padding-top:20px ;
 }

