/* FUENTES */

@font-face {
    font-family: "trebuchetMS";
    src: url("fonts/TrebuchetMS.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url("fonts/BebasNeue.otf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url("fonts/websymbols-regular-webfont.eot");
    src: url("fonts/websymbols-regular-webfont.eot?#iefix") format("embedded-opentype"),
         url("fonts/websymbols-regular-webfont.woff") format("woff"),
         url("fonts/websymbols-regular-webfont.ttf") format("truetype"),
         url("fonts/websymbols-regular-webfont.svg#WebSymbolsRegular") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* ESTILOS GENERALES */

*{
    margin: 0px;
    padding: 0px;
}

body{
    background-image: url(../img/pattern.png);
}

.wrap{
    margin: 0px auto;
    width: 1250px;
}

.aside-box{
    width: 85%;
    height: 240px;
    margin: 0px auto;
    margin-top: 20px;
    padding-top: 2px;
    background-color: white;
    box-shadow: 0px 0px 1px rgba(0,0,0,0.3), 0px 3px 7px rgba(0,0,0,0.3),  0px 1px white inset, 0px -3px 2px rgba(0,0,0,0.3) inset;
}

.salto{
    float: none;
    clear: both;
}

/* CABECERA - LOGOTIPO*/

.gear, .icon, .icon{
    font-family: "WebSymbolsRegular";
}

#header{
    width: 100%;
    height: 70px;
    background-color: black;
    font-family: "BebasNeue";
    color: white;
}

#logo{
    float: left;
    display: block;
    width: 200px;
    background-color: #37BCF9;
    text-align: center;
    margin-top: 8px;
    margin-left: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms;
}

#logo:hover{
    border-radius: 5px;
    color: black;
    background-color: #ccc;
}

#logo:hover .gear{
    animation: fromBelow 500ms linear;
}

@keyframes fromBelow{

    0%{
        transform: translateY(0%);
    }
    50%{
        transform: translateY(200%);
    }
    100%{
        transform: translateY(0%);
    }
}

#logo .gear{
    display: block;
    float: left;
    font-size: 30px;
    margin-top: 8px;
    margin-left: 26px;

    /* ANIMACION DE HEAR */
    animation-name: rotate-gear;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rotate-gear{

    from{
        transform: rotateZ(0deg);
    }
    to{
        transform: rotateZ(360deg);
    }
}

#logo h3{
    display: block;
    float: right;
    font-size: 40px;
    margin-top: 5px;
    transition: all 300ms;
    margin-right: 60px;
}

#logo:hover h3{
    animation: fromRight 500ms linear;
}

@keyframes fromRight{

    from{
        transform: translateX(200%);
    }
    to{
        transform: translateX(0%);
    }
}

/* CABECERA - BARRA NAVEGACION */

#menu{
    float: right;
    height: 70px;
    background-color: transparent;
}

#menu ul li{
    font-size: 24px;
    display: inline-block;
    margin: 0px 20px 0px 20px;
    letter-spacing: 1px;
    line-height: 70px;
}

#menu ul li a{
    display: block;
    text-decoration: none;
    color: white;
    transition: all 200ms;
}

#menu ul li a:hover{
    color: #37BCF9;
    transform: scale(1.2,1.2);
}

/* BANNER */

#banner{
    overflow: hidden;
    width: 95,5%;
    height: 100px;
    border: 10px solid white;
    box-shadow: 0px 0px 2px gray;
    background-image: url(../img/bakbaner.png);
    background-position: -250px -200px;
    margin: 20px auto;
    animation: backBanner 10s linear;
}

@keyframes backBanner{
    from{
        background-position: 0px 0px;
    }
    to{
        background-position: -250px -200px;
    }
}

#banner h1{
    display: block;
    width: 850px;
    font-family: "BebasNeue";
    color: white;
    font-size: 45px;
    letter-spacing: 2px;
    margin: 27px auto;
    font-weight: normal;
    text-shadow: 2px 2px 1px black;
    animation: showText 10s linear;
}

@keyframes showText{
    0%{
        transform: translateX(-600%) scale(5,5);
        opacity: 1;
    }
    50%{
        transform: translateX(600%) scale(5,5);
        opacity: 1;
    }
    75%{
        transform: translateX(-600%) scale(5,5);
        text-shadow: none;
        color: transparent;
        opacity: 0;
    }
    100%{
        transform: translateX(0%) scale(1,1);
        text-shadow: 2px 2px 1px black;
        color: white;
        opacity: 1;  
    }
}

/* BANNER TARJETAS */

#cards{
    margin: 0px auto;
    text-align: center;
}

