body {
    /*background: linear-gradient(to bottom, #00d9ff, #d900ff);*/
    background-color: #000000;
    font-family: Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}
::-webkit-scrollbar {
    /*width: 0;*/
    display: none;
}

.snowflake {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

#download-button {
    display: none; /* Кнопка скрыта по умолчанию */
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #4caf50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#download-button:hover {
    background-color: #45a049;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    animation: particleMove 1s ease-out forwards;
}
@keyframes particleMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-100px + 200px * var(--x)), calc(-100px + 200px * var(--y))) scale(0.5);
        opacity: 0;
    }
}

@font-face {
    font-family: 'Font1';
    src: url('../fonts/font9.ttf');
}

@font-face {
    font-family: 'Font2';
    src: url('../fonts/font8.ttf');
}

figcaption {
    font-family: 'Font2';
    /*font-weight: 700;*/
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    width: 100px;
}

text_welcome {
    font-family: 'Font1';
    font-size: 50px;
    margin-top: 50px;
    color: #FF0855;
    font-weight: 700;
}

text_welcome2 {
    font-family: 'Font1';
    font-size: 20px;
    margin-top: 50px;
    font-weight: 700;
    color: #FF0855;
}

text_welcome3 {
    font-family: 'Font1';
    font-size: 20px;
    margin-top: 70px;
    font-weight: 700;
}

text_welcome4 {
    font-family: 'Font1';
    font-size: 17px;
    margin-top: 50px;
    font-weight: 700;
    color: #FF0855;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/space2.png');
    /*background-image: url('/Images/snow_back.jpg');*/
    /*background-image: url('/Images/back3.png');*/
    background-repeat: repeat;
    background-position: center center;
    /*background-size: cover;*/
    opacity: 0.5;
    animation: moveBackground 20s linear infinite;
}
@keyframes moveBackground {
    0% {
    background-position: 0 0;
    }
    100% {
    background-position: 0px 641px;
    }
}


.container {
    text-align: center;
    max-width: 1024px;
    width: 100%;
    margin-top: 20px;
}

header, main, footer {
    margin-bottom: 20px;
}

.logo {
    width: 100%;
    max-width: 558px;
    margin: 10px auto;
}

.footer-text {
    color: white;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    margin-top: 80px;
    margin-bottom: -10px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.social-icons img {
    gap: 10px;
    width: 50px;
    transition: transform 0.1s ease;
}

.social-icons a img:hover {
    transform: scale(1.4);
}

.main-logo {
    width: 100%;
    max-width: 40%;
    max-height: 40%;
    margin: 5px auto;
}

iframe {
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures the iframe maintains 16:9 ratio */
}

.store-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin: 20px 0;
    margin-bottom: 80px;
}

.store-links img {
    width: 100px;
    height: auto;
    transition: transform 0.1s ease;
}

.store-links a img:hover {
    transform: scale(1.1);
}

.store-links2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    margin-bottom: 80px;
}

.store-links2 img {
    width: 100px;
    height: auto;
    transition: transform 0.1s ease;
}

.store-links2 a img:hover {
    transform: scale(1.1);
}

.contact {
    margin-bottom: -60px;
}

.contact a img {
    max-width: 20%;
    /*max-height: 20%;*/
    transition: transform 0.1s ease;
}

.contact a img:hover {
    transform: scale(1.1);
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
    margin-top: 150px;
    flex-wrap: wrap;
}

.contact-icon {
    height: 80px;
}

.contact-letter {
    height: 40px;
}

.video-policy {
    margin-top: 10px;
}

a {
    text-decoration: none;
    color: white;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Позиция сверху */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}



@media (max-width: 768px) {
    /*.background {*/
    /*background-image: url('/Images/snow_back.jpg');*/
    /*}*/
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    text_welcome {
    font-size: 30px;
    }
    
    text_welcome2 {
    font-size: 15px;
    }
    
    text_welcome4 {
    font-size: 10px;
    }
    
    .logo {
        max-width: 90%;
    }
    
    .main-logo {
        max-width: 70%;
        /*max-height: 50%;*/
    }

    .social-icons {
        flex-direction: row;
        gap: 10px;
    }

    .social-icons img {
        width: 40px;
    }
    
    .social-icons a img {
        transition: transform 0.1s ease;
    }

    .store-links {
        flex-direction: row;
        gap: 20px;
    }

    .store-links img {
        max-width: 100px;
    }
    
    .store-links2 {
        flex-direction: row;
        gap: 5px;
    }

    .store-links2 img {
        max-width: 80px;
    }

    .contact {
    margin-top: 100px;
    margin-bottom: -60px;
    }

    .contact a img {
    max-width: 30%;
    max-height: 30%;
    }

    .contact-info {
        flex-direction: row;
        gap: 10px;
        margin-top: 50px;
    }

    .contact-icon {
        height: 70px;
    }

    .contact-letter {
        height: 40px;
    }
}