

/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 /* font-family: 'Open Sans', sans-serif;*/
 font-family: 'Poppins', sans-serif;

}

.principal > * {
  padding: 0px;
}

.publicidad {
  background-color: darkkhaki;
} 

/* trabajando el grid con nombres de areas */

.navegar {
  grid-area: navegar;
  height: 45px;
  width: 100%;
  margin: 0;

  background: #396afc; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #2948ff,
    #396afc
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to right,
    #2948ff,
    #396afc
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.navegar2 a {
  text-decoration: none;
}

.navegar2 ul {
  list-style: none;
}

.navegar ul {
  width: 100%;
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.navegar li {
  float: left;
}

.navegar li a {
  display: inline-block;
  color: rgb(233, 233, 238);
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
}

.navegar li a:hover {
  background-color: rgba(255, 0, 0, 0.678);
}

.encabezado {
  padding: 0;
  grid-area: encabezado;
  height: 180px;
  background-color: rgb(117, 3, 3);
  background-image: url(../img/cabecera1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* cuando es grande la pantalla pc */

/*
.navegar2
{
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
}

.menu li
{
    float: left;
}

.menu a:hover
{
    background-color: transparent;
    color: rgb(133, 191, 133);
}


.hamb
{
    display: none;
}


*/

/* cuando es pc */

.encabezado2 {
  grid-area: encabezado2;
  display: none;
}

.inicial {
  grid-area: inicial;
  height:300px;
  background-image: url(../img/inicial.JPG);
  background-repeat: no-repeat;
  width: 100%;
  background-size: 100% 100%;
  color:red;
  text-align: center;
  font-size:xx-large;
}





.primaria {
  grid-area: primaria;
  height:300px;
  background-image: url(../img/primaria2.jpeg);
  background-repeat: no-repeat;
  width: 100%;
  background-size: 100% 100%;
  color:red;
  text-align: center;
  font-size:xx-large;
}

.secundaria {
  grid-area: secundaria;
  height:300px;
  background-image: url(../img/secundaria.png);
  background-repeat: no-repeat;
  width: 100%;
  background-size: 100% 100%;
  color:red;
  text-align: center;
  font-size:xx-large;

}




.pie {
  grid-area: pie;
  height: 350px;
 display:flex;
  width: 100%;
  color:white;
  background-size: 100% 100%;
  background-color: #145fa0;
 
  font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
  
}

.p1{
    padding: 20px 20px 20px 20px;
    width: 33%;
    text-align: justify;
    font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
        
}

.p1 h2{
  color:yellow;
  background-color:rgb(112, 8, 56);
  font-size: 18px;
}

.p2{
    padding: 20px 20px 20px 20px;
    width: 33%;
    text-align: justify;
    font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
}

.p2 h2{
  color:yellow;
  background-color:rgb(112, 8, 56);
  font-size: 18px;
}


.p3{

  padding: 20px 20px 20px 20px;
  width: 33%;
  text-align: justify;
  font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
}

.p3 h2{
  color:yellow;
  background-color:rgb(112, 8, 56);
  font-size: 18px;
}

/* REDES SOCIALES */

.p3 a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: yellow;
	transition: all 0.5s ease;
}
.p3 a:hover{
	color: blue;
	background-color:white;
}




/*    */



.final{
  padding: 9px 5px 5px 5px; 
  grid-area:final; 
  height: 40px;
width:100%;
background-color: blueviolet;
color:#fff;
text-align: center;


}

.pie1 {
  grid-area: pie1;
  height: 550px;
  display: none;
}

.pie2 {
  grid-area: pie2;

  height: 550px;

  display: none;
}

.pie3 {
  grid-area: pie3;

  height: 550px;

  display: none;
}

.pie3 a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: yellow;
	transition: all 0.5s ease;
}
.pie3 a:hover{
	color: blue;
	background-color:white;
}




.principal {
  display: grid;
  gap: 2px;

  grid-template-columns: 1fr 1fr 1fr;

  grid-template-areas:
    "encabezado encabezado encabezado"
    "navegar navegar navegar"
    "inicial primaria secundaria"
    "pie pie pie"
    "final final final" ;
}

@media screen and (max-width:800px) {
  .navegar {
    grid-area: navegar;

    display: none;
  }
  /* cuando es movil*/
/*
  .insignia {
    height: 100px;
  }
*/
  .insignia {
    width: 70%;
    height: 75px;
  }

  .encabezado2 {
    grid-area: encabezado2;
    height: 100px;
    background-color: rgb(43, 7, 105);
    display: block;
  }

  .navegar2 {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgb(35, 12, 109);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
  }

  .menu a {
    text-align: center;
    display: block;
    padding: 25px;
    color: rgb(243, 233, 233);
  }

  .menu a:hover {
    color:blue;
    background-color: rgb(231, 221, 71);
  }

  .hamb {
    cursor: pointer;
    float: right;
    padding: 40px 20px;
  }

  .hamb-line {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
  }

  .hamb-line::before,
  .hamb-line::after {
    background: white;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
  }

  .hamb-line::before {
    top: 6px;
  }

  .hamb-line::after {
    top: -6px;
  }

  .side-menu {
    display: none;
  }

  .side-menu:checked ~ nav {
    max-height: 100%;
  }

  .side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
  }

  .side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
  }

  .side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
  }

  /*  rrrrrrr */

  .encabezado {
    grid-area: encabezado;
    display: none;
  }
  .pie {
    grid-area: pie;
    display: none;
    
  }

  .pie1 {
    margin: 5px;
    height: 300px;
    width: 100%;
    text-align: justify;
    display: block;
    padding: 25px;
    font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
  background-color: #145fa0;
  color:white;

  }
  .matricula {
    
    text-align: center;
  }
  .matricula:hover {
    color: white;
  }

  .pie2 {
    margin: 5px;
    height: 300px;
    width: 100%;
    
    text-align: justify;
    display: block;
    padding: 25px;
    font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
  background-color: #145fa0;
  color: white;
  

    
  }
  .localiza {
    text-indent: 1em;
  }
  .correo {
    text-indent: 1em;
  }
  .telefono {
    text-indent: 1em;
  }
  .whatsapp {
    text-indent: 1em;
  }
  .correo:hover {
    color: yellow;
  }
  .telefono:hover {
    color: yellow;
  }

  .pie3 {
    margin: 5px;
    height: 300px;
    width: 100%;
    
    text-align: justify;
    display: block;
    padding: 25px;
    font-weight: 2300;
  font-style:normal;
  text-wrap: balance;
  line-height: 1.5;
  font-size: 15px;
  background-color: #145fa0;
  color: white;
   
  }
  .principal {
    grid-template-columns: 1fr;
    grid-template-areas:
      "encabezado"
      "encabezado2"
      "inicial"
      "primaria"
      "secundaria"
      "pie1"
      "pie2"
      "pie3"
      "final";
  }
}
