*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    
    background-image: url(../img/fondorecetas.png);
}

header{
    display: flex;
    height: 135px;
    padding: 30px;
    justify-content: space-between;
    font-family: "Mali", serif;
    
}   

header img{
    height: 80px;
}

nav{
    max-width: 350px;
    padding-top: 15px;
}

.menu-horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu-horizontal > li > a{
    display: block;
    color: #0f6296;
    padding: 3px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-left: 30px;
    transition: transform 0.3s ease-in-out;

}


.menu-horizontal > li a:hover{
    background-color: #EB8489;
    transform: rotate(5deg);
    font-weight: 700;
    color: #FAFBCC;

}

.menu-vertical{
    list-style: none;
    position: absolute;
    text-align: center;
    display: none;
    width: 150px;
    background-color: #0f6296;
    
    
}

.swing-in-top-bck {
	-webkit-animation: swing-in-top-bck 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-top-bck 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-7-23 16:38:27
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation swing-in-top-bck
 * ----------------------------------------
 */
 @-webkit-keyframes swing-in-top-bck {
    0% {
      -webkit-transform: rotateX(70deg);
              transform: rotateX(70deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
      -webkit-transform: rotateX(0deg);
              transform: rotateX(0deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 1;
    }
  }
  @keyframes swing-in-top-bck {
    0% {
      -webkit-transform: rotateX(70deg);
              transform: rotateX(70deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
      -webkit-transform: rotateX(0deg);
              transform: rotateX(0deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 1;
    }
  }
  

.menu-horizontal li:hover .menu-vertical{
    display: block;
}

.menu-vertical li a{
    display: block;
    color: #fff8eb;
    padding: 15px;
    font-family: "bitter" , serif;
    font-size: 13px;
    text-decoration: none;


}

.menu-vertical li a:hover{
    background-color: #EB8489;
    padding: 16px;
    font-family: "mali" , serif;
    transform: none;
    font-weight: 650;
    font-size: 16px;
    color: #fff8eb;
}


.imagenhistoria{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.imagenhistoria img{
    margin-top: 20px;
    width: 1300px;
    background-color: #fff8eb;
    border-radius: 10px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 5px 10px 0 #a7a7a7;
}

.imagenhistoria :hover {
    transform: rotate(-2deg);
    transition: transform 300ms ease-in-out;
    
}

.titulohistoria{
    text-align: center;

}


.titulohistoria h2{
    font-family: "mali", serif;
    font-size: 45px;
    color: #0f6296;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 10px;
    
}

.titulohistoria h2 span{
    font-family: "mali" , serif;
    font-size: 45px;
    color: #0f6296;
    font-weight: 600;
    font-style: normal;
    
    
}

.titulohistoria hr{
    background-color: #0f6296;
    height: 5px;
    width: 57%;
    margin: auto;
    border: none;
    margin-bottom: 35px;
 }


.texto-historia{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    height: 660px;
    margin-top: 25px;
}

.texto-historia p{
    margin: 20px 0 10px 0;
    font-family: "bitter" , serif;
    color: #0f6296;
    line-height: 1.6;
    text-align: justify;
    font-size: 15px;
    
}

.texto-historia p span{
    background-color: #ffd99c;
    font-weight: 500;
    color: #1F363E;
}

.cuerpotexto{
    padding: 0 35px 0 35px;
    width: 670px;
    height: 540px;

}

.imagenpersonaje img{
    margin-top: 15px;
    width: 570px;
    height: 540px;
    background-color: #f6eede;
    border-radius: 10px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 5px 10px 0 #a7a7a7;

}

.imagenpersonaje :hover {
    transform: rotate(-2deg);
    transition: transform 300ms ease-in-out;
}

.separador{
    background-image: url(../img/separador.png);
    width: 1440px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0 3px 5px 0 #a7a7a7;
    border: 2px outset #f4f4f4;
}

/* Aquí empieza la receta */

.receta{
    padding: 50px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    height: auto;
    
    
}



.imagenprincipal img{
    height: 700px;
    width: 600px;
    background-color: #fff8eb;
    border-radius: 10px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 5px 10px 0 #a7a7a7;
    margin: 0px 0 25px 65px;
    
}

.imagenprincipal img:hover {
    transform: rotate(-2deg);
    transition: transform 300ms ease-in-out;
}



.tituloreceta h2{
    font-family: "mali" , serif;
    font-size: 35px;
    color: #0f6296;
    margin-bottom: 25px;
    text-align: center;
    
}


.tituloreceta h2 span{
    font-weight: 400;
    font-style: italic; 
    
}

.tituloreceta hr{
    background-color: #0f6296;
    height: 6px;
    width: 90%;
    margin: auto;
    border: none;
 }





.categoria{ 
    width: 90px;
    background-color: #fff8eb;
    border-radius: 10px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 5px 10px 0 #a7a7a7;
      
}

.tituloreceta img:hover {
    transform: rotate(7deg);
    transition: transform 300ms ease-in-out;
}

.tituloreceta h2{
    font-family: "mali" , serif;
    font-size: 48px;
    color: #0f6296;
    margin-bottom: 7px;
    text-align: left;
    
}

.tituloreceta h5{
    margin-top: 15px;
    font-weight: 600;
    font-family: "lato" , sans-serif;
    font-size: 25px;
    color: #0f6296;
    text-align: left;
    
}

.tituloreceta h5 span{
    font-size: 27px;
    font-style: italic;
    font-weight: 800;
    background-color: #3ccd3f;
    padding: 2px 4px 4px 2px;
    
    
    
    
}



.tituloreceta h2 span{
    font-weight: 400;
    font-style: italic; 
    
}

.tituloreceta hr{
    background-color: #0f6296;
    height: 5px;
    width: 100%;
   border: none;
   margin-bottom: 10px;
}

.tituloreceta h3{
    display: flex;
    align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
  color: #0f6296;
  font-family:"lato", sans-serif;
  padding: 7px;
  border: 7px double #0f6296;
  text-align: center;
  font-weight: 800;
 
  
}

.tituloreceta h3 span{
    font-family: "mali", serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-left: 3px;
   
    
  }

  .tituloreceta h3 img{
    width: 23px;
    margin: 0 3px 0 3px;
   
    
  }


.ingredientes{
   background-image: url(../img/texturatarjetas.png);
    background-color: #fff2ca;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 #a7a7a7;
}

.ingredientes h3{
    text-align: center;
    padding: 9px;
    letter-spacing: 12px;
    background-color: #0f6296;
    color: #FAFBCC;
    font-family: "lato", sans-serif;
    

}

.ingredientes h4{
    padding-left: 20px;
    text-align: left;
    color: #0f6296;
    font-family: "lato", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 18px;
    
    

}

.ingredientes ul{
    padding: 20px 35px 35px 35px;
}


.ingredientes li{
    color: #0f6296;
    list-style-type: square;
    font-family: "mali", serif;
    font-size: 20px;
    line-height: 1.5;


}

.preparacion{
    background-image: url(../img/texturatarjetas.png);
    background-color: #fff2ca;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 #a7a7a7;
    column-count:2;
    column-gap: 60px;
    margin: auto;
    height: auto;
    width: 93%;

}

.cinta{
    margin-left: -85px;
    height: 70px;
    transform: rotate(-4deg);
    
}

.preparacion h3{
    color: #0f6296;
    font-family: "mali" , serif;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 10px;
    
}



.preparacion hr{
    background-color: #0f6296;
    height: 5px;
    width: 44%;
    border: none;
    margin: 0 0 20px 0px;
    
 }

.preparacion p{
    text-align: justify;
    padding: 5px 0px 0 0px;
    margin-bottom: 10px;
    font-family: "bitter" , serif;
    color: #0f6296;
    line-height: 1.5;
    
}

.preparacion p span{
    background-color: #a0faa1;
    font-weight: 500;
    color: #0f6296;
}

.preparacion p strong{
    font-weight: 600;
    font-size: 18px;
    color: #3ccd3f;
}

.imagenapoyo{
    margin: 25px;
    padding: 10px;
    width: 500px;
    background-color: #fff8eb;
    border-radius: 10px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 5px 10px 0 #a7a7a7;
    
}

.preparacion img:hover {
    transform: rotate(7deg);
    transition: transform 300ms ease-in-out;
}

.preparacion p img{
    height: 16px;
    
    
}

.referencias{
    background-image: url(../img/fondoreferencias.png);
    color: #0f6296;
    padding: 50px;
    background-color: #EB8489;
    width: 100%;
    height: 190px;
    width: 100%;
}


.referencias h3{
    font-weight: 600;
    font-family: "lato" , sans-serif;
    font-size: 20px;
    color: #0f6296;
    text-align: left;
    
    
    
}

.referencias h3 span{
    font-weight: 800;
    font-family: "bitter" , serif;
    font-style: italic;
    font-size: 24px;
}

.referencias hr{
    background-color: #0f6296;
    height: 5px;
    width: 18%;
    border: none;
    margin: 0 0 20px 0px;
}

.referencias ul{
    padding-left: 20px;
    list-style: square;
    font-family: "bitter" , serif;
    font-size: 13px;
    font-weight: 600;
}

.referencias a{
    font-family: "mali" , sans-serif;
    color: #0f6296;
    font-weight: 900;
    font-style: italic;
}


footer{
    height: 70px;
    background-color: #0f6296;
    width: 100%;
  }