@font-face {
    font-family: 'SF Pro Text';
    src: url('') format('woff');
    font-weight: 600;
}

body {
    margin: 0;
    padding: 0;
    overflow: visible; /* Убедитесь, что элементы не обрезаются */
    background-color: #010103;
    font-family: 'SF Pro Text', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comet {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}

.container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    background: #000; /* Black background */
    border: 1px solid #111; /* Thinner gray border */
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    text-align: left;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    user-select: none;
    z-index: 10; /* Убедитесь, что элемент поверх других */
}

.container:hover {
    transform: translateX(-50%) scale(1.05);
}

.container img {
    float: left;
    margin-right: 20px;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 30px; /* More rounded corners for the image */
    user-select: none;
    pointer-events: none;
}

.container h1 {
    font-weight: 600; /* Semi Bold */
    font-size: 2em; /* Increase text size */
}

.container p {
    color: #ccc;
    font-size: 1.2em; /* Increase text size */
}

.projects-container {
    position: absolute;
    top: 42%; /* Slightly lower */
    left: 50%;
    transform: translateX(-50%);
    width: 6%; /* Reduce width */
    background-color: #1a1a1a;
    border-radius: 30px; /* More rounded corners */
    padding: 15px;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    user-select: none;
    z-index: 10; /* Убедитесь, что элемент поверх других */
}

.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #ccc; /* Grey color for the footer text */
}

.hidden {
            display: none;
        }

.social-icons {
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    position: fixed; /* Фиксированное положение */
    top: 10px; /* Расположение в самом верху страницы */
    left: 65%; /* Смещение немного вправо */
    transform: translateX(-50%); /* Смещение для точного центрирования */
    z-index: 1000; /* Поверх других элементов */
}

.social-icons .icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none; /* Убираем обводку */
    border-radius: 50%; /* Круглая форма (если нужно оставить) */
    color: #fff; /* Цвет иконки */
    font-size: 1.5rem; /* Размер иконки */
    text-decoration: none; /* Убираем подчеркивание */
    transition: all 0.3s ease;
}

.social-icons .icon:hover {
    transform: scale(1.2); /* Увеличение при наведении */
    background: none; /* Убираем фон при наведении */
    color: #000; /* Цвет иконки при наведении */
}

.social-icons .icon.github:hover {
    color: #333; /* Цвет для GitHub */
}

.social-icons .icon.telegram:hover {
    color: #0088cc; /* Цвет для Telegram */
}

.social-icons .icon.discord:hover {
    color: #5865f2; /* Цвет для Discord */
}

.social-icons .icon.email:hover {
    color: #ff0202; /* Цвет для Email */
}

.social-icons .icon.code {
    margin-left: 0; /* Убираем отступ */
}

.social-icons .icon.code:hover {
    color: #333; /* Цвет для HTML-кода при наведении */
}

.icon-code {
    position: fixed; /* Фиксированное положение */
    top: 10px; /* Расположение в верхнем левом углу */
    left: 540px; /* Смещение от левого края */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none; /* Убираем обводку */
    border-radius: 50%; /* Круглая форма */
    color: #fff; /* Цвет иконки */
    font-size: 1.5rem; /* Размер иконки */
    text-decoration: none; /* Убираем подчеркивание */
    background: none; /* Убираем фон */
    transition: all 0.3s ease;
    z-index: 1000; /* Поверх других элементов */
}

.icon-code:hover {
    transform: scale(1.2); /* Увеличение при наведении */
    color: #333; /* Цвет при наведении */
}

/* Responsive design */
       @media (max-width: 1024px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
    }

    .lang-button,
    .container,
    .projects-container,
    .small-container,
    .small-container-2,
    .button-container,
    .footer,
    .social-icons, /* Скрываем блок с иконками */
    .icon-code, /* Скрываем иконку HTML (</>) */
    .social-icons .icon { /* Скрываем отдельные иконки */
        display: none;
    }

    .mobile-message {
        display: block;
        color: #fff;
        font-size: 1.5em;
        padding: 20px;
        background-color: #0d0d0d;
        border-radius: 15px;
    }
}

