

.contect {
    margin-right: 15px;
    /* border: 1px solid red; */
    width: 100px;
    height: 250px;
    position: fixed;
    top: 60%;
    right: 4px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
}

.contectBox {
    width: 50px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contectItem {
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contectItem span {
    display: none;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease; /* 添加渐显效果 */
}

.jiantou {
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jiantou label {
    text-align: center;
}

.contectItem:hover,
.contect label:hover {
    cursor: pointer;
}

.contectItem img,
.contect .jiantou img {
    width: 50%;
}

.jiantou input {
    display: none;
}

.arrow-icon {
    transition: transform 0.5s ease; /* 添加旋转动画效果 */
}

.rotated {
    transform: rotate(180deg); /* 旋转180度 */
}

.phone:hover,
.mail:hover {
    width: 230px;
    border-radius: 30px;
    margin-right: 150px;
    transition: width 0.3s ease, margin-right 0.3s ease; /* 添加过渡效果 */
}

.phone:hover img,
.mail:hover img {
    width: 13%;
}

.phone:hover span,
.mail:hover span {
    display: block;
    opacity: 1;
}

.qrcodeImg {
    text-align: center;
    color: white;
    width: 150px;
    height: 200px;
    position: fixed;
    top: 70%;
    right: 4%;
    z-index: 999;
    background-color: black;
    opacity: 0;
    border-radius: 20px;
    transform :translateX(300%);
}

.qrcodeImg img {
    width: 90%;
}
.contectItem a{
    color: white;
}
@media screen and (max-width: 998px){
    .qrcodeImg {
        right: 20%;
    }
    .contect{
        top: 50%;
    }
}
@media screen and (max-width: 1600px){
    .qrcodeImg {
        right: 20%;
        top: 30%;
    }
    .contect{
        top: 20%;
    }

}