.ag-btn {
    display: flex;
    align-items: stretch;
    width: 18em;
    box-sizing: border-box;
    background: #3a52a4;
    color: #fff;
    border: 2px solid #3a52a4;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    overflow: hidden;
    transition: background .2s, color .2s;
}

.ag-btn-icon{display:flex;align-items:center;justify-content:center;flex:0 0 80px;
  border-right:1px solid #fff;transition:border-color .2s;}

.ag-btn-icon svg{width:20px;height:24px;fill:currentColor;}

.ag-btn-text {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
}

.ag-btn:hover,.ag-btn:focus{background:#fff;color:#3a52a4;}
.ag-btn:hover .ag-btn-icon,.ag-btn:focus .ag-btn-icon{border-right-color:#3a52a4;}

@media screen and (max-width:600px){
.ag-btn {
    display: flex;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    background: #3a52a4;
    color: #fff;
    border: 2px solid #3a52a4;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    overflow: hidden;
    transition: background .2s, color .2s;
}
}