* {
    padding: 0%;
    margin: 0%;
    text-decoration: none;
}

/* body {
    background-color: rgb(198, 197, 197);
    overflow-x: hidden;
} */

body {
    background: url("../imgs/Trasera DIRECTOS 01.jpg") center fixed no-repeat;
    background-size: contain;
    background-size: cover;
    /* height:100vh; */
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: aliceblue;
}



/*? FUENTES */

@font-face {
    font-family: "Menu";
    src: url("fonts/Quantify Bold v2.6.ttf");
    src: url("fonts/Quantify Bold v2.6.ttf") format(truetype);
    font-weight: 700;
    font-style: normal;
}

/*? MENU DISEÑO*/

#cabecera {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    z-index: 5;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
    height: 60px;
    background-color: RGB(42, 42, 42);
    color: rgb(176, 176, 176);
    border-bottom: 1px solid rgb(176, 176, 176);
    -webkit-box-shadow: 0px 5px 12px rgb(54, 54, 54);
    box-shadow: 0px 5px 12px rgb(54, 54, 54);
    z-index: 5;
}

.caja:hover {
    cursor: pointer;
}

#menu_todo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    z-index: 5;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: RGB(42, 42, 42);
    color: rgb(176, 176, 176);
    border-bottom: 1px solid rgb(176, 176, 176);
    -webkit-box-shadow: 0px 5px 12px rgb(54, 54, 54);
    box-shadow: 0px 5px 12px rgb(54, 54, 54);
    z-index: 20;
}

.logo {
    position: relative;
    top: 8px;
    left: 8px;
    -ms-flex-preferred-size: 10%;
    flex-basis: 10%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.logo img {
    height: 44px;
    cursor: pointer;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


#menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 35%;
    flex-basis: 35%;
    /* width: 40%; --> esto lo aplucariamos si no fuera Flexbox*/

    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 18px;

}

#menu .ali_menu {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    /*?el justify tiene que ir en la etiqueta <ul> es deicr en esta*/
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-right: 16px;
    text-decoration: none;
    list-style: none;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


/*? -- COMIENZO ESTILOS MENU --*/

/*Esto es lo que esta dando el problema, este nav #menu*/
/* Estilos de todo el menu*/
nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 45%;
    flex-basis: 45%;
    margin-left: auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 60px;
    min-width: 650px;
    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 18;
}

/* Estilos de todo toda la lista*/
nav ul {
    /*! LINEA IMPORTANTE PARA MENU RESPONSIVO*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 90px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /*centrado vertical*/
    margin-top: 0px;
    margin-right: 10px;
    margin-bottom: 5px;
    text-decoration: none;
    list-style: none;
    margin-left: auto;
    /*text-align: right;*/
}

/* Estilos de los elementos de lista*/
nav ul li {
    /*Poner los enalces unos a continuacion de los otros*/
    display: inline-block;
    padding-top: 2%;
    padding-right: 10px;
    font-family: menu, arial;
    font-size: 1.3em;
}

/* Estilos de los enlaces propiamente*/
nav ul li a {
    color: rgb(190, 190, 190);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: block;
}

nav ul li a:hover {
    color: rgb(255, 255, 255);
}


/*? DISEÑO RESPONSIVO >> Config de la Hamburguesa*/

.checkbtn {
    width: 16px;
    max-width: 16px;
    min-width: 10px;
    /* padding-inline-end: 2%; */
    line-height: 60px;
    margin-left: auto;
    margin-top: 35px;
    margin-right: 40px;
    display: none;
    /*Oculta en monitores grandes */
    cursor: pointer;
}

.barras {
    position: relative;
    width: 30px;
    margin-right: 10%;
    padding: 10px 0px;
    max-width: 30px;
}

#menu_todo #check {
    display: none;
    /*Ocuyltamos casilla de verificacion*/
}

/*Clase que nos mostrara u ocultara en menu desde JS*/
ul.show {
    right: -3%;
}

/*? Continua en el archivo "estilosResponsivo_MENU.css" >> */



/*? ANIMACION MENU*/

.c_abajo {
    position: absolute;
    top: 0;
    right: 31%;
    width: 60px;
    height: 8px;
    background-color: rgb(255, 0, 217);
    display: none;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    -webkit-animation: caja_abajo;
    animation: caja_abajo;
}

/* dlfjlskdjfslkj
.c_enlace_01{
    display: none;
    right: 32%;
    background-color: rgb(249, 28, 176);
}

.enlace_01:hover .c_enlace_01{
    display: block;
    right: 32%;
    background-color: rgb(249, 28, 176);
}*/

.c_enlace_01 {
    display: block;
    right: 32%;
    background-color: rgb(249, 28, 176);
}

.c_enlace_02 {
    display: block;
    right: 25%;
    background-color: rgb(241, 188, 13);
}

.c_enlace_03 {
    display: block;
    right: 14%;
    background-color: rgb(25, 190, 255);
}

.c_enlace_04 {
    display: block;
    right: 5%;
    background-color: rgb(241, 13, 13);
}

.c_enlace_01,
.c_enlace_02,
.c_enlace_03,
.c_enlace_04 {
    display: none;
}

/*? ANIMACION MENU FIN*/



/*? Propiedades Enlaces*/

#menu .ali_menu li a {
    color: rgb(176, 176, 176);
    font-size: 20px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#menu .ali_menu li:hover a {
    color: rgb(236, 236, 236);
    font-size: 20px;
}

/*? --- FIN MENU DISEÑO --- */


/*? COMIENZO DEL GRID Y FR*/

