<a href="https://t.me/ROX_BR" target="_blank" class="float1" id="float1">
  <img class="icon" src="https://wordpress-731680-3807664.cloudwaysapps.com/wp-content/uploads/2024/04/ActiveImg7532580654847733-1.gif"/>
</a>
<button class="close-btn" onclick="hideFloat1()"><i class="fa-regular fa-circle-xmark"></i></button>

<style>
  :root {
    --icon-color: #fff;
    --icon-hover: #fff;
    --background-color: #0060ff;
    --background-hover: #0044b3;
  }

  .icon {
    width: 110px;
    height: 110px;
    transform: scale(0.6) translate(15%, 28%);
  }

  .float1 {
    position: fixed;
    cursor: pointer;
    width: 110px;
    height: 110px;
    bottom: 140px;
    right: 0px;
    transition: 1s;
    z-index: 9000;
  }

  .close-btn {
    position: fixed;
    bottom: 200px; /* Ajuste conforme necessário */
    right: 10px; /* Ajuste conforme necessário */
    width: 20px;
    height: 20px;
   background-color: var(--ci-primary-color);
    color: var(--ci-secundary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9001; /* Um nível acima da float2 */
  }

  .close-btn:hover {
    background-color: var(--background-hover);
  }

  @keyframes pulse {
    0% {
      -webkit-box-shadow: 0 0 0 0 rgba(0, 96, 255, 1);
    }

    70% {
      -webkit-box-shadow: 0 0 0 20px rgba(0, 96, 255, 0);
    }

    100% {
      -webkit-box-shadow: 0 0 0 0 rgba(0, 96, 255, 0);
    }
  }


</style>

<script>
  function hideFloat1() {
    document.getElementById('float1').style.display = 'none';
    document.querySelector('.close-btn').style.display = 'none';
  }
</script>

<a href="/home/agents" class="float2" id="float2">
  <img class="icon" src="/storage/rox/rox_gif_post.gif"/>
</a>
<button class="close-btn2" onclick="hideFloat2()"><i class="fa-regular fa-circle-xmark"></i></button>

<style>
  :root {
    --icon-color: #fff;
    --icon-hover: #fff;
    --background-color: #0060ff;
    --background-hover: #0044b3;
  }

 
  .float2 {
    position: fixed;
    cursor: pointer;
    width: 110px;
    height: 110px;
    bottom: 230px;
    right: 5px;
    transition: 1s;
    z-index: 9000;
  }

  .close-btn2 {
    position: fixed;
    bottom: 280px; /* Ajuste conforme necessário */
    right: 10px; /* Ajuste conforme necessário */
    width: 20px;
    height: 20px;
    background-color: var(--ci-primary-color);
    color: var(--ci-secundary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9001; /* Um nível acima da float2 */
  }

  .close-btn2:hover {
    background-color: var(--background-hover);
  }




</style>

<script>
  function hideFloat2() {
    document.getElementById('float2').style.display = 'none';
    document.querySelector('.close-btn2').style.display = 'none';
  }
</script>