*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
}

.animatedelay{
    animation-delay: 1s;  
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    box-shadow: 0 4px 25px -22px black;
    z-index: 10;
}

.header-content{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    
}

.logo{
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.logo a{
    text-decoration: none;
}
.logo h1{
    color: black;
}

.logo h1 b{
    color: #2E9AFE;
}

.menu{
    height: 80px;
    margin-right: 60px;
}

.menu nav{
    height: 100%;
}

.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
}

.menu nav ul li{
    height: 100%;
    margin: 0px 20px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
}

.menu-selected:before{
    content: '';
    width: 100%;
    height: 4px;
    background: #2E9AFE;
    position: absolute;
    top: 0;
    left: 0;
}

.menu nav ul li a{
    color: #777777;
    transition: color 300ms;
    font-size: 18px;
}

.menu nav ul li a:hover{
    color: #2E9AFE;
}

.menu .text-menu-selected{
    color: #2E9AFE;
}

.menu nav ul li a i{
    display: none;
}

#icon-menu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 20px;
    background: rgb(248, 248, 248);
    border-radius: 100%;
    color: #2E9AFE;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    display: none;
}

#icon-menu:hover{
    background: rgb(207, 207, 207);
    opacity: 0.8;
}



/*Portada*/

.container-cover{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/portada.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


.container-cover-test-saludos{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/saludos.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
}
.container-cover-test-fechas{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/frases.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
}
.container-cover-test-familia{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/familia.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
}

.container-cover-usertwo{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    z-index: 1;
    background-position: center;
    
    
}
.container-cover-usertwo video{
    width: 100%;
    height: 100%;
    right: 0;
    position: absolute;
}

.container-cover-usertwof{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/usuertwo.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.container-cover-usertwofam{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(img/usuertwo.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.container-cover:before{
    content: '';
    width: 100%;
    height: 100% ;
    background: #2e99fe9f;
    position: absolute ;
    top: 0;
    left: 0;
}
.container-cover-test-saludos:before{
    content: '';
    width: 100%;
    height: 100% ;
    background: #2e99fe9f ;
    position: absolute ;
    top: 0;
}
.container-cover-test-fechas:before{
    content: '';
    width: 100%;
    height: 100% ;
    background: #2e99fe9f;
    position: absolute ;
    top: 0;
}
.container-cover-test-familia:before{
    content: '';
    width: 100%;
    height: 100% ;
    background: #2e99fe9f;
    position: absolute ;
    top: 0;
}
.container-cover-usertwo:before{
    content: '';
    width: 100%;
    height: 100% ;
    background: #2e99fe9f;
    position: absolute ;
    top: 0;
    z-index: 2;
}


.container-info-cover{
    max-width: 800px;
    height: 500px;
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.container-info-cover h1{
    font: 60px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.container-info-cover p{
    color: white;
    font-size: 20px;
    font-weight: 500;
}


/*CONTAINER CONTENIDO INFORMACION*/

.container-content{
    width: 1200px;
    margin: auto;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
article{
    width: 100%;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: -10px 0 20px -30px black;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    
}

article:before{
    content: '';
    width: 100%;
    height: 6px;
    position: absolute;
    top: 0;
    left: 0;
    background:#2E9AFE;
}

article h1{
    margin-top: 20px;
    font-size: 40px;
}

article p{
    margin-top: 20px;
    font-size: 18px;
    color: #3c3c3c;
}

article img{
    width: 100%;
    margin-top: 20px;

}

/*Aside*/

.container-aside aside{
    width: 320px;
    border-radius: 6px;
    box-shadow: 0 0 20px -20px black;
    overflow: hidden;
    margin-left: 40px;
    

}

.container-aside aside img{
    width: 100%;
}

.container-aside aside h2{
    margin-top: 20px;
    padding: 0px 20px;
}
.container-aside aside p{
    margin-top: 20px;
    padding: 0px 20px;
}


/*Buscador de contenido*/

#ctn-icon-search{
    position: absolute;
    right: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

#ctn-icon-search i{
    font-size: 18px;
    color: #777777;
    cursor: pointer;
    transition: all 300ms;
}

#ctn-icon-search i:hover{
    color: #2E9AFE;
}

#ctn-bars-search{
    position: fixed;
    top: 80px;
    width: 100%;
    background: white;
    padding: 20px;
    z-index: 9;
    top: -10px;
    transition: all 600ms;
}

#ctn-bars-search input{
    display: block;
    width: 1200px;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    outline: 0;
}

#box-search{
    position: fixed;
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    background: white;
    z-index: 8;
    overflow: hidden;
    display: none;
    
}

#box-search li a{
    display: block;
    width: 1200;
    color: #777777;
    padding: 12px 20px;
    font-family: sans-serif;
}

#box-search li a:hover{
    background: rgb(219, 219, 219);
}