.layout {
    display: grid;
    grid-gap: 0px;
    /*grid-template-columns: 10% 40% 40% 10%;*/
    grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
    grid-template-rows: 1fr 1fr 1fr ;
    border: 3px solid #ccc;
    background-color: rgb(226, 232, 230);
    padding-top: 0px;
}

.layout .caja {
    font-size: 20px;
    font-weight: bold;
    color: black;
    /*border: 3px solid rgb(63, 62, 62);*/
    padding: 20px;
}

/*Asignacion de colores a celdas*/

.layout .green {
    background-color: greenyellow;
}

.layout .yellow {
    background-color: yellow;
}


.layout .portalForm_01 {
    position: relative;
    /*background-image: url("../imgs/IMGS_WEBS/Portal formacion.jpg");*/
    -webkit-box-align: start;
    -ms-flex-align: start;
    /* align-items: start; */
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    /*MEDIDAS*/
    width: 100%;
    height: 100px;
    background-size: cover;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.layout .portalForm_01 img {
    max-width: 600px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 8px 8px 12px rgb(117, 117, 117);
    box-shadow: 8px 8px 12px rgb(117, 117, 117);
}


.layout .portalForm_02 {
    /*background-image: url("../imgs/IMGS_WEBS/Portal formacion Sistemas.jpg");*/
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 4;
    /* max-width: 100%;*/
    /* height: 100%;*/
    background-size: cover;
}

.layout .portalForm_02 img {
    max-width: 600px;
    padding-top: 10px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 8px 8px 12px rgb(117, 117, 117);
    box-shadow: 8px 8px 12px rgb(117, 117, 117);
}


.layout .portalBACK_03 {
    position: relative;
    /*background-image: url("../imgs/IMGS_WEBS/CIBERSEGURIDAD.jpg");*/
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
    /*MEDIDAS*/
    width: 100%;
    height: 400px;
    background-size: cover;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.layout .portalBACK_03 img {
    max-width: 600px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 8px 8px 12px rgb(117, 117, 117);
    box-shadow: 8px 8px 12px rgb(117, 117, 117);
}

.layout .portalForm_04 {
    /*background-image: url("../imgs/IMGS_WEBS/FERRARI");*/
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
    /* max-width: 100%;*/
    /* height: 100%;*/
    background-size: cover;
}

.layout .portalForm_04 img {
    max-width: 600px;
    margin-top: 150PX;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 8px 8px 12px rgb(117, 117, 117);
    box-shadow: 8px 8px 12px rgb(117, 117, 117);
}


.layout .promesas {
    /*background-image: url("../imgs/IMGS_WEBS/Portal formacion Sistemas.jpg");*/
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 3;
    grid-column-end: 4;
    /* max-width: 100%;*/
    /* height: 100%;*/
    background-size: cover;
}

.layout .promesas img {
    max-width: 600px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 8px 8px 12px rgb(117, 117, 117);
    box-shadow: 8px 8px 12px rgb(117, 117, 117);
}


/*? ---FIN LAYOUT--- */



/*? PIE DE PAGINA*/

.layout .red_inf_01 {
    /* grid-row-start: 5;
     grid-row-end: 8;*/
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 5;
    grid-row-end: 12;
}

.red_inf_01 {
    margin-top: 300px;
}



/*? FOOTER */

#footer {
    width: 100%;
    background-color: RGB(42, 42, 42);
    color: rgb(176, 176, 176);
    border-top: 1px solid rgb(176, 176, 176);
    -webkit-box-shadow: 0px 5px 12px rgb(54, 54, 54);
    box-shadow: 0px 5px 12px rgb(54, 54, 54);

}

#footer .wrap {
    display: grid;
    grid-gap: 0px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 3fr 1fr;
    /*padding-left: 5%;*/
    min-height: 100%;
    width: 100%;
    height: 300px;
    overflow: hidden;
    text-align: left;
    margin-top: auto;
}

#footer .menu,
.caja02,
.caja03 {
    width: 60%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 3px;
    margin-top: 30px;
    padding-left: 10%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    list-style: none;
    /* background-color: rgb(7, 41, 128);*/
}

/*textos de los titulos del pie*/

#footer h2 {
    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: rgb(0, 170, 255);
}

#footer nav ul li {
    margin-top: 12px;
    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: rgb(0, 170, 255);
    list-style: none;
}

#footer nav {
    margin-top: 30px;
}

#footer .menu,
.caja02,
.caja03 {
    text-align: center;
    padding-left: 20%;
}

/*? Propiedades Enlaces*/

#footer nav ul li a {
    color: aqua;
    font-size: 16px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-decoration: underline;
}

#footer nav ul li a:hover a {
    color: rgb(236, 236, 236);
    font-size: 1em;
}



/*Cabecera de titulo*/
#footer .caja02 a,
.caja03 a {
    color: aqua;
    font-size: 16px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-decoration: underline;
    margin-top: 26px;
    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 1em;
}

#footer .caja02 a:hover,
.caja03 a:hover {
    color: rgb(236, 236, 236);
    font-size: 20px;
}

#footer .caja02 li,
.caja03 li {
    list-style: none;
}

#footer .caja02 h2,
.caja03 h2 {
    margin-bottom: 30px;
}

#footer .caja03 li {
    margin-top: 12px;
}

#footer nav ul li a:hover {
    color: rgb(236, 236, 236);
    font-size: 20px;
}

#footer .caja_copy {
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 3;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 20px;
    font-family: Menu, Arial, Helvetica, sans-serif;
    font-size: 14px;
}