* {
  margin:0px;
  padding:0px;
  }
body {
    background-color: white;
}
@font-face {
    font-family: "Chalkduster";
    src: url(fuentes/amy/amyshandwriting.ttf);
  }
  #esp {
    height: 40px;
  }
  #logo {
    float: left;
    margin: 0px 2px 0px 30px;
  }
  nav {
    float: left;
    width: 250px;
    height: 50px;
    margin: 10px 0px 0px 10px;
  }
  #boton a {
  color: blue;
  text-decoration: none;
  font-family: Comic Sans MS;
  font-size: 18px;
  }
  #titulos {
      width: 92%;
      margin: auto;
      padding: 20px 0px;
      text-align: center;
      color: #5e47d1;
      font-family: chalkduster;
  }
  /*  Fin header*/
  


/* clase columnas para los cuentos */
.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: auto;
  gap: 1em;
  margin: 0em 1em;
}

.grid div {
  border: 3px solid rgb(92, 88, 88);
  text-align: center;
}  
.resolut img {
  width: 36rem;
  padding: 8px 8px 8px 8px;
}
.resolut p {
  font-family: chalkduster;
  font-size: 18px;
  padding: 4px 4px 4px 4px;
}
.resolut2 img {
  width: 20rem;
  font-family: chalkduster;
  font-size: 18px;
  padding: 8px 8px 8px 8px;
}
.resolut2 p {
  font-family: chalkduster;
  font-size: 18px;
  padding: 4px 4px 4px 4px;
}

/* prueba
section img {
  padding-top: 20px;
}
section figcaption {
  color: #5e47d1;
  font-family: Chalkduster, Comic Sans MS;
  font-weight: bold;
  font-size: 1.1em;
  transform: translateY(-350px);
}
.grid a {
  text-decoration: none;
  color: #5e47d1;
}

/*
#uno {
  border: none;
}
#uno img {
  width: fit-content;
}
#dos {
  border: none;
}
#dos img {
  width: fit-conten;
}
#tres {
  border: none;
}
#tres img {
  width: fit-conten;
}
#cuatro {
  border: none;
}
#cuatro img {
  width: fit-conten;
}
  #cinco {
    border: none;
  }
  #cinco img {
    width: 160px;
  }
*/

/*  footer */
#space {
  height: 67px;
}

.azul {
    width: 200px;
  height: 100px;
  margin: 0px 50px;
  padding-top: 50px;
}
.lazul a {
    color: blue; 
    text-decoration: none;
}
footer {
    width: 100%;
    height: 50px;
    padding-top: 30px;
    font-size: 18px;
    background-color: #e14372;
  }
  footer div {
    float: left;
    width: 154px;
    height: 1em;
    margin-left: 15px;
    opacity: .6;
}
#AD {
  padding-right: 10%;
}
#DR {
  float: right;
  padding-right: 2%;
  width: 220px;
  text-align: center;
}
  .clearfloat {
    clear: both;
  }


  @media (max-width: 480px) {
  
    body {
    background-color: white;
    }
    header {
        width: 100%;
        height: 200px;
    }
    header h1 {
      padding-top: 110px;
    }
    #logo img {
        width: 60px;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      grid-auto-rows: auto;
      gap: 1.5em;
      margin: 0em 1em;
    }
    .resolut img {
        width: 20rem;
      }
    .azul {
      width: 100%;
      margin: 0px;
      padding-left: 20px;
  }
  .lazul a {
      color: blue; 
      text-decoration: none;
      text-align: center;
  }
    footer {
        width: auto;
        font-size: 16px;
        padding: 0px;
        text-align: center;
    }
    footer div {
        width: auto;
        padding: 0.2em;
    }
    #DR {
        width: max-content;
    }
  }