/**
 * 1. Corregir la altura de la línea en todos los navegadores.
 * 2. Evitar ajustes de tamaño de fuente después de cambios de orientación en iOS.
 */

html {
    line-height: normal;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


/* Secciones
   ========================================================================== */


/**
 * Eliminar el margen en todos los navegadores.
 */

body {
    margin: 0px;
}


/**
 * Representar el elemento `principal` consistentemente en IE.
 */

main {
    display: block;
}


/**
 * Corregir el tamaño de la fuente y el margen en los elementos `h1` dentro de `sección` y
 * `artículo` contextos en Chrome, Firefox, y Safari.
 */

h1 {
    font-size: 2em;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
}


/* Agrupación de contenidos
   ========================================================================== */


/**
 * 1. Añade el tamaño de caja correcto en Firefox.
 * 2. Mostrar el desbordamiento en Edge e IE.
 */


/*
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
*/


/**
 * 1. Corregir la herencia y el escalado del tamaño de la fuente en todos los navegadores.
 * 2. Corregir el tamaño de las fuentes `em` en todos los navegadores.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Semántica a nivel de texto
   ========================================================================== */


/**
 * Eliminar el fondo gris en los enlaces activos en IE 10.
 */

a {
    background-color: transparent;
}


/**
 * 1. Eliminar el borde inferior en Chrome 57-
 * 2. Añade la decoración de texto correcta en Chrome, Edge, IE, Opera y Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: none;
    /* 2 */
    text-decoration: none;
    /* 2 */
}


/**
 * Añade el peso de fuente correcto en Chrome, Edge y Safari.
 */

b,
strong {
    font-weight: bold;
}


/**
 * 1. Corregir la herencia y el escalado del tamaño de la fuente en todos los navegadores.
 * 2. Corregir el tamaño de las fuentes `em` en todos los navegadores.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
 * Agregue el tamaño de fuente correcto en todos los navegadores.
 */

small {
    font-size: 80%;
}


/**
 * Evitar que los elementos `sub` y `sup` afecten la altura de la línea en
 * todos los navegadores.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
    margin-left: 0;
    margin-right: 0;
}

sup {
    top: -0.5em;
    margin-left: 0;
    margin-right: 0;
}


/* Contenido incorporado
   ========================================================================== */


/**
 * Eliminar el borde de las imágenes dentro de los enlaces en IE 10.
 */

img {
    border-style: none;
}


/* Formas
   ========================================================================== */


/**
 * 1. Cambiar los estilos de fuente en todos los navegadores.
 * 2.  * 2. Elimina el margen en Chrome, Firefox y Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 0;
    /* 1 */
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    /* 2 */
}


/**
 * Mostrar el desbordamiento en IE.
 * 1. Mostrar el desbordamiento en Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
 * Elimina la herencia de transformación de texto en Edge, Firefox e IE.
 * 1. Elimina la herencia de transformación de texto en Chrome y Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}


/**
 * Corrija la incapacidad de aplicar estilo a los tipos en los que se puede hacer clic en iOS y Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}


/**
 * Elimina el borde interior y el relleno en Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: 0;
    /* 1 */
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
   ========================================================================== */


/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

summary {
    display: list-item;
}


/* Misc
   ========================================================================== */


/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

[hidden] {
    display: none;
}