@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.cardx {
    width: 350px;
    height: 84px;
    background: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #283666;
    font-family: 'Roboto', sans-serif;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    transition: all 0.7s ease-in-out;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 3px 4px 4px 5px #0000001e;
    transition: 0.5s;
    border: 2px solid #000;
  }
  
  .cardx::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #088080;
    bottom: 0;
    right: 0;
    transform: translateY(70px);
    border-radius: 100%;
    transition: all 0.7s ease-in-out;
  }
  
  .c-txt {
    z-index: 2;
    font-weight: 600;
  }
  
  .cardx:hover::before {
    transform: scale(7) translate(-15px);
  }
  
  .cardx:hover {
    box-shadow: 5px 5px 3px 2px #121f1f4a;
    color: #f3f3f3;
    transform: translateX(50px)
  }
  





