.anvie-wrapper {
  position: fixed;
  bottom: 5px;
  right: 0;
  z-index: 9999;
}

.anvie-checkbox {
  display: none;
}

.anvie-contact {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-name: zoom;
    -webkit-animation-name: zoom;
}
@keyframes zoom {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(78, 93, 70, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(78, 93, 70, 0);
  }
  
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(78, 93, 70, 0);
  }
}

@-webkit-keyframes zoom {
  0% {
    -webkit-transform: scale(1);
    box-shadow: 0 0 0 0 rgba(78, 93, 70, 0.7);
  }
  
  70% {
    -webkit-transform: scale(1);
    box-shadow: 0 0 0 10px rgba(78, 93, 70, 0);
  }
  
  100% {
    -webkit-transform: scale(1);
    box-shadow: 0 0 0 0 rgba(78, 93, 70, 0);
  }
}

.anvie-contact {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #4E5D46;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    position: absolute;
    right: 50px;
    bottom: 80px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.anvie-contact img {
    width: 35px;
    height: 35px;
}

.anvie-contact .close-icon {
  display: none;
}
.anvie-checkbox {
    cursor: pointer;
}
.anvie-checkbox:checked ~ .anvie-contact .open-icon {
  display: none;
}

.anvie-checkbox:checked ~ .anvie-contact .close-icon {
    width: 26px;
    display: block;
}
.anvie-expand {
    position: absolute;
    bottom: 80px; 
    right: 50px; 
    z-index: 12;
}

.anvie-action {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(0);
}

.anvie-checkbox:checked ~ .anvie-expand .anvie-action {
  opacity: 1;
}

.anvie-action:hover {
  transform: scale(1.1);
}

.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(2) {
  transform: translateY(-136px);
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(1) {
  transform: translateY(-68px);
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(2):hover {
  transform: translateY(-136px) scale(1.1);
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(1):hover {
  transform: translateY(-68px) scale(1.1);
}

.anvie-action div {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.anvie-action img {
    width: 35px; 
    height: 35px;
}

.button-1 { background: #0068FF; }
.button-2 { background: #0E3311; }

@media screen and (max-width: 500px) {
.anvie-contact {
    width: 45px;
    height: 45px;
    right: 30px;
    bottom: 30px;
}
.anvie-action div {
    width: 45px;
    height: 45px;
}
.open-icon {
    width: 26px; 
    height: 26px; 
}
.anvie-expand {
    bottom: 30px;
    right: 30px;
}
.close-icon {
    width: 23px; 
    height: 23px; 
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(2) {
  transform: translateY(-110px);
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(1) {
  transform: translateY(-55px);
}

.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(2):hover {
  transform: translateY(-110px) scale(1.1);
}
.anvie-checkbox:checked ~ .anvie-expand .anvie-action:nth-child(1):hover {
  transform: translateY(-55px) scale(1.1);
}
}