@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/* Apoxwear Pro Style - Posicionamiento y Tamaño Ajustado
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; -webkit-text-size-adjust: none; background: #000; overflow: hidden; }
ol, ul { list-style: none; }

/* Basic */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body, input, select, textarea {
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15pt;
    font-weight: 300 !important;
    letter-spacing: -0.025em;
    line-height: 1.75em;
}

a { border-bottom: none; color: inherit; outline: 0; text-decoration: none; transition: all 0.2s; }

/* Icon Core */
.icon { text-decoration: none; position: relative; }
.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}
.icon.solid:before { font-weight: 900; }
.icon.brands:before { font-family: 'Font Awesome 5 Brands'; }
.icon > .label { display: none; }

/* Wrapper & BG */
#wrapper { height: 100%; left: 0; position: fixed; top: 0; width: 100%; animation: fadeIn 2s forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#bg { height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: -1; background: #000; }
#bg video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; }
#overlay { background: url("images/overlay-pattern.png"); height: 100%; left: 0; position: fixed; top: 0; width: 100%; opacity: 0.3; }

/* --- SECCIÓN CRÍTICA: POSICIÓN DE ICONOS --- */

#main { height: 100%; width: 100%; text-align: center; }

#header {
    display: inline-block;
    width: 100%;
    padding-top: 75vh; 
    position: relative;
    z-index: 10;
}

#header nav li {
    display: inline-block;
    margin: 0 1em;
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

/* Delays para la animación de entrada */
#header nav li:nth-child(1) { animation-delay: 0.5s; }
#header nav li:nth-child(2) { animation-delay: 0.7s; }
#header nav li:nth-child(3) { animation-delay: 0.9s; }
#header nav li:nth-child(4) { animation-delay: 1.1s; }
#header nav li:nth-child(5) { animation-delay: 1.3s; }

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Tamaño de los círculos en PC */
#header nav a:before {
    display: block;
    width: 2.2em;
    height: 2.2em;
    line-height: 2.2em;
    font-size: 1.8em;
    border: solid 1px rgba(255,255,255,0.5);
    border-radius: 100%;
    transition: all 0.3s;
}

#header nav a:hover:before {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: scale(1.1);
}

/* Footer */
#footer { position: absolute; bottom: 20px; width: 100%; text-align: center; font-size: 0.7em; letter-spacing: 0.3em; opacity: 0.5; }

/* --- AJUSTES PARA MÓVIL (PANTALLAS PEQUEÑAS) --- */

@media screen and (max-width: 736px) {
    #header {
        padding-top: 80vh; 
    }

    #header nav li {
        margin: 0 0.3em; /* Un poco más juntos para que no se amontonen */
    }

    #header nav a:before {
        /* REDUCCIÓN DE TAMAÑO PARA MÓVIL */
        width: 1.4em;       /* Antes 1.8em */
        height: 1.4em;      /* Antes 1.8em */
        line-height: 1.4em;
        font-size: 1.1em;   /* Antes 1.3em */
    }
}
