:root {
    color: #FFF;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    --container_with: 1520px;
}

.wrapper {
    width: 100%;
    max-width: var(--container_with);
    margin: auto;
    position: relative;
}

body {
    background: #111;
}

.header_wrapper {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    max-width: var(--container_with);
    margin: auto;
}

.header_buttons {
    display: flex;
    gap: 20px;
}

.authorize_link {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 2px solid #111;
    text-decoration: none;
    transition: .3s;
    cursor: pointer;
}

.authorize_link:hover {
    border: 2px solid #333;
}

.authorize_link span {
    color: white;
}

.discord_link {
    display: inline-flex;
    padding: 10px 20px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid #111;
    transition: .3s;
}

.discord_link:hover {
    border: 2px solid #333;
}

.discord_button {
    width: 35px;
}

.discord_link span {
    color: white;
}

.content {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 68px; /* 136% */
}

h2 {
    color: #FFF;
    font-size: 45px;
    font-weight: 500;
    line-height: 60px; /* 133.333% */
    margin: 0;
}

.description_main {
    font-size: 25px;
    font-weight: 500;
    line-height: 35px; /* 140% */
    margin-top: 20px;
}

.description_sub {
    color: #AEAEAE;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px; /* 144.444% */
    margin-top: 10px;
}

.half_size_block {
    width: 731px;
}

.action_button {
    display: flex;
    padding: 15px 25px;
    align-items: center;
    border-radius: 8px;
    border: 2px solid;
    background: #67C9EC;
    color: #111;
    font-family: Montserrat;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    line-height: 35px; /* 140% */
    margin-top: 40px;
    cursor: pointer;
    transition: background .5s;
}

.action_button:hover {
    background: #569BB3;
}

.discord_invite {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 8px;
    background: linear-gradient(264deg, #67D6EC 5.77%, #5466E3 89.78%);
}

.discord_invite_main {
    width: 731px;
    color: #111;
    font-size: 25px;
    line-height: 35px; /* 140% */
    margin: 0;
}

.discord_invite_sub {
    width: 731px;
    color: #111;
    font-size: 18px;
    line-height: 25px; /* 138.889% */
    margin: 0;
    margin-top: 10px;
}

.discord_invite_button {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    border-radius: 8px;
    border: 2px solid #333;
    background: #111;
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    text-decoration: none;
}

.content_about {
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
    line-height: 35px; /* 140% */
    margin-top: 10px;
}

.snippets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.title_block {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.title_block form {
    z-index: 100;
}

.video_block {
    position: absolute;
    right: 0px;
    z-index: 0;
}

video {
    max-width: 750px;
    border-radius: 8px;
    z-index: 0;
}

.blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #111 0%, transparent 90%);
    z-index: 1000;
}

.snippet_about {
    padding: 20px;
    border-radius: 8px;
    background: #1B1B1B;
}

.description_about_main {
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
    line-height: 35px; /* 140% */
    margin-top: 0;
    margin-bottom: 0;
}

.description_about_sub {
    color: #A5A5A5;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px; /* 138.889% */
    margin-top: 10px;
    margin-bottom: 0;
}

.description_about_main_black {
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
    line-height: 35px; /* 140% */
    opacity: 0.3;
    margin-top: 0;
    margin-bottom: 0;
}

.content_block {
    padding: 55px 0;
}

.content_block.gray {
    background: #1B1B1B;
}

.avatar {
    width: 100%;
    flex-shrink: 0;
    position: absolute;
    transition: .3s;
    right: 0;
    transition: .3s;
}

.streamer_online:hover .avatar {
    width: 110%;
    right: -5%;
}

.streamer_online:hover .blur {
    background: #FFFFFF44;
}

.stream_link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.nickname {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: white;
    font-size: 25px;
    font-weight: 500;
    z-index: 2;
    background: #111;
    border-radius: 8px;
    padding: 8px;
}

.snippets_online {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    border-radius: 8px;
}

.streamer_online {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: left;
    gap: 20px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.streamer_online .blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFFFFF00;
    z-index: 1;
    left: 0;
    transition: .3s;
}

.link {
    text-decoration: none;
    color: white;
}

.logo {
    width: 120px;
}

.documents {
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.authorize_button {
    max-width: 26px;
}

@media (max-width: 1024px) {
    .snippets {
        grid-template-columns: auto;
    }

    .snippets_online {
        grid-template-columns: repeat(auto-fill, 100%)
    }

    .discord_invite_main, .discord_invite_sub {
        width: 100%;
    }

    .title_block {
        grid-template-columns: 1fr;
    }

    .video_block {
        display: none;
    }

    video {
        width: 100%;
    }

    .discord_link {
        display: none;
    }

    h1 {
        font-size: 40px;
        line-height: normal;
    }

    .blur {
        display: none;
    }
}