.card{
    overflow: hidden;
    margin: 22px;
    margin-top: 40px;
    display: block;
    float: left;
    height: 305px;
    width: 205px;
    cursor: pointer;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 2px #ddd;
    transition: all 300ms;
}

.card:hover{
    background-color: black;
}

.card:last-child{
    margin-right: 0px;
}

.card .icon{
    display: block;
    width: 100%;
    height: 130px;
    font-size: 50px;
    line-height: 110px;
    text-align: center;
    margin: 0px auto;
    transition: all 300ms;
}

.card:hover .icon{
    font-size: 70px;
    color: #37BCF9;
    animation: showIcon 300ms linear;
}

@keyframes showIcon{
    from{
        transform: translateY(-200%);
    }
    to{
        transform: translateY(0%);
    }
}

.card .category{
    width: 100%;
    height: 50px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #00538C;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    transition: all 300ms;
}

.card:hover .category{
    color: white;
    animation: showCategory 400ms linear;
}

@keyframes showCategory{
    from{
        transform: translateY(-300%);
        color: black;
    }
    to{
        transform: translateY(0%);
        color: white;
    }
}

.card .description{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #056eb4;
    text-align: center;
    font-size: 15px;
    transition: all 300ms;
}

.card:hover .description{
    color: white;
    animation: showDescription 300ms linear;
}

@keyframes showDescription{
    from{
        transform: translateX(-300%);
        color: black;
    }
    to{
        transform: translateX(0%);
        color: white;
    }
}


/* BARRA LATERAL */

#lateral{
    width: 300px;
    min-height: 1200px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    float: right;
    margin: 20px;
}

#lateral h3{
    display: block;
    width: auto;
    height: 45px;
    line-height: 49px;
    background-image: url(../img/pxgray.png);
    box-shadow: 0px 1px 0px #393d3f, 1px 2px 0px #393d3f, 2px 3px 0px #393d3f, 3px 4px 0px #393d3f;
    font-size: 30px;
    font-family: "BebasNeue";
    font-weight: normal;
    letter-spacing: 1px;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#lateral h3:first-child{
    margin-top: 0px;
}

/* BARRA LATERAL  --> (BUSCADOR) */

#search{
    width: 90%;
    height: 30px;
    margin: 10px auto;
    background-color: white;
    border-radius: 5px;
    box-shadow: 1px 1px 4px #ccc inset;

}

#lateral input[type="text"],
#lateral input[type="password"],
#lateral input[type="email"]{
    width: 85%;
    height: 30px;
    border: none;
    padding-left: 5px;
    border-radius: 5px;
    background-color: transparent;
    color: #ccc;
    transition: all 400ms;
}

#lateral input[type="text"]:focus,
#lateral input[type="password"]:focus,
#lateral input[type="email"]:focus{
    color: #555;
}

#lateral input[type="button"],
#lateral input[type="submit"]{
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    background-color: transparent;
    border-left: 1px solid #ccc;
    padding: 6px;
    color: #555;
}

/* BARRA LATERAL  --> (LOGIN) */

#login input[type="text"],
#login input[type="email"],
#login input[type="password"]{
    display: block;
    margin: 0px auto;
    width: 82%;
    height: 30px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1px #ccc inset;
    border-radius: 5px;
    margin-top: 20px;
    padding-left: 30px;
    color: #ccc;
    transition: all 400ms;
}

#login input[type="text"]:focus,
#login input[type="email"]:focus,
#login input[type="password"]:focus{
    color: #555;
    box-shadow: 1px 1px 1px gray inset;
}

#login #user{
    display: block;
    text-align: center;
    position: absolute;
    margin-left: 15px;
    margin-top: 6px;
    height: 30px;
}

#login #password{
    display: block;
    text-align: center;
    position: absolute;
    margin-left: 19px;
    margin-top: 27px;
    height: 30px;
}

#login input[type="submit"],
#login input[type="reset"]{
   
    text-align: center;
    width: 100px;
    height: 35px;
    background: linear-gradient(to bottom, #3eb8e5 0%, #2ca0ca 100%);
    color: white;
    margin-top: 20px;
    border: 1px solid #156785;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: lighter;
    margin-left: 17px;
    margin-bottom: 20px ;
    transition: all 300ms;
}

#login input[type="submit"]:hover,
#login input[type="reset"]:hover{
   box-shadow: 0px 0px 3px black;
}

#login a{
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: #555;
    margin-left: 18px;
}

#login a:hover{
    text-decoration: underline;
    color: #2f78bc;
}

/* BARRA LATERAL  --> (REDES SOCIALES) */

