@media screen and (min-width: 1400px) {
    .maxwidth-container.container-xxl,
    .maxwidth-container.container-xl,
    .maxwidth-container.container-lg,
    .maxwidth-container.container-md,
    .maxwidth-container.container-sm,
    .maxwidth-container.container {
        max-width: 940px;
    }
}

html {
    font-size: 20px;
}

#welcome {
    margin-top: 5.425em;
    margin-bottom: 9em;
}

#welcome .balloon::after {
    top: 5.8%;
    left: -17.9%;
}

#welcome .button {
    max-width: 560px;
    cursor: pointer;
    margin-top: -1px;
}

#welcome .button:active {

}

#welcome .button img {
    width: 100%;
    height: auto;
    aspect-ratio: 530 / 170;
    z-index: 1;
}

#welcome .button .active,
#welcome .button:active .default {
    display: none;
}

#welcome .button .default,
#welcome .button:active .active {
    display: block;
}

.register-row {
    color: var(--color-white);
    background: rgb(0 0 0 / 34%);
    max-width: 345px;
    height: 45px;
    font-size: 18px;
    border-radius: 0 0 35px 35px;
    line-height: 1;
    padding: 15px 65px;
    display: inline-flex;
    align-items: end;
    justify-content: center;
    position: relative;
    text-transform: uppercase;
}

@media screen and (max-width: 1199px) {
    #welcome {
        margin-top: 28px;
        margin-bottom: 10px;
    }

    #welcome .button {
        max-width: 285px;
    }

    #welcome .image img {
        max-width: 270px;
        height: auto;
    }

    .register-row {
        font-size: 10px;
        max-width: 195px;
        border-radius: 0 0 15px 15px;
        height: 30px;
        padding-bottom: 10px;
    }
}

.button-main--outer {
    max-width: 485px;
    width: 100%;
    max-height: 180px;
    height: 100%;
    aspect-ratio: 560 / 180;
}

.button-main {
    width: 100%;
    height: 100%;
    border-radius: 275px;
    background: linear-gradient(360deg, #b82f12 0%, #ff0000 100%);
    box-shadow: inset 0 -14px 10px 0 rgb(238 114 0 / 25%);
    z-index: 1;
    padding: 7px;
    cursor: pointer;
}

.button-main * {
    width: inherit;
    height: inherit;
    border-radius: inherit;
}

.button-main-1 {
    box-shadow: inset 0 2px 0 0 #fff, inset 0 -8px 0 0 rgba(255, 255, 255, 0.25), 0 11px 11px 0 rgba(0, 0, 0, 0.2);
    background: linear-gradient(360deg, #f6ec92 0%, #fffbd7 100%);
    padding: 10px 8px;
    border: 3px solid #EE7200;
}

.button-main-2 {
    box-shadow: inset 0 5px 0 0 #fff, inset 0 -5px 0 0 rgba(0, 0, 0, 0.45), 0 6px 8px 0 rgba(163, 48, 36, 0.53);
    background: linear-gradient(360deg, #e31132 0%, #df0000 37%, #ffd977 100%);
    border: 3px solid #b00000;

    position: relative;
    padding: 4px 6px;
}

.button-main-3 {
    background: #ffffff1c;
    filter: blur(1px);
}

.button-main-text {
    display: inline-flex;

    /*display: none;*/


    justify-content: center;
    align-items: center;
    font-size: 72px;
    text-transform: uppercase;
    color: #fff;
    -webkit-text-stroke: 4px #003F5F;
    text-stroke: 4px #003F5F;
    font-weight: 900;
    letter-spacing: -6px;

    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 1;
    left: 0;
    top: 0;
}

.button-main:hover .button-main-2 {

    box-shadow: inset 0 8px 0 0 #FFEACD, inset 0 -7px 0 0 rgba(0, 0, 0, 0.45), 0 10px 14px 0 rgba(163, 48, 36, 0.53);
    background: radial-gradient(136.2% 136.2% at 50.06% 19.91%, #fad226 0%, #fff 100%);
}

@media screen and (max-width: 1199px) {

    .button-main--outer {
        max-width: 280px;
    }

    .button-main,
    .button-main-1 {
        padding: 5px;
    }

    .button-main-1,
    .button-main-2 {
        border-width: 2px;
    }

    .button-main-text {
        font-size: 36px;
        -webkit-text-stroke: 2px #003F5F;
        text-stroke: 2px #003F5F;
        letter-spacing: -2px;
    }
}

.video-block {
    margin-top: 30px;
    padding: 35px 67px 50px 30px;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.video-block--title {
    font-size: 40px;
    line-height: 1;
}

.video-block--text {
    margin-top: 20px;
    text-wrap-style: balance;
    font-size: 17px;
    letter-spacing: -0.05em;
    line-height: 1.4;
}

.video-item {
    position: relative;
    width: auto;
    height: 100%;
    background-color: black;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-20);
    aspect-ratio: 385 / 226;
    max-width: 100%;
    margin: 0;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2A2A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.youtube-icon {
    width: 80px;
    height: 80px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.youtube-icon:hover {
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    height: 100%;
    display: none;
}

#video .rt-tooltip {
    position: absolute;
    right: 0;
    bottom: -65%;
}

#video .balloon::after {
    top: unset;
    bottom: -60%;
    left: -31%;
}

.person-image {
    width: 150px;
    height: auto;
}


@media screen and (max-width: 1199px) {
    .news-list {
        margin-top: 15px;
    }

    .video-block {
        margin-top: 0;
        padding: 0 45px 20px;
        border-radius: 10px;
    }

    #video .video-block .sect--title {
        text-align: center;
        box-shadow: none;
        margin: 0;
    }

    .video-item {
        min-height: 110px;
    }

    .video-block--text {
        font-size: 10px;
        margin-top: 16px;
        line-height: 1.85;
        text-align: justify;
    }

    .youtube-icon {
        width: 37px;
        height: 26px;
    }

    #video .rt-tooltip {
        z-index: 10;
        bottom: 29%;
    }

    #video .rt-tooltip img {
        width: 50px;
        height: auto;
    }

    #video .custom-tooltip {
        font-size: 8px;
        width: 100px;
        padding: 12px 10px 5px;
    }

    #video .custom-tooltip.align-right {
        right: 5px;
    }

    #video .custom-tooltip.align-right .tooltip-close {
        left: auto;
        right: 8px;
    }

    .video-item {
        margin: 0;
        border-radius: 5px;
    }
}