:root{
    --color1:rgb(219,144,.5);
    --color2:rgba(12, 241, 100, 0.712);
    --color3:rgba(11,194,211);
    --fondo: rgba(238, 242, 247, 0.973);
    --h1: 33px;
    --margenes: 20px;
    --espacios: 10px;
    --espacios-contenido: 20px;


}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
    background: var(--fondo);
}

/*Header*/
header {
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom,
    rgba(5, 55, 190, 0.932),
    rgba(24, 90, 233, 0.582),
    rgba(73, 127, 243, 0.719)
    ), url(fondo00.jpg);
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
}

nav {
    width: 100%;
    position: fixed;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}

.nav1{
    background: transparent;
    height: 80px;
    color:rgb(255, 255, 255);
}

.nav2{
    background: var(--fondo);
    height: 100px;
    color: rgb(0, 0, 0);
}

.contenedor-nav{
    display: flex;
    margin: auto;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    height: inherit;
    overflow: hidden;
}

nav .enlaces a{
    display: inline-block;
    padding: 5px 0;
    margin-right: 17px;
    font-size: 17px;
    font-weight: 150;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    color: inherit;
}

nav .enlaces a:hover{
    border-bottom: 3px solid rgba(12, 241, 100, 0.712);
    transition: 0.6s;
}

.logo, .logo img{height: 80px;}

.textos{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: white;
    overflow: hidden;
    text-align: center;
}

.textos>h1{
    padding-top: 65px;
    font-size: 40px;;
}

.textos>h2{
    font-size: 30px; 
    font-weight: 300;

}

/*Main*/
.contenedor{
    margin: auto;
    padding: var(--margenes) 0;
    width:80%;
    text-align: center;
    overflow: hidden;
    height: 100%;
}


p{
    font-size: 20px;
    color:rgb(0, 9, 131);
    text-align: center;
    padding: 10px;
}

footer{
    width: 100%;
    max-height: 120px;
    background-color: rgb(161, 160, 160);
}

/* Estilo para imagen2 */
img.left1 {
    vertical-align: middle;
   float: left;
    border: none;
    height: 200px;
    max-width: 46%;
    padding-top: 1px;
    padding-right: 2%;;
}

/*Estilo para video1 */
video.ImportanciaCibers{
    float: right;
    max-width: 55%; 
    height:250px;
    padding-left: 2%;
    padding-right: 1%;
    padding-bottom: 3%;
    
}

/*Estilo para video2 */
video.CiberEscul{
    float: middle;
    width:400px; 
    height:200px;
    padding-left: 2%;
    padding-right: 5%;
    padding-bottom: 5;
    
}

/*Estilo para video3 */
video.Recomend{
    float: right;
    width:400px; 
    height:200px;
    padding-left: 5%;
    padding-right: 2%;
    padding-top: 3%;
    padding-bottom: 5;
    
}

/*Boton*/
a.button {
    background-color: rgba(8, 33, 104, 0.932);
    color: rgb(255, 255, 255);
    max-height: 20px;
    padding: 3px;
    text-decoration: none;
}


.navlist{
    color: rgb(8, 35, 124);
    text-align: left;
    list-style-type: square;
    
}

ul{
    padding-left: 5%;
    text-decoration-line: none;
    text-align: left;
}

li{
    padding-bottom: 2%;
}

.row{
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.colum img {
    margin-top: 8px;
    vertical-align: middle;
}

@media screen and (max-with: 700px){
    .nav2{
        color:rgb(168, 168, 168);
    }

    .enlaces{
        position: fixed;
        top: 80px;
        left: 0;
        height: 100%;
        transition: 1s;
    }
}

@media (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

@media (max-width: 700px){
    .img.left1 {
        flex: 50%;
        position: center;
    }
}