.button {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    background: var(--main-elements-1);
    color: #F0F0F0;
    transition: 0.5s;
    font-family: Kanit_Cyrillic;
}

.button label {
    cursor: pointer;
}

.button:hover {
    background: var(--main-elements-2);
    color: #FFFFFF;
    transition: 0.5s;
}

.button-gray:hover {
    background: var(--main-elements-4);
    color: #FFFFFF;
    transition: 0.5s;
}

.button[load="true"] {
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.button[load="true"] span {
    position: relative;
    z-index: 5;
}

.button[load="true"]::after {
    content: "";
    position: absolute;
    left: 200%;
    top: -50%;
    width: 200%;
    height: 250%;
    background: linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,.5) 45%,rgba(255,255,255,.5) 55%,rgba(255,255,255,.5) 80%,rgba(255,255,255,0) 100%);
    transform: matrix(.47,-.97,.77,.53,0,0);
    animation: blink 1s infinite ease-in-out;
}

@keyframes blink {
    0%{
        left: -200%;
    }
    100%{
        left: 200%;
    }
    /*from {
        left: 200%;
    }
    to {
        left: -200%;
    }*/
}
.button_loading {
    opacity: 0.5;
}

.button-mini {
    display: inline-block;
    padding: 6px 10px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    background: var(--main-elements-1);
    color: #F0F0F0;
    transition: 0.5s;
    font-family: Podkova;
}

.button-fill {
    display: block;
    text-align: center;
}
.button label {
    display: inline-block;
}
.button .loader-2 {
    display: none;
}

.button-gray {
    background: var(--main-elements-3);
}

.button-invert {
    background: transparent;
    color: #fff;
}
.button-invert:hover {
    background: transparent;
    background: var(--main-elements-3);
    cursor: pointer;
}

/*.button[load="true"] {*/
/*    background: var(--main-elements-5);*/
/*    cursor: progress;*/
/*    text-align: center;*/
/*    background: transparent;*/
/*}*/
/*.button[load="true"] label {*/
/*    display: none;*/
/*}*/
/*.button[load="true"] .loader-2 {*/
/*    display: inline-block;*/
/*}*/