@font-face {
    font-family: 'Windings';
    src: url('fonts/Wingdings.ttf') format('truetype');
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: black;
    font-family: Arial, sans-serif;
    color: white;
}

.background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square {
    width: 300px; /* Уменьшим ширину */
    height: auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 1s ease-in-out; /* Анимация при загрузке */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.square h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.info {
    font-size: 1em;
    line-height: 1.6;
}

.info p {
    margin: 10px 0;
}

.info a {
    color: #00a8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #0077cc;
}

.info ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.info ul li {
    margin: 5px 0;
}

@keyframes fall {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(100vh);
    }
}

@keyframes fadeOut {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 0;
    }
}

.falling-char {
    position: absolute;
    color: white;
    font-size: 1.5em;
    animation: fall linear forwards;
    font-family: 'Windings', sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

.phantom {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5em;
    pointer-events: none;
    font-family: 'Windings', sans-serif;
    animation: fadeOut 2s linear forwards;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}