@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
a {
    text-decoration: none;
}

html, body {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    background: #C41923;
    font-size: .73vw;
}

.snowflake {
    --size: 1vw;
    width: var(--size);
    height: var(--size);
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -5vh;
}

@keyframes snowfall {
    0% {
        transform: translate3d(var(--left-ini), 0, 0);
    }
    100% {
        transform: translate3d(var(--left-end), 110vh, 0);
    }
}
.snowflake:nth-child(1) {
    --size: 0.2vw;
    --left-ini: 6vw;
    --left-end: 0vw;
    left: 91vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(2) {
    --size: 0.8vw;
    --left-ini: -9vw;
    --left-end: -5vw;
    left: 55vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -8s;
}

.snowflake:nth-child(3) {
    --size: 1vw;
    --left-ini: -3vw;
    --left-end: -7vw;
    left: 30vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(4) {
    --size: 0.8vw;
    --left-ini: 8vw;
    --left-end: 8vw;
    left: 73vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -1s;
}

.snowflake:nth-child(5) {
    --size: 0.2vw;
    --left-ini: 2vw;
    --left-end: 3vw;
    left: 100vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -8s;
}

.snowflake:nth-child(6) {
    --size: 0.2vw;
    --left-ini: 0vw;
    --left-end: -6vw;
    left: 81vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -6s;
}

.snowflake:nth-child(7) {
    --size: 0.8vw;
    --left-ini: 7vw;
    --left-end: -9vw;
    left: 47vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(8) {
    --size: 0.4vw;
    --left-ini: -4vw;
    --left-end: -3vw;
    left: 15vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -1s;
}

.snowflake:nth-child(9) {
    --size: 0.6vw;
    --left-ini: -9vw;
    --left-end: 4vw;
    left: 91vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -7s;
}

.snowflake:nth-child(10) {
    --size: 0.4vw;
    --left-ini: -9vw;
    --left-end: 9vw;
    left: 64vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(11) {
    --size: 0.4vw;
    --left-ini: 1vw;
    --left-end: 5vw;
    left: 87vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -7s;
}

.snowflake:nth-child(12) {
    --size: 0.6vw;
    --left-ini: 10vw;
    --left-end: 6vw;
    left: 41vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(13) {
    --size: 1vw;
    --left-ini: 1vw;
    --left-end: -5vw;
    left: 85vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -6s;
}

.snowflake:nth-child(14) {
    --size: 1vw;
    --left-ini: 6vw;
    --left-end: -6vw;
    left: 80vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(15) {
    --size: 0.8vw;
    --left-ini: 10vw;
    --left-end: 8vw;
    left: 36vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(16) {
    --size: 1vw;
    --left-ini: 6vw;
    --left-end: 3vw;
    left: 24vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(17) {
    --size: 0.6vw;
    --left-ini: -5vw;
    --left-end: 7vw;
    left: 93vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(18) {
    --size: 1vw;
    --left-ini: -5vw;
    --left-end: 9vw;
    left: 42vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(19) {
    --size: 0.6vw;
    --left-ini: 9vw;
    --left-end: 8vw;
    left: 14vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -8s;
}

.snowflake:nth-child(20) {
    --size: 0.2vw;
    --left-ini: -2vw;
    --left-end: 1vw;
    left: 76vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(21) {
    --size: 0.6vw;
    --left-ini: -5vw;
    --left-end: 8vw;
    left: 62vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -10s;
}

.snowflake:nth-child(22) {
    --size: 0.8vw;
    --left-ini: 8vw;
    --left-end: 7vw;
    left: 71vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(23) {
    --size: 0.6vw;
    --left-ini: -5vw;
    --left-end: -6vw;
    left: 91vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -2s;
}

.snowflake:nth-child(24) {
    --size: 0.8vw;
    --left-ini: -5vw;
    --left-end: 10vw;
    left: 38vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(25) {
    --size: 1vw;
    --left-ini: 3vw;
    --left-end: -9vw;
    left: 68vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(26) {
    --size: 0.4vw;
    --left-ini: -7vw;
    --left-end: -4vw;
    left: 93vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(27) {
    --size: 0.8vw;
    --left-ini: -5vw;
    --left-end: -8vw;
    left: 32vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(28) {
    --size: 0.2vw;
    --left-ini: 2vw;
    --left-end: -6vw;
    left: 57vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -1s;
}

.snowflake:nth-child(29) {
    --size: 0.6vw;
    --left-ini: -9vw;
    --left-end: 3vw;
    left: 40vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(30) {
    --size: 0.6vw;
    --left-ini: -5vw;
    --left-end: 8vw;
    left: 39vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(31) {
    --size: 1vw;
    --left-ini: -8vw;
    --left-end: -3vw;
    left: 8vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(32) {
    --size: 0.2vw;
    --left-ini: 3vw;
    --left-end: 4vw;
    left: 15vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -10s;
}

.snowflake:nth-child(33) {
    --size: 1vw;
    --left-ini: -1vw;
    --left-end: -7vw;
    left: 39vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -2s;
}

.snowflake:nth-child(34) {
    --size: 0.4vw;
    --left-ini: 8vw;
    --left-end: -5vw;
    left: 100vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -6s;
}

.snowflake:nth-child(35) {
    --size: 1vw;
    --left-ini: 10vw;
    --left-end: -7vw;
    left: 96vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(36) {
    --size: 0.8vw;
    --left-ini: -7vw;
    --left-end: 1vw;
    left: 67vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(37) {
    --size: 0.4vw;
    --left-ini: -5vw;
    --left-end: -2vw;
    left: 58vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -2s;
}

.snowflake:nth-child(38) {
    --size: 1vw;
    --left-ini: -8vw;
    --left-end: 6vw;
    left: 56vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -10s;
}

.snowflake:nth-child(39) {
    --size: 0.4vw;
    --left-ini: -3vw;
    --left-end: -9vw;
    left: 61vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -7s;
}

.snowflake:nth-child(40) {
    --size: 0.4vw;
    --left-ini: -2vw;
    --left-end: -8vw;
    left: 21vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(41) {
    --size: 0.8vw;
    --left-ini: -2vw;
    --left-end: -8vw;
    left: 47vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -8s;
}

.snowflake:nth-child(42) {
    --size: 0.8vw;
    --left-ini: -8vw;
    --left-end: -3vw;
    left: 45vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(43) {
    --size: 0.6vw;
    --left-ini: 2vw;
    --left-end: 1vw;
    left: 22vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -9s;
}

.snowflake:nth-child(44) {
    --size: 0.8vw;
    --left-ini: -9vw;
    --left-end: 9vw;
    left: 37vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(45) {
    --size: 0.6vw;
    --left-ini: 4vw;
    --left-end: -9vw;
    left: 100vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -4s;
}

.snowflake:nth-child(46) {
    --size: 0.8vw;
    --left-ini: -9vw;
    --left-end: 5vw;
    left: 10vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -1s;
}

.snowflake:nth-child(47) {
    --size: 0.6vw;
    --left-ini: 6vw;
    --left-end: 8vw;
    left: 22vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -8s;
}

.snowflake:nth-child(48) {
    --size: 0.8vw;
    --left-ini: -3vw;
    --left-end: -8vw;
    left: 25vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -7s;
}

.snowflake:nth-child(49) {
    --size: 0.2vw;
    --left-ini: 5vw;
    --left-end: 2vw;
    left: 25vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -3s;
}

.snowflake:nth-child(50) {
    --size: 0.8vw;
    --left-ini: 9vw;
    --left-end: 7vw;
    left: 52vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -5s;
}

.snowflake:nth-child(6n) {
    filter: blur(1px);
}

.main_container {
    background-image: url(/rcg-ny/img/Screen00.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    transition: 2s;
}

.rcg_logo {
    width: 14em;
    height: 14em;
    position: absolute;
    left: 60%;
    top: 10em;
    z-index: 2;
    cursor: pointer;
}

.pryanya {
    width: 5em;
    top: 13em;
    height: 5em;
    position: absolute;
    left: 64%;
    z-index: 1;
}

.pryanya_show {
    animation: pryanya_anim 1s ease-in-out, pryanya_anim_wave 2s ease-in-out infinite;
    top: 9em;
    height: 7em;
}

@keyframes pryanya_anim {
    0% {
        top: 13em;
        height: 5em;
    }
    100% {
        top: 9em;
        height: 7em;
    }
}
@keyframes pryanya_anim_wave {
    0% {
        rotate: -5deg;
    }
    50% {
        rotate: 5deg;
    }
    100% {
        rotate: -5deg;
    }
}
.logo_svg {
    margin-top: 3.5em;
    margin-left: 20%;
}

.text {
    display: none;
    width: 14em;
    height: 8em;
    margin-left: 19.5%;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: white;
    font-size: 1.9em;
}

.text:after {
    content: "";
    background-image: url(/rcg-ny/img/emoji_hmm.png);
    background-repeat: no-repeat;
    background-size: 1.15em;
    width: 2em;
    height: 2em;
    position: absolute;
    margin-left: 0.4em;
}

.text_second {
    display: none;
    width: 14em;
    height: 8em;
    margin-left: 19.5%;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: white;
    font-size: 1.9em;
}

.text_second:after {
    content: "";
    background-image: url(/rcg-ny/img/emoji_stars.png);
    background-repeat: no-repeat;
    background-size: 1.15em;
    width: 2em;
    height: 2em;
    position: absolute;
    margin-left: 0.4em;
}

.bubble_container {
    width: 20em;
    height: 20em;
    top: 20em;
    right: 32%;
    position: absolute;
    z-index: 3;
    opacity: 0;
}
.bubble_container .bubble {
    rotate: 70deg;
    width: inherit;
}
.bubble_container .bubble_text {
    position: absolute;
    top: 2.2em;
    left: 1.8em;
    font-family: "Inter", sans-serif;
    font-size: 1.3em;
    font-style: italic;
    font-weight: 400;
    line-height: 1.3em;
    text-align: center;
}
.bubble_container .bubble_text:after {
    content: "";
    background-image: url(/rcg-ny/img/emoji.png);
    background-repeat: no-repeat;
    background-size: 2em;
    width: 2em;
    height: 2em;
    position: absolute;
    margin-left: -0.6em;
    left: 50%;
}
.bubble_container .bubble_text.fail_text:after {
    content: '';
    background-image: url(/rcg-ny/img/emoji.png);
    background-repeat: no-repeat;
    background-size: 2em;
    width: 2em;
    height: 2em;
    position: absolute;
    margin-left: -1.5em;
    left: 50%;
}
.bubble_container .bubble_text_second {
    position: absolute;
    top: 2.6em;
    left: 0em;
    font-family: "Inter", sans-serif;
    font-size: 2em;
    font-style: italic;
    font-weight: 400;
    line-height: 1.3em;
    width: 10em;
    text-align: center;
    font-style: italic;
}
.bubble_container .bubble_text_second span {
    font-size: 1.5em;
    font-weight: 800;
    color: #C41923;
    font-style: normal;
}
.bubble_container .bubble_text_second::after {
    content: none;
}
.bubble_container .bubble_text_third {
    position: absolute;
    top: 2.6em;
    left: 2em;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-style: italic;
    font-weight: 400;
    line-height: 1.3em;
    width: 12em;
    text-align: center;
}
.bubble_container .bubble_text_third::after {
    content: none;
}

.bubble_container_third {
    position: absolute;
    right: 52%;
    top: 30em !important;
}
.bubble_container_third .bubble {
    rotate: 185deg !important;
}

button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 1.1em;
    color: #C41923;
    height: 3em;
    border-radius: 2em;
    border: none;
    width: 16em;
    cursor: pointer;
    transition: .25s;
}
button:hover {
    transform: scale(.95);
    filter: drop-shadow(0px 0px 0.5em #fff);
}


.first_button {
    position: absolute;
    bottom: 5em;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

.second_button {
    display: none;
    position: absolute;
    top: 22em;
    left: 24em;
}

.third_button {
    display: none;
    position: absolute;
    top: 42em;
    left: 32em;
}

.last_button {
    display: none;
    position: absolute;
    bottom: 5em;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

.title {
    margin-left: 19.5%;
    font-family: "Montserrat", sans-serif;
    font-size: 7em;
    font-weight: 900;
    line-height: 1em;
    width: 6em;
    color: white;
    margin-top: 0em;
    animation: fadeIn 2s;
}
.title span {
    color: #DE2B35;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
    color: white;
    font-family: "Inter", sans-serif;
}
.footer a {
    color: white;
    margin-left: 42em;
}
.footer a:visited {
    color: white;
}

.popup_bg {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: #1D0000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.popup_bg .popup {
    background-image: url(/rcg-ny/img/popup_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width:  57vw;
    height: 37vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    pointer-events: none;
    position: relative;
    border-radius: 4em;
}
.popup_bg .popup .popup_close {
    width: 8em;
    position: absolute;
    top: 0em;
    right: 0em;
    cursor: pointer;
}
.popup_bg .popup .popup_title {
    width: 80%;
    font-size: 4em;
    font-weight: 700;
    text-align: center;
    margin: 0;
    margin-top: 5em;
    text-transform: uppercase;
}
.popup_bg .popup .popup_text {
    font-size: 1.3em;
    padding-left: 6em;
    font-weight: 400;
    padding-right: 6em;
    margin: 0;
    margin-top: 1em;
    text-align: center;
}

@media (max-height: 800px) {
    body {
        font-size: .73vw;
    }
    button {
        font-size: 1.5em;
    }
    .second_button {
        top: auto;
        left: 20vw;
    }
    .third_button {
        top: auto;
        bottom: 26vh;
        left: 24vw;
    }
}
@media screen and (min-aspect-ratio: 4/3) {
    .bubble_container {
        top: 34vh;
    }
}
@media (orientation: portrait) {
    body {
        font-size: 8px;
    }
    .main_container {
        background-image: url(/rcg-ny/img/Screen00_mobile.png);
    }
    .title {
        margin-left: 6.5%;
    }
    .logo_svg {
        margin-left: 7%;
    }
    .bubble_container {
        top:47vh !important;
        right: 54% !important;
    }
    .bubble_container .bubble {
        rotate: 180deg !important;
    }
    .footer img {
        width: 2.5em;
    }
    .footer a {
        margin-left: 10em;
    }
    button {
        font-size: 1.6em;
    }
    .first_button, .last_button, .second_button, .third_button {
        position: absolute;
        top: auto;
        bottom: 6em;
        left: 0;
        right: 0;
        margin-right: auto;
        margin-left: auto;
    }
    .rcg_logo {
        width: 16em;
        height: 16em;
        right: 2em;
        left: auto;
        top: 28em;
    }
    .pryanya {
        width: 5em;
        top: 33em;
        height: 5em;
        right: 7.4em;
        left: auto;
    }
    .pryanya_show_mobile {
        animation: pryanya_anim 1s ease-in-out, pryanya_anim_wave 2s ease-in-out infinite;
        top: 28em;
        height: 7em;
    }
    @keyframes pryanya_anim {
        0% {
            top: 33em;
            height: 5em;
        }
        100% {
            top: 28em;
            height: 7em;
        }
    }
    .text {
        margin-left: 6.5%;
    }
    .text_second {
        margin-left: 6.5%;
    }
    .popup_bg .popup {
        background-image: url(/rcg-ny/img/popup_bg_mobile.png);
        width: 90vw;
        height: 90vh;
        height: 90dvh;
        border-radius: 4em;
        background-size: cover;
        background-position: center 0;
    }
    .popup_bg .popup .popup_title {
        width: 80%;
        font-size: 3.5em;
        margin-top: 8vh;
    }
    .popup_bg .popup .popup_close {
        top: 1em !important;
        right: 1em !important;
    }
    .popup_bg .popup .popup_text {
        font-size: 2.5em;
        padding-left: 2em;
        padding-right: 2em;
    }
}


@media (max-width: 800px) {
    body {
        font-size: 1.7vw;
    }
    .popup_bg .popup .popup_title {
        margin-top: 36vh;
    }
    .popup_bg .popup .popup_close {
        top: 12vh;
        right: 2vh;
    }
    .popup_bg .popup .popup_text {
        font-size: 2em;
        padding-left: 10vw;
        padding-right: 10vw;
    }
}


@media (max-width: 380px) {
    body {
        font-size: 6px;
    }
    .popup_bg .popup .popup_close {
        top: 10vh;
        right: 6vh;
    }
}
