/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
}

*, *:before, *:after {
    box-sizing: border-box;
}


/* FONTS */

@font-face {
    font-family: 'Scala';
    src: url('../../fonts/scala.woff2') format('woff2'),
        url('../fonts/scala.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scala';
    src: url('../fonts/scala-italic.woff2') format('woff2'),
        url('../fonts/scala-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Scala';
    src: url('../fonts/scala-bold.woff2') format('woff2'),
        url('../fonts/scala-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/helvetica-bold.woff2') format('woff2'),
        url('../fonts/helvetica-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/helvetica-bold-italic.woff2') format('woff2'),
        url('../fonts/helvetica-bold-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

html, div, p, ul, ol, li {
    font-family: Scala;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica;
}

h1, h2, h3 {
    font-size: 64px;
}

h6 {
    font-size: 16px;
}

sup {
    font-size: 10px;
    vertical-align: super;
}

small {
    font-size: 9px;
}

.fuente {
    font-size: 8px;
}

i, .italic {
    font-style: italic;
}

strong, .bold {
    font-weight: bold;
}

.nw {
    white-space: nowrap;
}

@media (max-width: 1360px) {
    h1, h2, h3 {
      font-size: calc(32px + 32 * ((100vw - 320px) / 1040));
    }
}


/* COLORES */

:root {
    --blanco: #ffffff;
    --gris: #e7e8e8;
    --negro: #000000; 
    --rojo: #e53219;
    --tinto: #b83218;
    --amarillo: #ffbe00;
    --cielo: #0089fa;
    --rosa: #ff64e1;
    --azul: #0000a3;
    --naranja: #ff7d00;
    --verde: #64c864;
    --morado: #6d1ec3;
    --azulo: #f2f3fa;
    --naranjao: #fff8f4;
    --verdeo: #f7fcf7;
    --moradoo: #f7f4fc;
  }

.cielo {
    color: var(--cielo) !important;
}

.amarillo {
    color: var(--amarillo) !important;
}

.rosa {
    color: var(--rosa) !important;
}


/* GENERAL */

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.5;
}

.exp {
    width: 100vw;
    height: 300px;
    margin-left: -20px;
    margin-top: 30px;
    background-size: cover !important;
    background-position: center center !important;
}

img {
    max-width: 100%;;
}


/* MENU */

nav {
    background: var(--blanco);
    border-bottom: 2px solid var(--negro);
    max-width: none;
    width: 100%;
    position: fixed;
    padding: 20px 20px 15px 20px;
    z-index: 10;
}

nav img {
    width: 29px;
}

nav small {
    float: right;
    padding: 4px 0;
}

nav sup {
    font-size: 6px;
}


/* TABLAS */

section {
    padding: 100px 20px 40px 20px;
}

table {
    width: 100%;
    margin-top: 40px;
}

td {
    border: 10px solid var(--blanco);
    padding: 20px 10px;
    text-align: center;
    vertical-align: middle;
    width: 50%;
}

td:first-child {
    border-left: 0;
}

td:last-child {
    border-right: 0;
}

td:empty {
    background: none !important;
}

.diario td {
    background: var(--azulo);
}

.antojos td {
    background: var(--naranjao);
}

.saludable td {
    background: var(--verdeo);
}

.creativamente td {
    background: var(--moradoo);
}


/* RECETAS */

p {
    margin-top: 20px;
    line-height: 1.4;
}

.diario .exp {
    background: url('../img/receta-diario.jpg');
}

.antojos .exp {
    background: url('../img/receta-antojos.jpg');
}

.saludable .exp {
    background: url('../img/receta-saludable.jpg');
}

.creativamente .exp {
    background: url('../img/receta-creativamente.jpg');
}

.nav {
    margin-top: 40px;
    display: block;
}

.nav a {
    display: inline-block;
    padding: 30px 10px 10px 10px;
    width: 30%;
    height: 30vw;
    margin-right: 2%;
    text-align: center;
    vertical-align: top;
}

.nav a:hover {
    opacity: 1;
}

.antojos .nav a {
    width: 47%;
    height: 40vw;
    margin-bottom: 20px;
}

.saludable .nav a {
    height: 35vw;
    padding-top: 20px;
}

.creativamente .nav a {
    padding-top: 20px;
}

.diario .nav a {
    border: 2px solid var(--azul);
}

.diario .nav a:hover {
    background: var(--azulo);
}

.antojos .nav a {
    border: 2px solid var(--naranja);
}

.antojos .nav a:hover {
    background: var(--naranjao);
}

.saludable .nav a {
    border: 2px solid var(--verde);
}

.saludable .nav a:hover {
    background: var(--verdeo);
}

.creativamente .nav a {
    border: 2px solid var(--morado);
}

.creativamente .nav a:hover {
    background: var(--moradoo);
}

.anav a:not(a:nth-child(2)) h6 {
    padding-top: 1em;
}
 
.anav h6 {
    width: 100%;
    height: 40px;
    vertical-align: bottom;
    padding: 0;
}

.nav img {
    display: block;
    width: 50%;
    margin: 20px 0 10px 25%;
}

.boton {
    margin-top: 40px;
    margin-bottom: 40px;
    float: right;
    text-align: center;
    padding: 10px 30px;
    font-family: Helvetica;
    padding-top: 15px;
}

.boton:hover {
    color: var(--blanco);
    opacity: 1;
}

.diario .boton {
    border: 1px solid var(--azul);
}

.diario .boton:hover {
    background: var(--azul);
}

.antojos .boton {
    border: 1px solid var(--naranja);
}

.antojos .boton:hover {
    background: var(--naranja);
}

.saludable .boton {
    border: 1px solid var(--verde);
}

.saludable .boton:hover {
    background: var(--verde);
}

.creativamente .boton {
    border: 1px solid var(--morado);
}

.creativamente .boton:hover {
    background: var(--morado);
}


/* EJEMPLOS */

h6:not(a h6) {
    margin-top: 40px;
}

hr {
    border-width: 0;
    height: 2px;
    margin: 20px 0;
    width: 80px;
}

.diario hr {
    background: var(--azul);
}

.antojos hr {
    background: var(--naranja);
}

.saludable hr {
    background: var(--verde);
}

.creativamente hr {
    background: var(--morado);
}

.ex {
    margin-top: 60px;
    width: 100%;
}

.ejemplos a {
    display: block;
    margin-bottom: 20px;
}

.ex a {
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
}

.ex small {
    font-size: 12px;
}