#box-search li a i{
    margin-right: 10px;
    color: #777777;
}

#cover-ctn-search{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 7;
    display: none;
}

.trad{
    display: none;
}

.trad:target{
    display: flex;
    z-index: 11;
}




/*SEÑAS A TEXTO TRADUCCIÓN POR VIDEOS
.container-post{
    max-width: 1200px;
    margin: auto;
}
.posts{
    width: 100%;

}
.posts .post{
    width: 350px;
    color: white;

}

.posts .post .ctn-vid{
    width: 100%;

}

.posts .post .ctn-vid video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post h2{
    font-size: 18px;
    margin-top: 20px;
    padding: 0px 10px;
    color: black;
}
*/









/*Footer */
.container-footer{
    width: 100%;
    padding: 40px 0px;
    background: #f7f7f7;
    margin-top: 40px;

}

.container-footer footer{
    max-width: 1200px;
    margin: auto;
    ;

}

.container-footer footer .logo-footer{
    text-align: center;
}

.container-footer footer .logo-footer h1{
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-footer footer .logo-footer h1 b{
    color: #2E9AFE;
}

.container-footer footer .informacion-footer{
    text-align: center;
    font-size: 15px;
    margin-bottom: 10px;

}

.container-footer footer hr{
    margin-top: 20px;
    border: none;
    height: 2px;
    color: #7e7e7e;
}

.container-footer footer h4{
    font-size: 18px;
    text-align: center;
 }

/*Responsive adaptable a dispositivos Moviles*/

@media screen and (max-width: 1220px){
    .header-content, .container-content, .container-footer footer{
        max-width: 1000px;
        padding: 0px 20px;
    }
    #ctn-bars-search{
        width: 100%;
    }
    #ctn-bars-search input{
        width: 100%;
    }
    #box-search{
        width: 100%;
    }
}

@media screen and (max-width: 1020px){
     .container-content{
        width: 100%;
        flex-direction: column;
    }
    article{
        box-shadow: 0 0 0 0;
    }

    .container-aside{
        display: flex;
        justify-content: center;
    }
    .container-aside aside{
        max-width: 300px;
        margin: 10px;
    }
}

@media screen and (max-width: 800px){
    body{
        overflow-x:hidden ;
    }
    .container-all{
        transition: all 300ms cubic-bezier(1,0,0,1);
    }
    .move-container-all{
        transform: translateX(300px);
    }
    .menu{
        width: 0px;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        background: white;
        overflow: hidden;
        transform: translateX(-350px);
        box-shadow: 10px 0px 20px -25px black;
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .lateral{
        width: 300px;
        transform: translateX(0px);
    }
    .menu nav ul{
        flex-direction: column;
    }

    .menu nav ul li{
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
    }

    .menu-selected:before{
        width: 0;
    }
    .menu nav ul li a{
        margin-top: 40px;
    }

    .menu nav ul li a i{
        width: 20px;
        display: inline-block;
        margin-right: 10px;
        color: #2E9AFE;
    }

    #icon-menu{
        display: flex;
        right: 60px;
    }

    .container-aside{
        flex-wrap: wrap;
    }
    #icon.menu{
        right: 20px;
    }
    .container-aside{
        display: none;
    }
    .trad video{
        width: 300px; 
        height: 200px;   
    }
}