body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #d4a5ff 0%, #ffccbc 25%, #a8e6cf 50%, #b3e5fc 75%, #d4a5ff 100%);
    background-size: 200% 200%;
    animation: gradient 25s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.language-selector select {
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:focus {
    outline: none;
    border-color: #007bff;
}

.language-selector select option {
    background: #333;
    color: #fff;
}

.back-btn {
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

main {
    width: 100%;
    max-width: 95vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
    padding: 100px 20px 20px 20px;
}

.language-window {
    background: rgba(30, 30, 70, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 600px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.language-window.mihail {
    height: auto;
    min-height: 200px;
    flex-direction: row;
    justify-content: space-between;
}

.language-window.mihail .background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/img/aboutusfrance.jpg') no-repeat center/cover;
    border-radius: 12px;
    opacity: 0.5;
    z-index: 0;
}

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

.creator-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.inner-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 55%;
    height: auto;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

p {
    font-size: 14px;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
        align-items: center;
    }
    .language-window {
        width: 90vw;
        height: auto;
        flex-direction: column;
    }
    .language-window.mihail {
        flex-direction: column;
        height: auto;
    }
    .background-container, .inner-content {
        width: 100%;
    }
    .creator-photo {
        width: 80px;
        height: 80px;
    }
}