@font-face{
    font-family:'Anton';
    src:url('fonts/Anton-Regular.ttf');
}

@font-face{
    font-family:'Montserrat';
    src:url('fonts/Montserrat-Medium.ttf');
    font-weight:500;
}

@font-face{
    font-family:'Montserrat';
    src:url('fonts/Montserrat-Bold.ttf');
    font-weight:700;
}

@font-face{
    font-family:'Montserrat';
    src:url('fonts/Montserrat-Black.ttf');
    font-weight:900;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    overflow-x:hidden;

    font-family:'Montserrat',sans-serif;
    color:white;

    background:
    linear-gradient(rgba(0,0,0,.20),rgba(0,0,0,.20)),
    url("img/Fondo1.jpg") center/cover fixed no-repeat;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:999;

    background:
    repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.03) 0px,
        rgba(255,255,255,.03) 2px,
        transparent 2px,
        transparent 7px
    );

    opacity:.35;

    animation:vhs .18s linear infinite;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:998;

    background:
    linear-gradient(
        90deg,
        rgba(255,0,128,.04),
        rgba(0,255,255,.04),
        rgba(255,255,0,.02)
    );

    mix-blend-mode:screen;

    animation:rgb 4s ease-in-out infinite alternate;
}

@keyframes vhs{

    from{
        transform:translateY(0);
    }

    to{
        transform:translateY(8px);
    }

}

@keyframes rgb{

    from{
        transform:translateX(-2px);
    }

    to{
        transform:translateX(2px);
    }

}

@keyframes logoIn{

    from{
        opacity:0;
        transform:translateY(-15px) scale(.9);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }

}


.hero-header{
    width:100%;
    height:250px;

    position:fixed;
    top:0;
    left:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:18px;

    z-index:1000;

    background:
    linear-gradient(
        180deg,
        rgb(255,20,147),
        rgb(255,0,128)
    );

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:
    height .7s cubic-bezier(.22,1,.36,1),
    padding .7s cubic-bezier(.22,1,.36,1),
    background .7s ease;
}

.hero-header::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.025) 0px,
        rgba(255,255,255,.025) 2px,
        transparent 2px,
        transparent 8px
    );

    pointer-events:none;
}

.hero-header.shrink{
    height:120px;
    padding:10px 18px;
    background:rgb(255,20,147);
}

.hero-logo{
    width:185px;
    margin-bottom:18px;

    position:relative;
    z-index:2;

    animation:logoIn .8s ease;

    transition:
    width .7s cubic-bezier(.22,1,.36,1),
    margin .7s cubic-bezier(.22,1,.36,1);

    filter:
    drop-shadow(0 0 10px rgba(255,0,128,.35))
    drop-shadow(0 0 15px rgba(0,255,255,.15));
}

.hero-header.shrink .hero-logo{
    width:85px;
    margin-bottom:8px;
}

nav{
    display:flex;
    gap:42px;
    z-index:2;
}

nav a{
    color:#fff000;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
    letter-spacing:1px;

    position:relative;

    transition:.25s ease;
}

nav a:hover{
    color:white;
    transform:translateY(-2px);
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;

    width:0%;
    height:2px;

    background:#fff000;

    transition:.25s ease;
}

nav a:hover::after{
    width:100%;
}

nav a.active{
    color:white;
}

nav a.active::after{
    width:100%;
}


.contacto{
    max-width:1200px;
    margin:0 auto;

    padding:
    290px
    20px
    100px;
}

.contacto-title{
    text-align:center;
    margin-bottom:70px;
}

.contacto-title h1{
    font-family:'Anton';
    font-size:72px;
    font-weight:400;
    line-height:1;

    color:#fff000;

    text-shadow:
    -4px 0 #ff1493,
    4px 0 #00ffff;
}

.contact-copy{
    margin-top:12px;

    font-size:12px;
    font-weight:900;
    letter-spacing:3px;

    color:white;
}


.contact-copy-big{
    font-size:12px;
    line-height:2;
    letter-spacing:1px;

    margin-bottom:25px;
}


.contacto-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.contact-card{
    position:relative;

    padding:40px 30px;

    overflow:hidden;

    background:
    linear-gradient(
        180deg,
        rgba(255,20,147,.95),
        rgba(255,0,128,.92)
    );

    border:4px solid #fff000;

    box-shadow:
    0 0 0 4px rgba(0,0,0,.15),
    0 0 28px rgba(255,0,128,.28);

    transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.contact-card::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.05) 0px,
        rgba(255,255,255,.05) 2px,
        transparent 2px,
        transparent 8px
    );

    pointer-events:none;

    animation:vhs .16s linear infinite;
}

.contact-card:hover{
    transform:
    translateY(-10px)
    rotate(-.5deg);

    box-shadow:
    0 0 0 4px rgba(0,0,0,.2),
    0 0 40px rgba(255,0,128,.45);
}

.contact-card h3{
    position:relative;
    z-index:2;

    font-family:'Anton';
    font-size:42px;
    font-weight:400;
    line-height:1;

    margin-bottom:18px;

    color:#fff000;

    text-shadow:
    -3px 0 #ff1493,
    3px 0 #00ffff;
}

.contact-card p{
    position:relative;
    z-index:2;

    min-height:60px;

    font-size:14px;
    font-weight:700;
    line-height:1.8;
    letter-spacing:1px;

    color:white;

    margin-bottom:30px;
}

.contact-card a{
    position:relative;
    z-index:2;

    display:inline-block;

    padding:14px 22px;

    text-decoration:none;

    background:#fff000;

    color:black;

    font-size:12px;
    font-weight:900;
    letter-spacing:1px;

    transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease;
}

.contact-card a:hover{
    transform:scale(1.05);

    background:white;
}


@media (max-width:900px){

    .hero-header{
        height:150px;
    }

    .hero-header.shrink{
        height:95px;
    }

    .hero-logo{
        width:125px;
    }

    nav{
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .contacto{
        padding-top:220px;
    }

    .contacto-title{
        margin-bottom:45px;
    }

    .contacto-title h1{
        font-size:46px;
    }

    .contact-copy{
        font-size:10px;
        letter-spacing:2px;
    }

    .contact-copy-big{
        width:100%;

        font-size:11px;
        line-height:1.9;
        letter-spacing:1px;
    }

    .contacto-container{
        grid-template-columns:1fr;
    }

    .contact-card{
        padding:30px 24px;
    }

    .contact-card h3{
        font-size:32px;
    }

    .contact-card p{
        font-size:12px;
        line-height:1.7;
    }

}