/*========== ИКОНКИ В КНОПКИ ==========*/

/*Общие стили*/
    .btn-discord .tn-atom:before,
    .btn-sparx .tn-atom:before,
    .btn-sparx-contrast .tn-atom:before,
    .btn-github .tn-atom:before,
    .btn-gitbook .tn-atom:before,
    .btn-extention .tn-atom:before,
    .btn-ios .tn-atom:before,
    .btn-android .tn-atom:before {
        content: "";
        display: inline-block;
        margin-right: 12px;
        margin-bottom: 2px!important;
        width: 24px;
        height: 24px;
        background-position: center;
        vertical-align: middle;
        background-size: cover;
        background-repeat: no-repeat;
        transition: transform 0.2s ease!important;
        -webkit-transition: transform 0.2s ease!important;
    }
    .btn-extention .tn-atom:before,
    .btn-ios .tn-atom:before,
    .btn-android .tn-atom:before {
        width: 28px!important;
        height: 28px!important;
    }

/*Шлифовка деталей*/
    .btn-discord .tn-atom,
    .btn-sparx .tn-atom,
    .btn-sparx-contrast .tn-atom,
    .btn-github .tn-atom,
    .btn-gitbook .tn-atom,
    .btn-all .tn-atom 
    .btn-extention .tn-atom,
    .btn-ios .tn-atom,
    .btn-android .tn-atom {
        padding-right: 4px;
        padding-top: 1px;
        transition: background-color 0.3s ease-in-out!important;
        -webkit-transition: background-color 0.3s ease-in-out!important;
    }
    .btn-extention .tn-atom,
    .btn-ios .tn-atom,
    .btn-android .tn-atom {
        padding-right: 8px!important;
    }

/*Иконки*/
    .btn-discord .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3931-3833-4063-b532-366337666365/Telegram_before_svg.svg);
    }
    .btn-sparx .tn-atom:before,
    .btn-sparx-contrast .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3739-6531-4637-b732-626431633036/icon-sparx.svg);
    }
    .btn-github .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3838-3838-4733-b739-303065363137/icon-github-color.svg);
    }
    .btn-gitbook .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3139-3566-4664-a530-646335306637/icon-gitbook-color.svg);
    }
    .btn-extention .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3665-3734-4265-a466-303064346430/icons8-chrome_1_1.svg);
    }
    .btn-ios .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild6364-3865-4563-b963-336662393935/App_Store_iOS-Logowi.svg);
    }
    .btn-android .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild6566-3430-4664-b834-656234383366/Google_Play-Icon-Log.svg);
    }

/*Ховеры*/
    .btn-discord:hover .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3962-6335-4965-b332-623665613632/Telegram_svg.svg)!important;
    }
    .btn-github:hover .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3434-6236-4566-a430-613532613562/icon-github-white.svg)!important;
    }
    .btn-gitbook:hover .tn-atom:before {
        background-image: url(https://static.tildacdn.com/tild3864-3061-4765-b135-393332643065/icon-gitbook-white.svg)!important;
    }
    
/*Поворот иконки на главной кнопке*/
    .btn-sparx:hover .tn-atom:before,
    .btn-sparx-contrast:hover .tn-atom:before {
        transform: rotate(90deg) scale(1.1);
    }

/*Адаптивы*/
@media screen and (min-width: 1600px) {
    .btn-discord .tn-atom:before,
    .btn-sparx .tn-atom:before,
    .btn-sparx-contrast .tn-atom:before,
    .btn-github .tn-atom:before,
    .btn-gitbook .tn-atom:before {
        width: 26px;
        height: 26px;
        margin-right: 14px;
    }
    .btn-extention .tn-atom:before,
    .btn-ios .tn-atom:before,
    .btn-android .tn-atom:before {
        width: 32px!important;
        height: 32px!important;
        margin-right: 14px;
    }
}
@media screen and (max-width: 959px) {
    .btn-discord .tn-atom:before,
    .btn-sparx .tn-atom:before,
    .btn-sparx-contrast .tn-atom:before,
    .btn-github .tn-atom:before,
    .btn-gitbook .tn-atom:before {
        width: 22px;
        height: 22px;
        margin-bottom: 1px!important;
    }
    .btn-extention .tn-atom:before,
    .btn-ios .tn-atom:before,
    .btn-android .tn-atom:before {
        width: 24px!important;
        height: 24px!important;
        margin-bottom: 2px!important;
    }
    .btn-discord .tn-atom,
    .btn-sparx .tn-atom,
    .btn-sparx-contrast .tn-atom,
    .btn-github .tn-atom,
    .btn-gitbook .tn-atom,
    .btn-all .tn-atom {
        padding-right: 6px;
    }
    .btn-extention .tn-atom,
    .btn-ios .tn-atom,
    .btn-android .tn-atom {
        padding-right: 4px!important;
    }
}