﻿/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');


* {
    box-sizing: border-box;
    font-family: "Poppins", serif;
    margin: 0;
    padding: 0;
}

:root {
    --facpya-red: #aa2c2b;
    --facpya-secondary: #797a78;
    --facpya-white: #ffffff;
    --facpya-gray: #f8f9fa;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* Header */
.bg-facpya-primary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--facpya-secondary);
    color: var(--facpya-white);
    padding: 0.5rem 0;
    z-index: 10;
}

    .bg-facpya-primary h4 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

.header-logo {
    max-height: 90px;
    width: auto;
}

/* Contenedor principal */
.bg {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, var(--facpya-gray) 50%, var(--facpya-red) 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
}

.bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 4s;
}

.bg3 {
    animation-duration: 5s;
}

.main-container {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;  
}

/* Fondo general */
.bg-facpya-bg {
    background-color: var(--facpya-gray);
}

/* Botón principal */
.btn-facpya {
    background-color: var(--facpya-red);
    color: var(--facpya-white);
    border: none;
    transition: all 0.2s ease-in-out;
}

    .btn-facpya:hover {
        background-color: var(--facpya-secondary);
        color: var(--facpya-white);
    }

/* Tarjeta */
.card {
    border-radius: 5px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--facpya-red);
    color: var(--facpya-white);
}

/* Texto y campos */
h3, h4, h5 {
    font-family: "Poppins", sans-serif;
}

.form-control:focus {
    border-color: var(--facpya-red);
    box-shadow: 0 0 0 0.25rem rgba(124, 105, 105, 0.07);
}

h3.m-0 {
    font-weight: 600;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--facpya-secondary);
    color: var(--facpya-white);
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0.25rem 0;
}

/* Animación */
@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 576px) {
    
    footer {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem;
    }

        footer p {
            margin: 0.15rem 0;
        }
}


