body {
  background-color: #e8e9ed;
  font-family: Arial, Helvetica, sans-serif;
}

.contenedor {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-template-areas:
    "header header header"
    "contenido contenido contenido"
    "footer footer footer";
  /* place-items: center; */
}

.contenedor header {
  grid-area: header;
  background-color: white;
  width: 100%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  padding: 3px 0px;
  /*min-height: 280px; */
  /* height: 30vh; */
  left: 0;
  top: 0;
  position: fixed;
}

.header-div__top-mailfono {
  background-color: #2c4393;
}

.header-div__top-mailfono p {
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 0.3em;
  text-align: right;
  margin: 0;
}

.top-parrafo {
  padding-right: 3%;
}

.contenedor nav {
  /* grid-area: nav;  */
  height: 70px;
  width: 90%;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav #logo {
  height: 70px;
  vertical-align: top;
}

nav a {
  text-decoration: none;
  font-weight: 300;
  color: #2c4393;
  margin-right: 10px;
}

.hamburguesa {
  height: 100%;
  width: 70px;
  text-align: center;
  display: none;
}

.hamburguesa img {
  vertical-align: 0px;
  padding: 23px 0;
}

.contenedor main {
  grid-area: contenido;

  /* background-color: #E8E9ED; */
}

.contenedor main h2 {
  text-align: center;
  margin-top: 110px;
  color: #2c4393;
  /* padding-left: 20%;
    padding-right: 20%;*/
}

.imagenes {
  width: 100%;
  /* border: solid red 1px; */
  text-align: center;
}

.parrafo {
  margin-bottom: 70px;
  margin: 1%;
}

.wrapper-parrafo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

.margenTexto {
  padding-left: 3%;
}

.negritaSub {
  font-weight: bold;
  text-decoration: underline;
}

main {
  margin-bottom: 70px;
}

footer {
  grid-area: footer;
  background-color: #001847;
  color: white;
  padding: 10px;
  text-align: center;
  /* display: flex; */
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* footer div{
    width: 50%;
} */

@media screen and (max-width: 768px) {
  .contenedor {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "header header header"
      "contenido contenido contenido"
      "footer footer footer";
  }

  .contenedor header {
    grid-area: header;
    background-color: white;
    width: 100%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    padding: 3px 0px;
    /*min-height: 280px; */
    /* height: 30vh; */
    left: 0;
    top: 0;
    position: fixed;
  }

  .contenedor nav {
    height: 70px;
    width: 90%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburguesa {
    display: block;
    height: 100%;
    width: auto;
  }

  .hamburguesa img {
    vertical-align: 0px;
  }

  .enlaces {
    position: fixed;
    background-color: #2c4393;
    left: 0;
    top: 70px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    transform: translateX(-100%);
    z-index: 1000;
  }

  .enlaces2 {
    transform: translateX(0%);
  }

  .enlaces a {
    color: white;
  }

  nav #logo {
    height: 50px;
    vertical-align: top;
  }
  .contenedor .contenido {
    grid-area: contenido;
  }

  footer {
    grid-area: footer;
    position: static;
    padding: 10px;
  }

  footer div {
    width: 100%;
  }
  footer div p span {
    display: inline-block;
  }
}
