@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital@1&display=swap');

:root {
  --blanco: #ffffff;
  --oscuro: #212121;
  --primario: #081e3a;
  --secundario: #4a65a8;
  --gris: #464546;
  --grisClaro: #b0b0b0;
}

html,
body {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: #fcfafd;
}

* body,
h1,
p {
  margin: 0;
  padding: 0;
}

/*
.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.playfair-display-<uniquifier> {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.merriweather-regular {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: normal;
}
.merriweather-bold {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-style: normal;
}
.merriweather-regular-italic {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
}
.merriweather-bold-italic {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-style: italic;
}
.dancing-script-<uniquifier> {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}*/

/*TIPOGRAFIAS*/
h1 {
  text-align: center;
  color: var(--primario);
  font-family: "Merriweather", serif;
  font-weight: 600;
  font-size: 1em;
  padding: 2%;
}

h2 {
  text-align: left;
  color: var(--gris);
  font-family: "Merriweather", serif;
  font-style: bold;
  font-weight: 900;
  font-size: 3em;
  padding-left: 2%;
}

h3 {
  text-align: center;
  color: var(--blanco);
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 2.5em;
  text-shadow: 4px 4px 2px var(--secundario);
  padding-bottom: 2%;
}

h4 {
  text-align: center;
  color: var(--gris);
  font-family: "Merriweather", serif;
  font-style: bold;
  font-size: large;
  color: var(--primario);
}

p {
  font-family: "Merriweather", serif;
  font-size: medium;
  text-align: justify;
  color: var(--oscuro);
}

/* Navegacion Principal */
.nav-bg {
  background-color: var(--blanco);
}

.navegacion-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .navegacion-principal {
    flex-direction: row;
    justify-content: space-around;
  }
}

.navegacion-principal a {
  display: block;
  text-align: center;
  color: var(--oscuro);
  text-decoration: none;
  font-family: "Merriweather", serif;
  font-size: small;
  font-weight: 400;
  padding: 0.5rem;
}

.navegacion-principal a:hover {
  font-weight: 700;
  color: var(--secundario);
}

/*PORTADA*/
.portada {
  height: 60%;
  background-image: url(./img/2.png);
  background-size: cover;
  /*para que cubra toda la pantalla*/
  background-attachment: fixed;
  /*para que la imagen quede quieta cuando hago scroll*/
  padding: 8%;
}

/*TITULO PRINCIPAL*/
.titulo {
  text-align: center;
  font-family: "Montserrat Classic", sans-serif;
  font-weight: 800;
  font-size: 2.5em;
  color: var(--blanco);
  text-shadow: 4px 4px 2px var(--secundario);
}

.texto {
  padding: 1% 4% 3% 4%;
  background-image: linear-gradient(to top, var(--grisClaro) 0%, var(--blanco) 100%);
}

/*1er BANNER*/
.img02 {
  height: 40%;
  background-image: url(./img/2.jpg);
  background-size: cover;
  background-attachment: fixed;
  padding: 4% 6%;
}

.img02>p {
  text-align: center;
  font-family: "Libre Baskerville", serif;
  color: var(--blanco);
  font-style: italic;
  font-weight: 600;
  font-size: 2em;
  text-shadow: 4px 3px 2px var(--oscuro);
}

/*RESEÑAS*/

@media (min-width: 768px) {
  .reseña {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    padding-top: 2%;
  }
}

.sombra {
  box-shadow: 0px 5px 15px 0px var(--gris);
  background-color: var(--blanco);
  padding: 4%;
  border-radius: 2rem;
  margin: 2% 4%
}

.res1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.res1 p {
  line-height: 1.5;
  text-align: center;
  font-size: small;
}

.res1 span {
  line-height: 1.5;
  text-align: center;
  font-size: small;
  font-style: italic;
}

/*AUTOR*/
.autor {
  height: 90%;
  background-image: url(./img/banner/2.jpg);
}

.contenedor {
  display: flex;
  flex-direction: column;
}

.frase {
  padding: 0% 4% 2% 4%;
}

.foto {
  width: 60%;
  height: 20%;
  border-radius: 10%;
  padding-bottom: 2%;
  margin: auto;
  display: flex;
  image-rendering: optimizeQuality
}

@media (min-width: 768px) {
  .contenedor {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .foto {
    width: 60%;
    height: 50%;
    padding: 3% 2%;
  }
}

/* 2do BANNER */
.img03 {
  background-image: url(./img/ia.webp);
  background-size: cover;
  background-attachment: fixed;
  padding: 4% 6%;
  opacity: 90%;
}

.img03>p {
  text-align: center;
  font-family: "Libre Baskerville", serif;
  color: var(--blanco);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5em;
  text-shadow: 4px 3px 2px var(--oscuro);
}

@media (min-width: 768px) {
  .img03 {
    height: 45%;
    background-image: url(./img/ia.webp);
    background-size: cover;
    background-attachment: fixed;
    padding: 4% 6%;
    opacity: 90%;
  }

  .img03>p {
    text-align: center;
    font-family: "Libre Baskerville", serif;
    color: var(--blanco);
    font-style: italic;
    font-weight: 600;
    font-size: 2em;
    text-shadow: 4px 3px 2px var(--oscuro);
  }
}

/*COMPRAR*/
.comprar {
  height: 35%;
  padding: 1%;
  background-color: var(--grisClaro);
}

.contenedor_boton {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
}

.informacion {
  width: 100%;
  padding: 10px 10px;
  border: 2px transparent;
  text-decoration: none;
  color: var(--blanco);
  background-color: var(--primario);
  border-radius: 15px;
  box-shadow: 1px 1px 15px -5px;
  font-weight: 400;
  cursor: pointer;
  transition: box-shadow 500 ms;
  text-align: center;
  font-family: "Merriweather", serif;
  font-size: smaller;
}

@media (min-width: 768px) {
  .contenedor_boton {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .informacion {
    width: 100%;
    padding: 10px 10px;
    border: 1px transparent;
    text-decoration: none;
    color: var(--blanco);
    background-color: var(--primario);
    border-radius: 15px;
    box-shadow: 1px 1px 15px -5px;
    font-weight: 400;
    cursor: pointer;
    transition: box-shadow 500 ms;
    text-align: center;
    font-family: "Merriweather", serif;
    font-size: smaller;
  }
}

.informacion:hover {
  color: var(--grisClaro);
  box-shadow: 1px 1px 30px -5px var(--secundario);
  font-weight: 700;
  font-style: bold;
}

.contacto {
  background-color: var(--blanco);
  padding: 1%;
}

.contacto>p {
  text-align: center;
  padding-bottom: 2%;
}

.footer {
  background-color: var(--grisClaro);
  padding: 2%;
}

.footer>p {
  text-align: center;
  font-size: small;
}