

.speed-dial {
  position: fixed;
  bottom: 150px;
  right: 70px;
  z-index: 999;
}

.button-container {
  display: flex;
  flex-direction: column;
}

.speed-dial-button {
  margin-top: 30px;
  background-color: transparent;
  color: transparent;
  border: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.speed-dial-button img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.speed-dial-actions {
  list-style: none;
  padding: 0;
  position: absolute;
  bottom: -120px;
  left: -89%;
  transform: translate(-100%, 100%);
  /* transition: transform 0.3s ease-in-out; */
  opacity: 0;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.speed-dial-actions  a{
color: black;
}

.speed-dial-actions.show {
  transform: translate(-60%, 40px);
  opacity: 1;
}

.speed-dial-action {
  margin-bottom: 8px;
  transition: transform 0.3s ease-in-out;
  transform: scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
}

.speed-dial-action.show {
  transform: scale(1);
  opacity: 1;
}

.speed-dial-actions li {
  min-width: 100px;
  line-height: 40px;
  transition: transform 0.3s ease-in-out;
  transform: scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.speed-dial-actions li:hover {
  background-color: red;
}

.speed-dial-actions li:hover * {
  color: white;
}

.speed-dial-actions.show li {
  transform: scale(1);
  opacity: 1;
}
.speed-dial-actions.show {
  transform: translate(-60%, 40px);
  opacity: 1;
  z-index: 999;  /* 确保 z-index 能够覆盖其他样式 */
}
.speed-dial-button2 {
 margin-top: 15px;
  background-color: transparent;
  color: transparent;
  border: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}


.main_top1{
position: fixed;
  bottom: 120px;
  right: 70px;
  z-index: 999;
}
.main_top{
position: fixed;
  bottom: 330px;
  right: 70px;
  z-index: 999;
}

.speed-dial-button3 {
  margin-top: 15px;
  background-color: transparent;
  color: transparent;
  border: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}
.speed-dial-button2 {
  position: relative;
}

.speed-dial-button2 img:nth-child(2) {
  width: 56px;
  height: 56px;
  opacity: 0; /* 初始状态透明 */
  transition: opacity 0.3s ease-in-out; /* 添加过渡效果 */

  position: absolute;
  right: 65px;
  bottom: 0;
}

.speed-dial-button2 img:nth-child(1):hover + img:nth-child(2) {
  opacity: 1; /* 鼠标滑动到第一张图时，显示第二张图 */
}


.speed-dial-button3 {
  position: relative;
}

.speed-dial-button3 img:nth-child(2) {
  width: 56px;
  height: 56px;
  opacity: 0; /* 初始状态透明 */
  transition: opacity 0.3s ease-in-out; /* 添加过渡效果 */

  position: absolute;
  right: 65px;
  bottom: 0;
}

.speed-dial-button3 img:nth-child(1):hover + img:nth-child(2) {
  opacity: 1; /* 鼠标滑动到第一张图时，显示第二张图 */
}



.speed-dial-button4 {
 margin-top: 15px;
  background-color: transparent;
  color: transparent;
  border: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
z-index: 99999;
}
