.nm-btn {
    display: inline-block;
    padding: 7px 24px 7px 7px;
    border-radius: 50px;
    background: #EAEAEA;
    color: #090909;
    font-weight: 500;
    font-size: 17px;
    font-family: "Poppins";
    position: relative;
}

.nm-btn-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nm-btn-icon {
    display: flex;
    align-items: center;
    z-index: 3;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.nm-btn-icon-1, .nm-btn-icon-2 {
    padding: 11px;
    width: 40px;
    height: 40px;
    position: relative;
    transition: left 0.3s ease;
    left: 0;
}

.nm-btn-icon-bg {
    position: absolute;
    background: #EF622A;
    width: 40px;
    height: 40px;
    z-index: 1;
    border-radius: 20px;
    left: 7px;
    top: 7px;
    transition: .3s;
}

.nm-btn-text {
    display: flex;
    align-items: center;
    height: 25.5px;
    overflow: hidden;
    flex-direction: column;
    /*position: absolute;*/
}

.nm-btn svg {
    fill: #EF622A;
    height: 18px;
    width: 18px;
}

.nm-btn-text-1, .nm-btn-text-2 {
    position: relative;
    top: 0;
    transition: top 0.3s ease;
    z-index: 3;
}

.nm-btn:hover .nm-btn-text-1, .nm-btn:hover .nm-btn-text-2 {
    top: -100%;
    color: rgb(249,249,249);
}

.nm-btn:hover .nm-btn-icon-bg {
    width: calc(100% - 14px);
}

.nm-btn:hover .nm-btn-icon-1, .nm-btn:hover .nm-btn-icon-2 {
    left: -100%;
}



@media only screen and (min-width: 1201px) {
    
.nm-btn:hover .nm-btn-text-1, .nm-btn:hover .nm-btn-text-2 {
    top: -100%;
    color: rgb(249,249,249);
}

.nm-btn:hover .nm-btn-icon-bg {
    width: calc(100% - 14px);
}

.nm-btn:hover .nm-btn-icon-1, .nm-btn:hover .nm-btn-icon-2 {
    left: -100%;
}
}