/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
 

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * 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
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


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


/****/


/**fuentes
    font-family: 'Belleza', sans-serif;

    font-family: 'Lato', sans-serif;


**/


/**GENERALES**/

html {
    box-sizing: border-box;
}

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


/**CONTENEDOR**/

body {
    background-color: #f2f2f2;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

p,
li {
    font-family: 'Belleza', sans-serif;
    font-size: 18px;
}

.contenedor {
    width: auto;
    margin: 40px;
    padding: 0px;
}

span {
    color: #000000;
}

.ul {
    list-style: none;
}

.clear,
.clear:after {
    content: '';
    clear: both;
    display: block;
}

.center {
    text-align: center;
}

.img-secundaria {
    text-align: center;
    margin: 0 auto;
    float: right;
}

  


/**grid**/

@media only screen and (min-width:768px) {
    .contenedor-grid {
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 15px;
    }
    .contenedor-grid::after {
        content: '';
        display: block;
        clear: both;
    }
    [ class*="columnas"] {
        padding: 0 10px;
        float: left;
    }
    .columnas1-4 {
        width: 25%;
    }
    .columnas2-4 {
        width: 50%;
    }
    .columnas3-4 {
        width: 75%;
    }
    .columnas1-3 {
        width: 33.3%;
    }
    .columnas2-3 {
        width: 66.6%;
    }
}


/**HEADER**/

div.hero {
    background-image: url(../img/covers/terminales-zk.jpg);
    height: 80vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}



div.conteido-header {
    padding-top: 40px;
}

.logo {
    float: left;
    margin-left: 50px;
    margin-top: -30px;
}

img.logotipo {
    width: 50px;
    margin-left: 20px;
}

nav ul {
    float: right;
    margin-right: 70px;
}

nav ul li {
    display: inline-block;
}

nav ul li:not(:first-child) {
    margin-left: 50px;
}

nav ul li:last-child {
    margin-right: 25px;
}

nav ul li a {
    padding: 20px 10px;
    display: inline-block;
    outline: none;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1.2px;
}

nav ul li a:hover {
    border-bottom: 5px solid #46e2ec;
}


div.text-titulo {
    margin: 15px 15px;
    padding: 15px 15px;
}

div.tex-desc {
    position: absolute;
    top: 50%;
    right: 2%;
    font-size: 20px;
    color: #f2f2f2;
}


@media only screen and (max-width:864px) {
    .logo {
        padding: 0;
    }
    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: #fff;
        opacity: 0;
        transition: all 0.2s ease;
    }
    .nav-wrapper ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }
    .nav-wrapper ul li {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }
    .nav-wrapper ul li:nth-child(1) a {
        transition-delay: 0.2s;
    }
    .nav-wrapper ul li:nth-child(2) a {
        transition-delay: 0.3s;
    }
    .nav-wrapper ul li:nth-child(3) a {
        transition-delay: 0.4s;
    }
    .nav-wrapper ul li:nth-child(4) a {
        transition-delay: 0.5s;
    }
    .nav-wrapper ul li:not(:first-child) {
        margin-left: 0;
    }
    .nav-wrapper ul li a {
        padding: 10px 24px;
        opacity: 0;
        color: #000;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1.2px;
        transform: translateX(-20px);
        transition: all 0.2s ease;
    }
    .nav-btn {
        position: fixed;
        right: 10px;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
    }
    .nav-btn i {
        display: block;
        width: 20px;
        height: 2px;
        background: #000000;
        border-radius: 2px;
        margin-left: 14px;
    }
    .nav-btn i:nth-child(1) {
        margin-top: 16px;
    }
    .nav-btn i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }
    .nav-btn i:nth-child(3) {
        margin-top: 4px;
    }

    div.text-titulo {
        margin: 15px 15px;
        padding: 15px 15px;
    }
    
    div.tex-desc {
        position: absolute;
        top: 50%;
        left: 5%;
        font-size: 16px;
        color: #f2f2f2;
    }    
}

#nav:checked+.nav-btn {
    transform: rotate(45deg);
}

#nav:checked+.nav-btn i {
    background: #000000;
    transition: transform 0.2s ease;
}

#nav:checked+.nav-btn i:nth-child(1) {
    transform: translateY(6px) rotate(180deg);
}

#nav:checked+.nav-btn i:nth-child(2) {
    opacity: 0;
}

#nav:checked+.nav-btn i:nth-child(3) {
    transform: translateY(-6px) rotate(90deg);
}

#nav:checked~.nav-wrapper {
    z-index: 9990;
    opacity: 1;
}

#nav:checked~.nav-wrapper ul li a {
    opacity: 1;
    transform: translateX(0);
}

.hidden {
    display: none;
}
/****/
.reloj-checador {
    margin: 1rem 1rem;
}

.relojchecador {
    margin: auto;
    text-align: center
}

@media only screen and (max-width:773px){
    .relojchecador {
        margin: auto;
        text-align: center
    }
    .relojchecador h1 {
        font-size: 2rem
    }   
}


/****/
@import url("https://fonts.googleapis.com/css?family=Fredoka+One&display=swap");
@import url("https://fonts.googleapis.com/css?family=Courgette&display=swap");
.container  {
    margin: 1rem 1rem;
    padding: 1rem 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
  align-items: flex-start;
}

.grid > article {
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
}

.grid > article img {
  max-width: 100%;
}

.grid > article img:hover{
    filter: opacity(90%);
}

.grid .text {
  padding: 20px;
  text-align: center;
}

.grid .text h3 {
  font-size: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
}

.grid .text >a {
    text-transform: none;
    text-decoration: none;
    color: #000000;
}

.grid .text p {
  font-size: 0.9rem;
}

.grid .text p a {
  text-decoration: none;
  font-weight: bold;
  color: #555;
  font-family:Arial, Helvetica, sans-serif;
}

/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/****/
/**Footer**/

footer {
    background-color: #46e2ec;
    padding-top: 20px;
}

footer .contenedor>div {
    color: #222;
    padding: 0px 2px;
    font-size: 12px;
}

@media only screen and (min-width:768px) {
    footer .contenedor>div {
        width: 33.3%;
        float: left;
    }
}

footer h3 {
    color: #000000;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 22px;
    font-family: 'Lato', sans-serif;
}

footer .ultimo-nosotros li {
    margin-bottom: 20px;
}

footer nav.redes-sociales {
    text-align: center;
    float: left;
}

p.copyright {
    background-color: aqua;
    color: #000000;
    font-weight: 400;
    padding: 10px 0;
    margin: 20px 0 0 0;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

nav.redes-sociales {
    text-align: center;
}

nav.redes-sociales a {
    color: #000000;
    font-size: 2.5em;
    margin-right: 20px;
}

nav.redes-sociales a:last-child {
    margin-right: 0;
}

nav.redes-sociales a:nth-child(1) {
    color: #3D5998;
}

nav.redes-sociales a:nth-child(2) {
    color: #C43083;
}

nav.redes-sociales a:nth-child(3) {
    color: #D92531;
}

.activo {
    border-bottom: 5px solid #46e2ec;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}


/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.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) {
    /* Style adjustments for viewports that meet the condition */
}

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


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

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        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 {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}

