*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Poppins",sans-serif;
}

/* HEADER */

header .brand{
display:flex;
align-items:center;
gap:10px;
color:#fff;
font-size:1.5em;
font-weight:700;
text-transform:uppercase;
text-decoration:none;
}

header .brand img{
height:35px;
width:auto;
}

header{
z-index:999;
position:absolute;
top:0;
left:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 200px;
transition:0.5s ease;
}

header .brand{
color:#fff;
font-size:1.5em;
font-weight:700;
text-transform:uppercase;
text-decoration:none;
}

header .nav{
position:relative;
}

header .nav .nav-item{
display:flex;
}

header .nav .nav-item a{
position:relative;
color:#fff;
font-size:1em;
font-weight:500;
text-decoration:none;
margin-left:30px;
transition:0.3s ease;
}

header .nav .nav-item a:before{
content:"";
position:absolute;
background:#fff;
width:0;
height:3px;
bottom:0;
left:0;
transition:0.3s ease;
}

header .nav .nav-item a:hover:before{
width:100%;
}

/* SECCIONES */

section{
padding:100px 200px;
}

.home{
position:relative;
width:100%;
min-height:100vh;
display:flex;
justify-content:center;
flex-direction:column;
background:#2696E9;
overflow:hidden;
}

/* OVERLAY SUAVE SOBRE VIDEO */

.home:before{
z-index:1;
content:"";
position:absolute;
background:rgba(3,96,251,0.15);
width:100%;
height:100%;
top:0;
left:0;
}

/* CONTENIDO */

.home .content{
max-width:600px;
color:#fff;
z-index:2;
position:absolute;
top:50%;
left:200px;
transform:translateY(-50%);
opacity:0;
transition:all 1s ease;
}

.home .content.active{
opacity:1;
transform:translateY(-50%);
}

.home .content h1{
font-size:4em;
font-weight:900;
letter-spacing:5px;
line-height:75px;
margin-bottom:40px;
animation:fadeUp 1s ease;
}

.home .content p{
margin-bottom:30px;
line-height:1.6;
}

.home .content a{
background:#fff;
padding:12px 28px;
color:#111;
font-size:1em;
font-weight:500;
text-decoration:none;
border-radius:5px;
display:inline-block;
margin-top:10px;
}

.home .content a:hover{
background:#2696E9;
color:#fff;
}

/* ANIMACION TEXTO */

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* ICONOS REDES */

.media-icons{
position:absolute;
right:30px;
display:flex;
flex-direction:column;
z-index:2;
}

.media-icons a{
color:#fff;
font-size:1.6em;
margin:10px 0;
transition:0.3s ease;
}

.media-icons a:hover{
transform:scale(1.3);
}

/* BOTON HAMBURGUESA */

.menu-btn{
width:40px;
height:40px;
display:none;
flex-direction:column;
justify-content:center;
cursor:pointer;
gap:6px;
z-index:1000;
}

.menu-btn span{
display:block;
height:3px;
width:25px;
background:#fff;
transition:0.3s;
}

/* ANIMACION A X */

.menu-btn.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.menu-btn.active span:nth-child(2){
opacity:0;
}

.menu-btn.active span:nth-child(3){
transform:rotate(-45deg) translate(7px,-6px);
}

/* VIDEO BASE */

.home video{
z-index:0;
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
filter:brightness(70%);
}

/* VIDEO SLIDER */

.video-slide{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity 1.5s ease, transform 6s ease;
transform:scale(1.1);
}

.video-slide.active{
opacity:1;
transform:scale(1);
z-index:1;
}

/* SLIDER NAVEGACION */

.slider-navigation{
z-index:888;
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:20px;
}

.slider-navigation .nav-btn{
width:12px;
height:12px;
background:#fff;
border-radius:50%;
cursor:pointer;
box-shadow:0 0 2px rgba(255,255,255,0.5);
transition:0.3s ease;
}

.slider-navigation .nav-btn:hover{
transform:scale(1.2);
}

/* BOTON ACTIVO */

.slider-navigation .nav-btn.active{
background:#2696E9;
transform:scale(1.3);
box-shadow:0 0 10px rgba(38,150,233,0.8);
}

/* RESPONSIVE */

@media (max-width:1040px){

header{
padding:15px 50px;
}

section{
padding:100px 50px;
}

.home .content{
left:50px;
}

header .nav{
display:none;
position:absolute;
top:70px;
right:20px;
background:rgba(38,150,233,0.95);
backdrop-filter:blur(10px);
width:220px;
border-radius:10px;
padding:25px;
}

header .nav .nav-item{
flex-direction:column;
}

header .nav .nav-item a{
margin:10px 0;
}

.menu-btn{
display:flex;
}

}

/* MENU ACTIVO MOBILE */

.nav.active{
display:flex;
animation:menuFade 0.3s ease;
}

/* ANIMACION MENU */

@keyframes menuFade{

from{
opacity:0;
transform:translateY(-10px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* MOBILE EXTRA */

@media (max-width:600px){

header{
padding:15px 20px;
}

section{
padding:100px 20px;
}

.home .content{
left:20px;
}

.home .content h1{
font-size:3em;
line-height:55px;
}

}