/* -----=====   FUENTES   =====----- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lobster&family=Roboto&display=swap');
/* -----=====   ROOT   =====----- */
:root {
  --bg: #ffffff;
  --bg2: whitesmoke;
  --color1: #124170;
  --color2: #26667F;
  --color3: #DDF4E7 ;
  --color6: #67C090;
  --font-title: 'Lobster', sans-serif ;
  --font-subtitle: 'Bebas Neue', sans-serif;
  --font-texto: 'Roboto', sans-serif;
  --font-color: #0D1164;
  --font-p: 16px;
}
/* -----===== UNIVERSALES (HTML, BODY, MAIN)=====----- */
*{
  margin: 0%;
}
html{
  font-size: var(--font-p);
  background-image:  linear-gradient(#67c09036 2px, transparent 2px), linear-gradient(90deg, #67c09036 2px, transparent 2px), linear-gradient(#67c09036 1px, transparent 1px), linear-gradient(90deg, #67c09036 1px, #DDF4E7 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  background-size: 10px 10px;
}
body{
  font-family: var(--font-texto);
}
section{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
}
/* -----===== TEXTOS (TITULOS, PARRAFOS, LINKS, ETC.) =====----- */
h1{
  font-family: var(--font-title); font-size: 3rem;
  text-align: center;
  color: var(--color6);
  margin: 3% 0% 0%;
}
p{
  font: var(--font-texto);
  color: var(--font-color);
  line-height: 150%;
  margin: 5%;
  text-align: center;
}
a{
  font-family: var(--font-subtitle);
  text-decoration: none;
}
ul{
  list-style:none;
  font: var(--font-texto);
  font-style: italic;
  line-height: 130%;
}
li {
  margin: 5% auto;
}

/* -----===== BARRA DE NAVEGACION =====----- */
.main-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.945);
  border-bottom: 5px solid var(--color1);
  position: fixed;
  top: 0%;
  z-index: 999;
  width: 100%;
}  
.main-logo{
  color: var(--color2);
  font: 3rem Lobster;
  text-align: center;
} 
.main-nav{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  margin-left: -100%;
  transition: all .2s linear;
  background-color: rgba(0,0,0,.7);
  z-index: 100;
}  
.main-nav.show{
  margin-left: 0;
}  
.nav-links{
  background-color: rgba(255, 255, 255, 0.945);
  display: flex;
  flex-direction: column;
  width: 70%;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  font:2rem Bebas;
  padding-bottom: 6%;
}
.link-item{
  margin-top: 3rem;
  color: var(--color1);
  text-decoration: none;
  font-weight: bold;
  position: relative;
  font-size: 1.5rem;
}
.link-item::after {
  position: absolute;
  content: "";
  background-color: var(--color2);
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 5px;
  transition: 0.3s ease all;
}
.link-item:hover::after {
  width: 100%;
}  
/* -----===== CONTENIDO DE LA PAGINA ======-----*/
.Tema{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  background-color: var(--bg);
  width: 90%;
  margin: 5% auto;
  border-radius: 50px;
  border: 6px dashed var(--color2);
}
.Text{
  width: 90%;
  margin: 1% auto;
  text-align: justify;
  align-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.Text p{
  margin: 2%;
}

.contenidogridinverso{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  padding: 1%;
}
.textogridinverso{
  grid-area: 1 / 3 / 6 / 6;
  
}
.textogridinverso p{
  text-align: justify;
}
.imagengridinverso{
  grid-area: 1 / 1 / 6 / 3;
  align-content: center;
  align-items: center;
  align-self: center;
  display: flex;
  flex-direction: column;
}

.contenidogrid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  padding: 1%;
}
.textogrid{
  grid-area: 1 / 1 / 6 / 4;
}
.textogrid p{
  text-align: justify;
}
.imagengrid{
  grid-area: 1 / 4 / 6 / 6;
  align-content: center;
  align-items: center;
  align-self: center;
  display: flex;
  flex-direction: column;
}

.pasosmeth1 li{
  margin: 3%;
  color: var(--font-color);
}

/* -----===== Pie de Pagina =====----- */
footer{
  background: var(--bg);
  color: var(--color2);
  width: 100%;

  border-top: 5px solid var(--color1);
  font-family: var(--font-texto);
}
.DatosAlumno{
  padding: 2%;
  font-size: 1rem;
  line-height: 200%;

  color: rgb(99, 99, 99);
  display: flex;
  flex-direction: column;
  text-align: center;
}
/* -----===== MEDIAS QUERIES =====----- */
@media screen and (min-width:1250px) {
    html{
      font-size: 16px;
    }

    .button-menu{
      display: none;
    }
  
    .main-logo{
      flex-basis: 60%;
    }
    
    .main-nav{
      position: static;
      margin-left: 2%;
      flex-basis: 70%;
      height: 100%;
    }
    
    .nav-links{
      width: 100%;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      background: var(--bg);
    }
    
    .link-item{
      display: inline-block;
      margin-right: 2rem;
      }
}