* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
    height: 100%;
}

html, body {
    height: 100%;
}

.container {
    display: flex;
    height: 100%;
}

/* Menú lateral */
.sidebar {
    width: 300px;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 80;
    box-shadow: 2px 0px 15px rgba(0, 0, 0, 0.5);
    transition: left 0.4s ease;
    visibility: hidden;
}

.sidebar.show {
    left: 0;
    visibility: visible;
}

/* Menú hamburguesa */
.hamburger {
    display: block;
    position: absolute;
    top: 50px;
    left: 20px;
    font-size: 32px;
    color: #e74c3c;
    cursor: pointer;
    z-index: 100;
}

.hamburger:hover {
    color: #c0392b;
}

/* Enlaces de navegación */
.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 20px 0;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #e74c3c;
}

/* Redes sociales */
.social-links a {
    color: #ecf0f1;
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
    transform: scale(1.2);
}

/* WhatsApp */
.whatsapp-link {
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
    background-color: #20a85b;
}

/* Desplazar contenido principal cuando el menú está desplegado */
.main-content.shifted {
    transform: translateX(300px);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 600px;
    position: absolute;
    z-index: 2;
    color: white;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: red;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: darkred;
}

/* Slider styles */
.slider {
    position: absolute;
    width: 100%;
    height: 100%; /* Asegura que el slider cubra el 100% del viewport */
    background-position: center;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    animation: slideAnimation 12s infinite;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* Evitar que las imágenes se repitan */
    flex-shrink: 0;
}

@keyframes slideAnimation {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100px;
        padding: 10px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 12px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}


/* General Styles for Forms */
.form-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 30px;
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #ecf0f1;
    margin-bottom: 30px;
    font-size: 26px;
    text-align: center;
}

.form-group label {
    font-size: 16px;
    color: #ecf0f1;
    margin-bottom: 10px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background-color: #2c3e50;
    border: 1px solid #1abc9c;
    color: #ecf0f1;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #16a085;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #1abc9c;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #16a085;
}



.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #ecf0f1;
    margin-bottom: 30px;
    text-align: center;
    font-size: 26px;
}


/* General Styles for Forms */
.country {
    width: 80%;
    padding: 10px;
    margin-right: 10px;
}

.flag {
    vertical-align: middle;
}



/* Estilos para el formulario de búsqueda */
.clonarForm {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.clonarForm label {
    font-size: 18px;
    color: #ecf0f1;
    margin-bottom: 10px;
}

.clonarForm input {
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #1abc9c;
    margin-bottom: 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
}

.clonarForm button {
    padding: 12px;
    width: 100%;
    background-color: #1abc9c;
    color: white;
    font-size: 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clonarForm button:hover {
    background-color: #16a085;
}


/* Animación para mostrar el formulario */
.clonarForm {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.clonarForm.show {
    opacity: 1;
    transform: translateY(0);
}


/* Estilos para la tarjeta de resultados */
.result-card {
    background-color: rgba(52, 73, 94, 0.8); /* Color con transparencia, 0.8 es un 80% de opacidad */
    color: #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.result-details h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: bold;
}

.result-details p {
    font-size: 1.1em;
    margin: 5px 0;
}

.no-result, .error {
    color: #e74c3c;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

@media (max-width: 600px) {
    .result-card {
        padding: 15px;
    }
}






/* bandera resultados */
.bandera-pais {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}




/* Estilos para los botones de inicio y pagar */
.btn-inicio, .btn-pagar {
    padding: 12px 20px;
    margin: 10px;
    background-color: #3498db;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-inicio:hover {
    background-color: #2980b9;
}

.btn-pagar:hover {
    background-color: #e74c3c;
}


/* Imagen de fondo solo para esta página  buscar usuario */
.buscar-usuario-page {
    background-image: url('images/flags/rr.gif'); /* Imagen de fondo solo para esta página */
    background-size: cover; /* Asegura que la imagen cubra todo el fondo sin deformarse */
    background-position: center bottom; /* Coloca la imagen en la parte baja de la pantalla */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-attachment: scroll; /* La imagen se mueve al hacer scroll, puede ser fixed si prefieres */
    min-height: 100vh; /* Asegura que cubra el 100% de la altura del viewport */
    width: 100vw; /* Asegura que cubra el 100% del ancho del viewport */
}

/* Ajustes adicionales para pantallas pequeñas */
@media (max-width: 768px) {
    .buscar-usuario-page {
        background-position: center 80%; /* Ajusta la posición de la imagen en pantallas más pequeñas */
    }
}





/* Sección de Servicios */
.services-section {
    padding: 50px 20px;
    background-color: #34495e;
    color: white;
    text-align: center;
}

.services-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ecf0f1;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    background-color: #2c3e50;
    color: white;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.service-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .service-card {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
    }
}


/* Sección de Contacto */
.contact-section {
    padding: 50px 20px;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.contact-list {
    list-style: none;
    padding: 0;
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-list li {
    margin: 10px 0;
}

.contact-list i {
    margin-right: 10px;
}

.social-links a {
    color: #ecf0f1;
    font-size: 24px;
    margin: 0 15px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
    transform: scale(1.2);
}



/* Barra de carga */
.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading {
    text-align: center;
    margin-top: 20px;
    color: white;
}

/* Estilo para la imagen en dispositivos grandes */
.result-image3 {
    width: 385px;
    height: 900px;
    border-radius: 2%;
    object-fit: cover;
    margin-bottom: 30px;
   
}
/* Ajuste para pantallas pequeñas (móviles) */
@media (max-width: 150px) {
    .result-image {
        width: 120px;
        height: 120px;
    }
}

/* Estilo de color verde y animaciones */
.whatsapp-animado {
    color: #25d366; /* Color verde de WhatsApp */
    animation: rebote 3s infinite, parpadeo 3.5s infinite;
}

/* Animación de rebote */
@keyframes rebote {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animación de parpadeo */
@keyframes parpadeo {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}


.whatsapp-animado i, .whatsapp-animado svg {
    color: #25d366; /* Color verde del icono */
    margin-left: 5px;
}




.ver-chat {
    background-color: #28a745; /* Verde */
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ver-chat:hover {
    background-color: #218838; /* Verde más oscuro para el hover */
}











