.site_button span {
    margin: auto;
}


/* button hover effect start here */

.site_button {
    width: 183px;
    height: 50px;
    border-radius: 25px;
    background: var(--main_color);
    display: flex;
    color: var(--black_color);
    font-size: 18px;
    font-weight: 500;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.site_button:hover {
    color: var(--main_color);
}

.site_button:before,
.site_button:after,
.site_button span:before,
.site_button span:after {
    content: '';
    background: var(--black_color);
    height: 50%;
    width: 50%;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}

.site_button:after {
    top: 50%;
}

.site_button span:before {
    left: 0;
    top: 0;
}

.site_button span:after {
    left: 0;
    top: 50%;
}

.site_button:hover:before,
.site_button:hover:after,
.site_button:hover span:before,
.site_button:hover span:after {
    opacity: 1;
}

.site_button:hover:before {
    left: 0;
    top: 0;
}

.site_button:hover:after {
    top: 0;
}

.site_button:hover span:before {
    top: 50%;
}

.site_button:hover span:after {
    top: 50%;
    left: 50%;
}

.site_button.red:before,
.site_button.red:after,
.site_button.red span:before,
.site_button.red span:after {
    background: var(--black_color);
}

/* button hover effect end here */


@media all and (min-width: 320px) and (max-width: 767px) {
    .site_button {
        width: 132px;
        height: 39px;
        font-size: 13px;
    }
}

@media all and (min-width: 768px) and (max-width: 980px) {
    .site_button {
        width: 132px;
        height: 39px;
        font-size: 13px;
    }
}

@media only screen and (min-width: 981px) and (max-width: 1024px) {
    .site_button {
        width: 132px;
        height: 39px;
        font-size: 13px;
    }
}

@media all and (min-width: 1025px) and (max-width: 1140px) {
    .site_button {
        width: 132px;
        height: 39px;
        font-size: 13px;
    }
}

@media all and (min-width: 1141px) and (max-width: 1280px) {
    .site_button {
        width: 132px;
        height: 39px;
        font-size: 13px;
    }
}

@media all and (min-width: 1281px) and (max-width: 1440px) {
    .site_button {
        width: 141px;
        height: 40px;
        font-size: 14px;
    }

}

@media all and (min-width: 1441px) and (max-width: 1680px) {
    .site_button {
        width: 166px;
        height: 45px;
        font-size: 16px;
    }

    .site_button {
        width: 153px;
        height: 44px;
    }
}

@media all and (min-width: 1681px) and (max-width: 1880px) {
    .site_button {
        width: 166px;
        height: 45px;
        font-size: 16px;
    }
}