@tailwind base;
@tailwind components;
@tailwind utilities;



h1, h2, h3, h4, h5, h6, p, a{
    font-family: "Nunito", sans-serif;
}
.main-container{
    padding: 80px 150px;
}

.typing {
    font-family: inherit;
    font-size: 1rem;
    color: #e91e63;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    max-width: 350px;
    animation: typing 3s steps(30) 1s forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

.animated-text{
    color: #ff386f;
}

.logo{
    width: 160px;
    height: auto;
}

.left-text{
    max-width: 200px;
}
.text-right{
    max-width: 180px;
}


/* Keep the height of the text area constant */
.text-container {
    min-height: 40px; /* Adjust based on the height of the text */
}

h1{
    font-weight: 900;
}
/* Основные стили */
.text-gradient {
    color: transparent;
    background-image: linear-gradient(90deg, #ff374d, #ff8b2a);
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 200%;
    animation: gradientAnimation 5s infinite linear;
}

.text-gradient2 {
    color: transparent;
    background-image: linear-gradient(90deg, #00fff6, #bd54ff);
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 200%;
    animation: gradientAnimation 5s infinite linear;
}


/* Анімація для плавного зміщення градієнта */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.pink_block{
    background-color: #ff4570;
}

.gift-container {
    display: flex;
    align-items: center;
    background-color: #ff386f; /* Цвет фона */
    color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    gap: 16px;
    height: 80px;
    overflow: hidden; /* Скрывает выходящее изображение */
    position: relative;
}

.gift-image {
    width: 130px; /* Размер изображения */
    margin-left: -20px;
    margin-top: 35px;
    animation: rotateImage 3s ease-in-out infinite alternate;
}

.gift-text {
    font-size: 1rem;
    font-weight: 500;
}



.highlight {
    font-weight: bold;
}

/* Анимация для изображения */
@keyframes rotateImage {
    0% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}


.main-photo {
    position: relative;
    overflow: hidden;
}

.main-photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120%; /* немного больше для плавного движения */
    height: 120%; /* немного больше для плавного движения */
    background-image: url("img/1641861688_2-abrakad.png");
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transition: transform 0.05s ease-out;
    z-index: 0;
}

.childs-photo {
    position: relative;
    z-index: 2;
}


.cta-button {
    background: linear-gradient(to right, #f97316, #facc15);
    color: #ffffff;
    font-weight: bold;
    padding: 15px 55px;
    border-radius: 999px;
    display: inline-block;
    animation: pulseAnimation 5s infinite ease-in-out;
}
.cta-button2 {
    background: linear-gradient(to right, #f97316, #facc15);
    color: #ffffff;
    font-weight: bold;
    border-radius: 999px;
    display: inline-block;
    animation: pulseAnimation 5s infinite ease-in-out;
}

.cta-button3 {
    background: linear-gradient(to right, #d91b86, #d70a7d);
    color: #ffffff;
    font-weight: bold;
    border-radius: 999px;
    display: inline-block;
    animation: pulseAnimation 5s infinite ease-in-out;
}


/* Анімація для плавного пульсування */
@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Збільшення до 110% */
    }
    100% {
        transform: scale(1);
    }
}



.video-container {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.video-container:hover .video-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
iframe {
    width: 90%;
    max-width: 800px;
    height: 400px;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 800px;
    height: auto;
    padding: 20px;
}
.modal-content2 {
    position: relative;
    max-width: 800px;
    height: 400px;
    padding-left: 30px;
    overflow-y: auto; /* Allows vertical scrolling */
    display: flex;
    flex-direction: column; /* Ensures content stacks vertically */
    justify-content: flex-start; /* Aligns content to the top */
}

.content-first{

}


.close-button {
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 50px;
    cursor: pointer;
    color: #ffffff;
}

.purple-block2{
    background: linear-gradient(180deg, #6b21a8, #4a1573);
}
.purple-block {
    height: 80px;
    background: linear-gradient(180deg, #6b21a8, #5b1a8f);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* General Card Styling */
.card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 480px;
    padding: 20px 0 0 20px;
}

.ribbon {
    position: absolute;
    bottom: 16px; /* Position at the bottom */
    right: -52px; /* Offset to the right */
    transform: rotate(-40deg); /* Rotate the ribbon */
    padding: 8px 54px;
    background-color: #6b21a8; /* Purple color */
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px; /* Optional: rounded corners for a softer look */
    height: 40px;
}


/* Image Styling */
.image-container img {

    height: auto;
    object-fit: cover;
}

.card-text{
    max-width: 180px;
}

.yellow {
    position: relative;
}



/* Базовые стили для карточек */
.circle {
    width: 250px; /* Установите нужный размер */
    height: 250px;
    border-radius: 50%; /* Закругление для кругов */
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease-in-out; /* Плавное увеличение */
}

/* Эффект увеличения при наведении */
.circle:hover {
    transform: scale(1.1); /* Увеличение на 10% */
}






/* Полная ширина для секции */
section.yellow {
    display: flex;
    width: 100vw;
    position: relative;
}

/* Правый фон и его размеры */
.right-side {
    position: relative;
    width: 50%;
    height: 100%;
}

.right-background{
    filter: blur(3px);
}



.overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.text-overlay {
    color: white;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f43f5e; /* Tailwind's pink-500 color */
}

.submit-button {
    background-color: #f43f5e; /* Tailwind's pink-500 */
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #ef4444; /* Tailwind's red-500 */
}

.contacts{
    background-image: url("img/background.jpeg");
    background-size: cover;
    background-position: center;
}

.orange{
    color: orange;
}

.footer {
    background-color: #2d2d2d;
    color: white;
}


@media (max-width: 1024px) {
    .flex.flex-wrap.justify-center.gap-12 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px; /* расстояние между кружками */
        width: 100%; /* чтобы контейнер занимал всю ширину */
        justify-items: center; /* центровка кружков */
    }


}

.dropdown.hidden {
    display: none;
}

.dropdown {
    display: block;
}

/* Стили для модального окна */
#multiStepFormContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    z-index: 1000;
    height: fit-content;
}

/* Фон затемнения */
#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Прогресс-бар */
#progressBarContainer {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
#progressBar {
    height: 10px;
    background-color: #4caf50;
    width: 0%;
}

.lime_button{
    background-color: limegreen;
    transition: background-color 0.3s ease;
}
.lime_button:hover{
    background-color: #2ec02e;
}
/* Индикатор выбора */
/* Base style for option buttons */
.option-button {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid rgba(204, 204, 204, 0.8);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    background-color: #f9f9f9;
}

/* Style for selected option */
.option-button.selected {
    border-color: #8BC34A; /* Green border for selected state */
    background-color: #e8f5e9; /* Light green background */
    color: rgba(0, 0, 0, 0.35); /* Green text */
    font-weight: bold;
    box-shadow: 0px 0px 10px rgba(76, 175, 80, 0.2); /* Soft green shadow */
}

/* Optional: Add a subtle scale effect when selected */
.option-button.selected {
    transform: scale(1.02);
}

/* Hover and focus styles */
.option-button:hover,
.option-button:focus {
    border-color: #8BC34A; /* Slightly darker green on hover */
    background-color: #f1f8e9;
    color: #8BC34A;
}

.text-gray {
    color: rgba(122, 122, 122, 0.75); /* Серый цвет текста */
}


/* Позиционирование кнопок с индикатором */
.option-button {
    position: relative;
}
button {
    user-select: none;
}
.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.progress-dot.bg-green-500 {
    background-color: #4caf50;
}
.progress-dot.bg-white {
    background-color: #fff;
    border: 1px solid #4caf50;
}

#closeModalBtn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #a0a0a0;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

#closeModalBtn:hover {
    color: #000000;
}


#alert {
    display: none;
    background-color: #00be19;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 18px;
    max-width: 300px;
    text-align: center;
}
#alert.success {
    background-color: #00be19; /* Success color */
}
#alert.error {
    background-color: #dc0500; /* Error color */
}

#uniqueContactButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff006a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Modal overlay and styling */
#uniqueModalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#uniqueModalForm {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 300px;
    max-width: 90%;
}

/* Modal form styling */
#uniqueModalForm h2 {
    margin-top: 0;
    font-size: 20px;
    text-align: center;
}

#uniqueModalForm label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

#uniqueModalForm input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid rgba(0, 0, 0, 0.17);
    border-radius: 4px;
}

#uniqueModalForm input[type="submit"] {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background-color: #ff006a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Close button styling */
.uniqueCloseButton {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

/* Розширюємо кнопку "Назад" і вирівнюємо по правому краю на останньому кроці */
.last-step-style {
    width: 100%; /* Робимо кнопку ширшою */
    margin-left: auto; /* Вирівнюємо по правому краю */
    text-align: center; /* Вирівнюємо текст в центрі */
}

.modal-content2 {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 80vw;
    height: 80vh;
    width: 100%;
    border-radius: 8px;
}

#modal1 .content{
    background-image: url('img/photo1.png'); /* Добавьте путь к изображению */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 120% center; /* Сдвигает фон дальше вправо */
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-height: 70vh; /* Ограничение высоты для скроллинга */
    overflow-y: auto;
}

#modal2 .content{
    background-image: url('img/photo2.png'); /* Добавьте путь к изображению */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 120% center; /* Сдвигает фон дальше вправо */
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-height: 70vh; /* Ограничение высоты для скроллинга */
    overflow-y: auto;
}
#modal3 .content{
    background-image: url('img/girl.png'); /* Добавьте путь к изображению */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 120% center; /* Сдвигает фон дальше вправо */
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-height: 70vh; /* Ограничение высоты для скроллинга */
    overflow-y: auto;
}
#modal4 .content{
    background-image: url('img/VIP-.png'); /* Добавьте путь к изображению */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 120% center; /* Сдвигает фон дальше вправо */
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-height: 70vh; /* Ограничение высоты для скроллинга */
    overflow-y: auto;
}

