/* Custom styles */
body {
    padding-bottom: 70px;
    background: url('./image/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #FFFFFF; /* Установите цвет текста на белый */
}

.navbar {
    background: linear-gradient(45deg, #9e8083, #ff69b4, #ffb6c1, #9e8083);
    background-size: 400% 400%;
    padding: 20px 0;
    opacity: 0.7; /* Увеличили прозрачность с 0.9 до 0.7 */
    animation: gradientBG 15s ease infinite;
}

.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: bold;
}

.navbar-brand img {
    width: 150px; /* Increase logo size */
    height: 150px; /* Increase logo size */
    border-radius: 50%; /* Make the image rounded */
    margin-right: 10px;
    margin-left: -20px; /* Move logo further to the left */
}

/* Styles for PinkParadise text */
.navbar-brand {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem; /* Further increased font size */
    color: #FFFFFF !important; /* White color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1 !important; /* Непрозрачный текст */
    animation: none;
}

/* Styles for navbar icons */
.nav-link img {
    border-radius: 50%; /* Make the icons rounded */
    margin-left: 20px; /* Increase space between icons */
    transition: transform 0.3s ease;
}

.nav-link img:hover {
    transform: scale(1.2) rotate(360deg);
}

.navbar-nav .nav-item a[href*="twitter"] img {
    opacity: 1 !important;
    filter: none !important;
}

#model-container {
    width: 100%;
    height: 500px; /* Установите нужную высоту */
}

.card {
    position: absolute;
    top: 60%; /* Изменено с 50% на 60% */
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #9e8083, #ff69b4, #ffb6c1, #9e8083);
    background-size: 400% 400%;
    opacity: 0.7; /* Увеличили прозрачность с 0.9 до 0.7 */
    animation: 
        gradientBG 15s ease infinite,
        floatingCard 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px; /* Увеличенный padding */
    border-radius: 10px;
    width: 80%; /* Увеличенная ширина */
    max-width: 600px; /* Максимальная ширина */
    transition: top 0.3s ease; /* Добавляем плавную анимацию */
}

.card-title {
    font-family: 'Pacifico', cursive;
    color: #FFFFFF;
    font-size: 2rem; /* Увеличенный размер шрифта */
    opacity: 1 !important; /* Непрозрачный текст */
}

.form-control {
    margin-top: 20px;
    font-size: 1.2rem; /* Увеличенный размер шрифта */
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #9e8083, #ff69b4, #ffb6c1, #9e8083);
    background-size: 400% 400%;
    opacity: 0.7;
    animation: gradientBG 15s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.form-control:hover, .form-control:focus {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    opacity: 0.9;
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background-color: #FFADB2FF;
    border: none;
}

/* Установите цвет текста на белый для всех элементов */
* {
    color: #FFFFFF !important;
}

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

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

@keyframes floatingCard {
    0% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -52%); }
    100% { transform: translate(-50%, -50%); }
}

/* Удаляем старую анимацию glowing */

/* Стили для гамбургер-меню */
.navbar-toggler {
    border: 2px solid #fff;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link-text {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .card {
        width: 95%;
        padding: 20px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .form-control {
        font-size: 1rem;
    }

    .nav-link img {
        width: 25px;
        height: 25px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .card {
        padding: 15px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .form-control {
        font-size: 0.9rem;
    }
}

/* Добавляем адаптивность для очень маленьких экранов */
@media (max-width: 320px) {
    .navbar {
        padding: 10px 0;
    }

    .card {
        padding: 10px;
    }

    .nav-link img {
        width: 20px;
        height: 20px;
        margin-left: 5px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(45deg, #9e8083, #ff69b4);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        z-index: 1000; /* Добавляем z-index чтобы меню было поверх карточки */
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .nav-link-text {
        display: inline-block;
        margin-left: 10px;
        color: white;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
    }

    .card {
        top: 70%; /* На мобильных устройствах опускаем еще ниже */
    }
}

