/* banner media contact  */

.contact__banner{
    position: fixed;
   bottom: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 0;
    z-index: 20;
}
.contact__banner .close-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    margin-top: 20px;
    background-color: #ff3676;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: rotate(45deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: ChangeLayout 8s infinite;;
}


.contact__banner .close-btn.open {
    transform: rotate(-90deg);
    background-color: #de0611;
}
.popup__contact--top{
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
}
.turn__off--form{
    margin-top: -10px !important;
}
.turn__off--form ion-icon{
    font-size: 25px;
}
.contact__banner  .contact__media--icon
{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
   
    padding: 5px;
    border-radius: 6px;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); */
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 15px;
   
}

.contact__media--icon a:nth-child(1) .title__contact-btn{
    color: #6cdc2d;
}
.contact__media--icon a:nth-child(2) .title__contact-btn{
    background: -webkit-linear-gradient(90deg, rgba(63,251,239,1) 0%, rgba(89,91,231,1) 34%, rgba(252,70,107,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;


}
.contact__media--icon a:nth-child(3) .title__contact-btn{
    color: #1877f2;
}
.contact__media--icon a,.logo__contact-btn{
    position: relative;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 4px;
    background-color: #fff;
}
.logo__contact-btn{
    margin: 0;
}
.close-btn.open ~ .contact__media--icon{
    transform: translateX(0);
}

.title__contact-btn{
    border-radius: 6px;
    width: 110px;
    top: 0px;
    position: absolute;
    right: 28px;
    opacity: 0;
    display: none;
    background-color: #fff;
    padding: 8px;
    font-weight: 600;
    box-shadow: -3px 0 5px lightgray;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out
}


.logo__contact-btn img{
    border-radius: 50%;
    width: 100%;
    height: 100%;
}
.logo__contact-btn:hover .title__contact-btn{
    opacity: 1;
}
.contact__media--icon a:hover .title__contact-btn{
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    display: block;
}
.contact__media--icon a:hover .logo__contact-btn{
}
.contact__media--icon a:hover .logo__contact-btn img{
    animation: moveAndChangeColor 1s infinite;
}

@keyframes moveAndChangeColor {
    0% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1.2);
        transform: rotate(8deg );

    }
    60%{
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0);
        transform: scale(1);
    }
}

@keyframes ChangeLayout {
    0% {
      border-radius: 0;
    }
    30% {
        border-radius: 0;
    }
    40% {
        border-radius: 50%;
    }
    90% {
        border-radius: 50%;
    }

    100% {
        border-radius: 0;
    }
}

@media screen and (max-width: 700px) {
    .contact__banner .close-btn{
        border-radius: 0;
    }


}