/* body {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
} */
html, body {
    height:100%;
}



/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body {
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: center; */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
}

.tg__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: hidden;
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.tg__join {
    margin: 16px 16px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 16px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 400px;
    max-height: 400px;
    background-color: white;
    overflow: hidden;
}




/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@-webkit-keyframes animation-ads-text {
    from {
        color: #000000;
        font-family: 'Roboto', sans-serif;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        padding: 10px;
        opacity: 0;
    }
    to {
        color: #000000;
        font-family: 'Roboto', sans-serif;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        padding: 10px;
        opacity: 1;
    }
}
@keyframes animation-ads-text {
    from {
        color: #000000;
        font-family: 'Roboto', sans-serif;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        padding: 10px;
        opacity: 0;
    }
    to {
        color: #000000;
        font-family: 'Roboto', sans-serif;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        padding: 10px;
        opacity: 1;
    }
}

.svg__img {
    vertical-align: bottom;
    fill: #1a8ad5;
}

@-webkit-keyframes animation-ads-block {
    0% {
        margin: 16px 16px 0;
        display: -webkit-box;
        display: flex;
    border-radius: 16px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.454);
    opacity: 0;
    -webkit-transform: translateX(-500px);
            transform: translateX(-500px);
    }
    100% {
        margin: 16px 16px 0;
        display: -webkit-box;
        display: flex;
    border-radius: 16px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.454);
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
    opacity: 1;
    -webkit-transition: 3s;
    -o-transition: 3s;
    transition: 3s;
    }
}
@keyframes animation-ads-block {
    0% {
        margin: 16px 16px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    border-radius: 16px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.454);
    opacity: 0;
    -webkit-transform: translateX(-500px);
            transform: translateX(-500px);
    }
    100% {
        margin: 16px 16px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    border-radius: 16px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.911);
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
    opacity: 1;
    -webkit-transition: 3s;
    -o-transition: 3s;
    transition: 3s;
    }
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.ads__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation-name: animation-ads-text;
            animation-name: animation-ads-text;
    -webkit-animation-duration: 3s;
            animation-duration: 3s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
            align-items: center;
}

.ads__block {
    -webkit-animation-name: animation-ads-block;
            animation-name: animation-ads-block;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    
}

.ads__url {
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(237,35,210,1) 35%, rgba(29,146,253,1) 70%, rgba(247,53,63,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-tap-highlight-color: transparent;

}


.tg__icons, .tg__description, .tg__button  {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tg__icons-channel {
    margin: 30px 0 0;
    height: 111px;
}

.tg__description-button {
    margin: 10px;
    display: flex;
    flex-direction: column;
}

.tg__description {
    text-align: center;
    margin: 10px;
    color: #7d7f81;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
}

.tg__button {
    margin: 20px;
}



.tg__button-text {
    padding: 10px;
    display: block;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    background-color: black;
    width: 130px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 14px;
}

.tgme_background_wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: var(--body-bg);
}

.tgme_background_pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    background: center repeat;
    background-size: 420px auto;
}

.tgme_background_pattern.default {
    opacity: 0.3;
    background-image: url('../img/pattern.svg');
}

.tgme_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

@media (max-height: 300px) {
    .tg__join {
        min-height: 200px;
        max-height: 200px;
        flex-direction: row;
    }
    .tg__description {
        margin: 15px;
    }
    .tg__description-button {
        margin: 10px;
        display: flex;
        flex-direction: column;
    }


    .tg__icons-channel {
        margin: -8px;
        margin-left: 33px;
    }

    .tg__button {
        margin: 15px 0 0;
    }
}


  
 
  
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@-webkit-keyframes sdf {
    0% {
        text-transform: uppercase;
        cursor: pointer;
        font-size: 15px;
        letter-spacing: 1px;
        position: relative;
        background-color: #000000;
        border: none;
        color: #fff;
        padding: 17px 0;
        width: 170px;
        text-align: center;
        overflow: hidden;
        border-radius: 25px;
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
      }
      100% {
        text-transform: uppercase;
        cursor: pointer;
        font-size: 15px;
        letter-spacing: 1px;
        position: relative;
        border: none;
        color: #fff;
        padding: 17px 0;
        width: 170px;
        text-align: center;
        overflow: hidden;
        border-radius: 25px;
        font-family: 'Roboto', sans-serif;
        background: #000000;
        -webkit-box-shadow: 0px 0px 5px 1px #000000;
                box-shadow: 0px 0px 5px 1px #000000;
        font-weight: bold;
      }
}
@keyframes sdf {
    0% {
        text-transform: uppercase;
        cursor: pointer;
        font-size: 15px;
        letter-spacing: 1px;
        position: relative;
        background-color: #000000;
        border: none;
        color: #fff;
        padding: 17px 0;
        width: 170px;
        text-align: center;
        overflow: hidden;
        border-radius: 25px;
        font-family: 'Roboto', sans-serif;
        font-weight: bold;
      }
      100% {
        text-transform: uppercase;
        cursor: pointer;
        font-size: 15px;
        letter-spacing: 1px;
        position: relative;
        border: none;
        color: #fff;
        padding: 17px 0;
        width: 170px;
        text-align: center;
        overflow: hidden;
        border-radius: 25px;
        font-family: 'Roboto', sans-serif;
        background: #000000;
        -webkit-box-shadow: 0px 0px 5px 1px #000000;
                box-shadow: 0px 0px 5px 1px #000000;
        font-weight: bold;
      }
}


/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.button {
    -webkit-animation-name: sdf;
            animation-name: sdf;
    -webkit-animation-duration: 0.8s;
            animation-duration: 0.8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
            animation-direction: alternate;
    text-decoration: none;
    tap-highlight-color: transparent;
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@-webkit-keyframes button-run {
    0% {
        -webkit-transform: translateY(500px);
                transform: translateY(500px);
    }
    50% {
        -webkit-transform: translateY(300px);
                transform: translateY(300px);
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}
@keyframes button-run {
    0% {
        -webkit-transform: translateY(500px);
                transform: translateY(500px);
    }
    50% {
        -webkit-transform: translateY(300px);
                transform: translateY(300px);
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.tg__button {
    -webkit-animation-name: button-run;
            animation-name: button-run;
    -webkit-animation-duration: 0.5s;
            animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
            -webkit-tap-highlight-color: transparent
}

.button_time {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.ads_button_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-grid-column-align: center;
        justify-self: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 10px;
} 

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.ads_button {
    text-transform: uppercase;
    text-align: center;
    width: 100px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    padding: 10px 0;
    border-radius: 13px;
    background-color: #0088cc;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
}


.countTime {
    font-size: 56px;
    color: rgb(0, 0, 0);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin: 20px;
    height: 51.5px;
}


.test_button {
    border: 2px solid black;
    border-radius: 5px;
    margin: 10px;
    background-color: #fff;
}

