/* Comunidade Evangélica UFC - Estilos Globais */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Backgrounds Personalizados para Formulários e Telas */
.bg-ufc-pattern {
    background-image: url("../imagens/site/wp_igreja2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .bg-ufc-pattern {
        background-image: url("../imagens/site/wp_igreja2_cell.png");
    }
}

/* Animação e Container do Carrossel Infinito */
.carrosel-container {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: slide-carrosel 40s linear infinite;
}

.carrosel-container:hover {
    animation-play-state: paused;
}

.carrosel-container img {
    flex: 0 0 auto;
    height: 160px;
    border-radius: 12px;
    border: 2px inset #6c6969;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carrosel-container img:hover {
    transform: scale(1.05);
}

@keyframes slide-carrosel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Zoom do Modal (Pix e Imagens) */
@keyframes ufc-zoom {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-ufc-zoom {
    animation: ufc-zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    /* slate-800 */
}

::-webkit-scrollbar-thumb {
    background: #ef4444;
    /* red-500 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
    /* red-600 */
}

/* Sorteio Fade Scale */
@keyframes ufc-fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    70% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-ufc-fadeScale {
    animation: ufc-fadeScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}