﻿/* Diseño general */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Tarjeta 100% móvil */
.vcard {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* Mantener altura fija */
    height: 95vh;
    display: flex;
    flex-direction: column;
}

/* Cabecera fija */
.header {
    background: #a586d8;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
}

/* Botón de añadir */
.btn-add {
    background: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 90%;
    margin-top: 10px;
}

/* Tabs fijas */
.tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    background: white;
    position: sticky;
    top: 0;
}

.tab {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

    .tab.active {
        font-weight: bold;
        border-bottom: 3px solid #a586d8;
    }

/* Contenido de pestañas con altura fija */
.tab-content {
    flex-grow: 1;
    overflow: auto;
    padding: 15px;
    height: calc(85vh - 140px); /* Ajustar según el tamaño del encabezado y tabs */
}

/* Estilos para información */
.info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .info i {
        font-size: 20px;
        color: #a586d8;
    }

/* Estilos para íconos de redes sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 50px;
}

    .social-links img {
        width: 75px;
        height: 75px;
        transition: transform 0.3s ease;
    }

    .social-links a:hover img {
        transform: scale(1.1);
    }

.splash-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #81709f;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 1s ease-out;
    z-index: 100;
}

    /* Video a pantalla completa y centrado */
    .splash-screen video {
        position: absolute;
        width: 100%;
        #height: 100%;
        object-fit: cover; /* Ajuste perfecto sin distorsión */
    }

    /* Imagen de respaldo */
    .splash-screen img {
        width: 300px;
        display: none;
    }

/* Ocultar splash cuando termine */
.hidden {
    opacity: 0;
    pointer-events: none;
}