#social{
    height: 190px;
}

#social a{
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 30px;
    margin-left: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
}

#social .overlay{
    display: block;
    height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0px 0px 1px #ccc;
    border: 3px solid white;
    box-shadow: 0px 0px 4px #ccc;
    background-color: #f4f7fe;
    position: absolute;
    padding: 5px;
    margin-left: 70px;
    margin-top: -52px;
    cursor: pointer;
    transform: translateX(-80%);
    opacity: 0;
    transition: all 300ms;
}

#social div:hover .overlay{
    opacity: 1;
    transform: translateX(0%);
}

/* CONTENIDO PRINCIPAL */

/* CONTENIDO PRINCIPAL  --> (TITULO) */

#articles{
    width: 860px;
    float: left;
}

#articles h2{
    display: block;
    width: 100%;
    height: 75px;
    line-height: 75px;
    text-align: center;
    font-size: 40px;
    font-family: "BebasNeue";
    font-weight: normal;
    background-image: url(../img/pxgray.png);
    box-shadow: 0px 1px 0px #393d3f, 1px 2px 0px #393d3f, 2px 3px 0px #393d3f, 3px 4px 0px #393d3f;
    letter-spacing: 2px;
    margin-top: 20px;
    padding-left: 15px;
    margin-bottom: 15px;
}

#articles article{
    width: 98%;
    height: auto;
    margin: 40px auto;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 2px #ddd;
    padding: 10px;
    color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#articles article h4{
    display: block;
    font-size: 23px;
    margin: 3px;
}

#articles article h4 a{
    text-decoration: none;
    color: #00538c;
}

#articles article h4 a:hover{
    text-decoration: underline;
}

#articles article p{
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
}

#articles article a{
    text-decoration: none;
    color: #00538c;
}

#articles article a:hover{
    text-decoration: underline;
    color: #00538c;
}

#articles .data{
    float: right;
    background-color: #393d3f;
    color: white;
    height: 30px;
    line-height: 30px;
    margin: -10px;
    padding: 4px;
    font-size: 13px;
    border-radius: 0px 0px 0px 5px;
}

#articles .data span{
    margin: 6px;
}

#articles #blog{
    height: 100px;
    margin-top: 60px;
    line-height: 100px;
    text-align: center;
    font-family: "BebasNeue";
    transition: all 800ms;
}

#blog a{
    display: block;
    font-family: "BebasNeue";
    font-size: 40px;
    letter-spacing: 3px;
    color: #00538C;
    text-decoration: none;
    transition: all 800ms;
}

#blog:hover{
    background-color: #333;
    border: 10px solid #37BCF9;
    border-radius: 240px;
    box-shadow: 0px 0px 10px gray;
    animation: blink 8s infinite linear;
}

#blog:hover a{
    color: white;
    text-shadow: 1px 1px 1px black, 1px 2px 1px black, 1px 3px 1px black, 1px 4px 1px black, 1px 5px 1px black, 1px 6px 1px black;
}

@keyframes blink{
    0%{
        border: 10px solid #37BCF9;
    }
    25%{
        border: 10px solid green;
    }
    50%{
        border: 10px solid yellow;
    }
    75%{
        border: 10px solid white;
    }
    100%{
        border: 10px solid #37BCF9;
    }
}

/* FOOTER */

#footer{
    width: 100%;
    height: 470px;
    background-color: black;
    color: white;
    overflow: hidden;
}

#footer .wrap > div{
    float: left;
    width: 320px;
    height: 370px;
    margin: 40px;
    text-align: center;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#footer a{
    text-decoration: none;
    color: #37BCF9;
    transition: all 300ms;
}

#footer h5{
    display: block;
    background-color: white;
    background-image: url(../img/pxgray.png);
    text-align: center;
    height: 50px;
    line-height: 55px;
    color: black;
    font-family: "BebasNeue";
    font-size: 40px;
    border-radius: 5px;
    margin-bottom: 15px;
}

#footer #menu_footer ul{
    text-align: left;
    margin: 20px;
    font-size: 25px;
}

#footer #menu_footer ul li{
    margin-top: 10px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

#footer ul li a{
    display: block;
    height: 40px;
    transition: all 300ms;
}

#footer ul li:hover a{
    padding-left: 40px;
    color: white;
    width: 100%;
}

#footer iframe{
    width: 100%;
    height: 80%;
    margin-top: 10px;
    border-radius: 5px;
    border: 5px solid white;
    box-shadow: 0px 0px 5px gray;
}

#footer img{
    margin-bottom: 15px;
}

#info_footer #browsers img{
    width: 45px;
}
