/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



@font-face {
    font-family: 'Rosario';
    font-style: normal;
    font-weight: 400;
    src: local('Rosario Regular'), local('Rosario-Regular'), url(../webfonts/Rosario-Regular.woff2) format('woff2'), url(../webfonts/Rosario-Regular.woff) format('woff');
}
@font-face {
    font-family: 'Rosario';
    font-style: normal;
    font-weight: 700;
    src: local('Rosario Bold'), local('Rosario-Bold'), url(../webfonts/Rosario-Bold.woff2) format('woff2'), url(../webfonts/Rosario-Bold.woff) format('woff');
}
@font-face {
    font-family: 'Rosario';
    font-style: italic;
    font-weight: 400;
    src: local('Rosario Italic'), local('Rosario-Italic'), url(../webfonts/Rosario-Italic.woff2) format('woff2'), url(../webfonts/Rosario-Italic.woff) format('woff');
}
@font-face {
    font-family: 'Rosario';
    font-style: italic;
    font-weight: 700;
    src: local('Rosario Bold Italic'), local('Rosario-BoldItalic'), url(../webfonts/Rosario-BoldItalic.woff2) format('woff2'), url(../webfonts/Rosario-BoldItalic.woff) format('woff');
}







html,
button,
input,
select,
textarea {
    color:#000000;
    font-family: 'Rosario', serif;
    font-size:1em;
    font-weight:400;
    -webkit-font-smoothing:antialiased;
}
html{
    background-color:#FFFFFF;
    font-size:1em;
    line-height:1.3;
}



::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */



.contenedor{
    position:relative;
    margin:0 auto;
}


header{
    background-color:#99CC33;
    margin:0 auto;
    height:40px;

    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}
header h1,
header h2{
    font-weight:400;
    line-height:40px;
    margin:0;
    padding:0;
}
header h1{
    font-size:1.313rem;
    margin-right:20px;
}
header h2{
    font-size:1rem;
    line-height:42px;
}
header a{
    color:#000000;
    text-decoration:none;
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}
header a:hover{
    color:#FFFFFF;
}

section{
    margin:0 auto;
    width:920px;
}
.introduccion{
    font-size:1.250rem;
    font-weight:700;
    margin:60px 0;
    text-align:center;
}

.aplicaciones{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
article{
    margin-bottom:60px;
    text-align:center;
    width:46.08695652%;
}
article a{
    color:#000000;
    text-decoration:none;
}
article h3{
    font-size:1rem;
    margin:20px 0 0 0;
    padding:0;
}
article p{
    margin:12px 0 0 0;
    padding:0;
}
article p span{
    white-space: nowrap;
}
article a img{
    box-shadow:0 0 8px rgba(0,0,0,0.6);
    height:auto;
    width:100%;

    -webkit-transition: box-shadow .2s ease-in-out;
    -moz-transition: box-shadow .2s ease-in-out;
    -ms-transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out;
}
article a:hover img{
    box-shadow:0 0 12px rgba(0,0,0,0.8);
}






@media only screen and (max-width: 920px) {
    section{
        width:90%;
    }
}

@media only screen and (max-width: 620px) {

    header{
        display:block;
        height:80px;
        text-align:center;
    }
    header h1,
    header h2{
        line-height:36px;
    }

    .aplicaciones{
        display:block;
    }
    article{
        width:100%;
    }
}

@media only screen and (max-width: 420px) {

    header h2{
        font-size:0.750rem;
        line-height:42px;
    }
    
    .aplicaciones{
        display:block;
    }
    article{
        width:100%;
    }
}









/* ==========================================================================
   Helper classes
   ========================================================================== */
.hidden {
    display: none !important;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.invisible {
    visibility: hidden;
}
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*@media only screen and (min-width: 35em) {
}*/

/*@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
}*/

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
