* {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        body {
            font-family: 'Times New Roman', Sans-serif;
            color: white;
            text-shadow: 3px 3px 6px black;
            min-height: 100vh;
            background-image: url('fon 2.webp');
            background-size: cover;
            background-attachment:fixed;
            background-position: center;
            position: relative;

        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 0;
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 1000px;
            margin: 20px auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
            align-items: flex-start;
            min-height: 100vh;
        }

        .block {
            background: rgba(0,0,0,0.7);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            width: 70%;
            transition: all 0.3s ease;
        }

        .block:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
        }

        .block:nth-child(odd) {
            align-self: flex-start;
            margin-right: auto;
        }

        .block:nth-child(even) {
            align-self: flex-end;
            margin-left: auto;
        }

        h2 {
            font-size: 30px;
            margin-bottom: 15px;
            color: white;
        }

        h3 {
            font-size: 22px;
            margin: 15px 0 10px;
            color: white;
        }

        .block-description {
            font-size: 18px;
            line-height: 1.6;
            margin-top: 18px;
        }

        .developer-title {
            font-size: 22px;
            color: #83d3cd;
            font-weight: 500;
        }

        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 5%;
            object-fit: cover;
            border: 2px solid rgba(108, 107, 107, 0.3);
            margin-bottom: 15px;
        }

        .work-item {
            display: flex;
            gap: 15px;
            margin: 15px 0;
            align-items: center;
        }

        .work-icon {
            font-size: 35px;
        }

        .btn {
            display: inline-block;
            padding: 10px 20px;
            color: white;
            text-decoration: none;
            border-radius: 20px;
            margin: 5px 5px 0 0;
            transition: all 0.3s;
        }

        .btn:hover {
            background: rgba(93, 79, 79, 0.3);
            transform: scale(1.05);
        }

        ul {
            list-style: none;
        }

        .info-list {
            list-style: none;
            font-size: 22px;
            line-height: 2.2;
        }

        .info-list li {
            margin-bottom: 10px;
            font-weight: 500;
        }

        .info-list li span {
            color: #83d3cd;
            font-size: 24px;
            font-weight: bold;
            margin-right: 8px;
        }

        a {
            color: #83d3cd;
            text-decoration: none;
            transition: all 0.3s ease;
            border-bottom: 1px solid transparent;
        }

        a:hover {
            color: #b3f3ed;
            border-bottom: 1px solid #83d3cd;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: rgba(131, 211, 205, 0.2);
            transform: translateY(-3px);
        }

        .additional-list {
            line-height: 2;
            font-size: 18px;
        }

        @media (max-width: 768px) {
            .container {
                margin: 10px;
            }

            .block {
                width: 100%;
                align-self: center;
                margin: 0;
            }

            .block:nth-child(odd),
            .block:nth-child(even) {
                border-right: none;
            }

            .social-links {
                gap: 10px;
            }

            .social-link {
                padding: 6px 12px;
                font-size: 14px;
            }

            .info-list {
                font-size: 18px;
            }

            .info-list li span {
                font-size: 20px;
            }

            .block-description {
                font-size: 16px;
            }

            .developer-title {
                font-size: 20px;
            }

            .additional-list {
                font-size: 16px;
            }
        }

.translate-wrapper {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    font-family: 'Times New Roman', Sans-serif;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border: 2px solid rgba(131, 211, 205, 0.4);
    padding: 12px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Times New Roman', Sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.translate-btn:hover {
    background: rgba(131, 211, 205, 0.15);
    border-color: rgba(131, 211, 205, 0.8);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 40px rgba(131, 211, 205, 0.25);
}

.translate-btn:active {
    transform: scale(0.95);
}

.translate-btn .icon {
    font-size: 20px;
    line-height: 1;
}

.translate-btn .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.translate-btn .arrow.open {
    transform: rotate(180deg);
}

.translate-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(131, 211, 205, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

.translate-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.translate-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-family: 'Times New Roman', Sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.translate-dropdown button:hover {
    background: rgba(131, 211, 205, 0.15);
    color: #83d3cd;
    transform: translateX(4px);
}

.translate-dropdown button .flag {
    font-size: 22px;
    line-height: 1;
    width: 30px;
    text-align: center;
}

.translate-dropdown button .lang-name {
    flex: 1;
}

.translate-dropdown button .lang-code {
    font-size: 12px;
    opacity: 0.4;
    font-weight: 300;
    letter-spacing: 1px;
}

.translate-dropdown button.active-lang {
    background: rgba(131, 211, 205, 0.1);
    color: #83d3cd;
}

.translate-dropdown button.active-lang::after {
    content: '✓';
    margin-left: auto;
    color: #83d3cd;
    font-size: 16px;
}

.translate-dropdown .divider {
    height: 1px;
    margin: 6px 12px;
    background: linear-gradient(to right, transparent, rgba(131, 211, 205, 0.2), transparent);
}

.translate-dropdown .menu-label {
    padding: 6px 16px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(131, 211, 205, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(131, 211, 205, 0.2);
    }
}

.translate-dropdown.active {
    animation: pulse-glow 2s ease-in-out;
}

@media (max-width: 768px) {
    .translate-wrapper {
        top: 15px;
        right: 15px;
    }

    .translate-btn {
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }

    .translate-btn .icon {
        font-size: 18px;
    }

    .translate-btn .btn-text {
        display: none;
    }

    .translate-dropdown {
        min-width: 180px;
        top: calc(100% + 10px);
        padding: 6px;
    }

    .translate-dropdown button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .translate-dropdown button .flag {
        font-size: 18px;
        width: 24px;
    }
}

@media (max-width: 400px) {
    .translate-wrapper {
        top: 10px;
        right: 10px;
    }

    .translate-btn {
        padding: 8px 12px;
        border-radius: 40px;
    }

    .translate-btn .icon {
        font-size: 16px;
    }

    .translate-dropdown {
        min-width: 150px;
        right: -5px;
    }
}