.close-button {
    z-index: 999;
}
.modal-title {
    background-color: white;
    padding: 20px;
    width: 38vw;
    position: relative;
    z-index: 1;
}

.modal-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    filter: blur(15px); /* Степень размытия */
    z-index: -1; /* Помещаем позади текста */
    border-radius: 20px; /* Добавьте радиус, чтобы смягчить края */
}


.fixed-button {
    position: sticky;
    bottom: 0;
    left: 0;
    z-index: 10;

    padding: 1rem;
    text-align: left;
}

.cta-button3 {
    background-color: #ff4081;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
}

.hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.scrollable-text {
    transition: opacity 0.3s ease;
    width: 50%;
}

.modal-close-button{
    z-index: 3;
}


@media (max-width: 1024px) {
    iframe {
        width: 700px;
        height: 380px;
    }
    .close-button {
        top: -40px;
        right: -40px;
        font-size: 40px;
    }
}


@media (max-width: 820px) {
    iframe {
        width: 600px;
        height: 340px;
    }
    .close-button {
        top: -35px;
        right: -35px;
        font-size: 35px;
    }

    .card {
        background-color: white;
        border-radius: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        max-width: 380px;
        padding: 20px 0 20px 20px;
    }

    #modal1 .content{
        background-position: 720% center; /* Сдвигает фон дальше вправо */
    }

    #modal2 .content{
        background-position: 720% center; /* Сдвигает фон дальше вправо */
    }
    #modal3 .content{
        background-position: 720% center; /* Сдвигает фон дальше вправо */
    }
    #modal4 .content{
        background-position: 720% center; /* Сдвигает фон дальше вправо */
    }
}
@media (max-width: 768px) {
    iframe {
        width: 90%;
        height: 320px;
    }
    .close-button {
        top: -30px;
        right: -30px;
        font-size: 30px;
    }
    .gift-image {
        width: 130px; /* Размер изображения */
        margin-right: -20px;
        margin-top: 35px;
        animation: rotateImage 3s ease-in-out infinite alternate;
    }
    .gift-text {
        font-size: 0.8rem;
        font-weight: 500;
    }

    .card {
        background-color: white;
        border-radius: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        max-width: 300px;
        padding: 20px 0 0 0;
    }
    .card-text{
        max-width: none;
        padding: 0 70px;
    }

    .flex.flex-wrap.justify-center.gap-12 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px; /* расстояние между кружками */
        width: 100%; /* чтобы контейнер занимал всю ширину */
        justify-items: center; /* центровка кружков */
    }

    .scrollable-text {
        transition: opacity 0.3s ease;
        width: 100%;
    }

    #modal1 .content{
        background-image: none;
    }
    #modal2 .content{
        background-image: none;
    }
    #modal3 .content{
        background-image: none;
    }
    #modal4 .content{
        background-image: none;
    }
    .modal-content2{
        padding-left: 0;
    }


    .modal-title{
        padding-top: 20px;
        padding-bottom: 0;
        width: 100vw;
    }
    #multiStepFormContainer {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        padding: 50px 15px;
        box-sizing: border-box;
    }

    #closeModalBtn {
        position: absolute;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 430px) {
    iframe {
        width: 100%;
        height: 280px;
    }
    .close-button {
        top: -35px;
        right: 5px;
        font-size: 25px;
    }
}

@media (max-width: 375px) {
    iframe {
        width: 100%;
        height: 250px;
    }

}
