*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI';
}
header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo{
    cursor: pointer;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}
.container{
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav ul li {
    list-style: none;
    display: inline-grid;
    padding: 15px 35px;
    margin: 10px;
    font-size: 18px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}
nav ul li a{
    text-decoration: none;
color: white;} 

nav ul li::after{
    content: '';
    background: #e41e1e;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
}
nav ul li a:hover{
    color: #000000;
}
nav ul li:hover::after{
    top: 50%;
    opacity: 1;
}


.banner{
    position:absolute ;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    transition: 0.5s;
    z-index: 2;
}
.banner.active {
    right: 300px;
}
.banner video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.contenedortext{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #156275;
    mix-blend-mode: overlay;
}
.text{
    position: relative;
    z-index: 10;
}
.text h2{
    font-size: 5em;
    font-weight: 800;
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
}
.text h3{
    font-size: 4em;
    font-weight: 700;
    color: #fff;
    line-height: 1em;
    text-transform: uppercase;
}
.text p{
    font-size: 1.2em;
    color: #fff;
    margin: 20px 0;
    font-weight: 600;
    max-width: 700px;
}
.text a{
    display: inline-block;
    font-size: 1.5em;
    background: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500; 
    margin-top: 10px;
    color: #111;
    letter-spacing: 2px;
    transition: 0.2s;
}
.text a:hover{
    letter-spacing: 6px;
    background: #e41e1e;
}

.social{
    position: absolute;
    z-index: 10;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social li{
    list-style: none;
}
.social li a{
    display: inline-block;
    margin-right: 20px;
    filter: invert(1);
    transform: scale(0.5);
    transition: 0.5s;
}
.social li a:hover{
    transform: scale(0.5) translateY(-15px);
}

.menu{
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu ul{
    position: relative;
}
.menu ul li{
    list-style: none;
}
.menu ul li a{
    text-decoration: none;
    font-size: 24px;
    color: #111;
}
.menu ul li a:hover{
    color: #03a9f4;
}
@media (max-width:991px){
    .banner,
    .banner header{
        padding: 40px;
    }
    .text h2{
        font-size: 3em;
    }
    .text h3{
        font-size: 2em;
    }
}