/* descarga de 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);

}

/*fuentes generales*/
.gear {
    font-family: "WebSymbolsRegular";
}

.icon {
    font-family: "WebSymbolsRegular";
}

.clearfix {
    float: none;
    clear: both;
}



/*formatos generales*/
* {
    margin: 0px;
    padding: 0px;
}

body {
    background: url("../img/pattern.png");
}

.wrap {
    width: 1200px;
    margin: 0px auto;
}

/* cabecera */
#header {
    width: 100%;
    height: 70px;

    background-color: black;
    font-family: "BebasNeue";
    color: white;
}

#logo {
    float: left;
    width: 200px;
    font-size: 30px;
    /*line-height: px;*/
    background-color: #37bcf9;
    text-align: center;
    margin-top: 13px;
    margin-left: 100px;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms;
}

#logo:hover{
    border-radius: 2px;
    color: black;
    background-color: #ccc;
}

#logo .gear{
    display: block;
    float: left;
    font-size: 30px;
    margin-top: 4px;
    margin-left: 26px;
    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:hover .gear{
    animation: fromBellow 500ms linear;
}

@keyframes fromBellow{
    0%{
        transform: translateY(0%);
    }
    50%{
        transform: translateY(200%);
    }
    100%{
        transform: translateY(0%);
    }
}

#logo h3{
    display: block;
    float: right;
    font-size: 30px;
    margin-top: 5px;
    margin-right: 40px;
    transition: all 300ms;
}

#logo:hover h3{
    animation: fromRight 400ms linear;
}

@keyframes fromRight{
    from{
        transform: translateX(200%);
    }
    to{
        transform: translateX(0%);
    }
}

#menu {
    float: right;
    margin-right: 125px;
    height: 70px;
    background: 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;
    color: white;

    text-decoration: none;
    transition: all 200ms;
}

#menu ul li a:hover {
    color: #37bcf9;
    transform: scale(1.2, 1.2);
}

/*CSS Banner*/
#banner {
    width: 95.6%;
    height: 100px;
    border: 10px solid white;
    box-shadow: 0px 0px 2px gray;
    background: url("../img/bakbaner.png");
    background-position: -200px -200px;
    margin: 20px auto;
    overflow: hidden;
    animation: backBanner 10s linear;
}

@keyframes backBanner{
    0%{
        background-position: 0px 0px;
    }
    100%{
        background-position: -200px -200px;
    }
}

#banner h1 {
    display: block;
    width: 850px;
    font-family: "bebasNeue";
    color: white;
    font-weight: lighter;
    font-size: 45px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 1px black;
    margin: 27px auto;
    animation: showText 10s linear;
}

@keyframes showText{

    0%{
        transform: translateX(-600%) scale(2,2);
        opacity: 1;
    }
    50%{
        transform: translateX(600%) scale(2,2);
        opacity: 1;
    }
    75%{
        transform: translateX(-600%) scale(2,2);
        text-shadow: none;
        color: whitesmoke;
        opacity: 1;
    }
    100%{
        transform: translateX(0%) scale(1,1);
        text-shadow: 2px 2px 1px black;
        color: white;
        opacity: 0;
    }
}

/*CSS de tarjetas*/
.cards {
    margin-left: 125px;

}

.card {

    float: left;
    width: 205px;
    height: 305px;
    border: 1px solid black;
    background: white;
    box-shadow: 1px 1px 2px #ddd;
    overflow: hidden;
    cursor: pointer;
    margin: 17px;
    margin-top: 40px;
    transition: all 300ms;
}

.card:hover{
    background: black;
}

.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: "trebuchetMS";
    font-size: 18px;
    font-weight: lighter;
    text-align: center;
    color: #00538c;
    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: "trebuchetMS";
    text-align: center;
    color: #0689e0;
    font-size: 15px;
    transition: all 300ms;
}

.card:hover .description{
    color: white;
    animation: showDescription 400ms linear;
}

@keyframes showDescription{
    from{
        transform: translateX(-300%);
        color: black;
    }
    to{
        transform: translateX(0%);
        color: white;
    }
}

/*fin css de tarjetas*/

/* Barra lateral*/
#lateral {
    width: 300px;
    min-height: 1200px;
    font-family: "trebuchetMS";
    float: right;
    margin: 20px;
}

aside h3 {
    display: block;
    width: auto;
    height: 45px;
    line-height: 49px;
    background: url("../img/pxgray.png"), white;
    box-shadow: 0px 1px 0px #393d3f, 1px 2px 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: 2px;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#lateral h3:first-child {
    margin-top: 0px;
}

#search {
    width: 90%;
    height: 30px;
    margin: 10px auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px 4px #ccc inset;
}

#lateral input[type="text"] {
    width: 85%;
    height: 30px;
    border: none;
    padding-left: 5px;
    border-radius: 5px;
    background-color: transparent;
    color: #ccc;
    transition: all 300ms;
}

#lateral input[type="text"]:focus {
    color: #555;

}


#lateral input[type="button"],
#lateral input[type="submit"]
{
height: 30px;
cursor: pointer;
font-size: 16px;
background-color: transparent;
border: none;
border-left: 1px solid #ccc;
color: #555;
padding-left: 6px;
}

.aside-box {
    width: 85%;
    height: 240px;
    margin: 0px auto;
    margin-top: 20px;
    padding-top: 2px;
    background: white;
    border: 1px solid black;
    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;
}

#login input[type="email"],
#login input[type="password"] {
    display: block;
    margin: 0px auto;
    margin-top: 20px;
    width: 85%;
    height: 30px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1pxv inset;
    border-radius: 5px;
    padding-left: 30px;
    color: gray;
}

#login input[type="email"]:focus,
#login input[type="password"]:focus {
    color: #555;
    box-shadow: 1px 1px 1px grey inset;
}

#login #user {
    display: block;
    text-align: center;
    position: absolute;
    margin-left: 15px;
    margin-top: 7px;

}

#login #password {
    display: block;
    text-align: center;
    position: absolute;
    margin-left: 18px;
    margin-top: 26px;
    font-size: 20px;
}

#login input[type="submit"],
#login input[type="button"],
#login input[type="reset"],
#login button {
    /*display: block;*/
    text-align: center;
    width: 100px;
    height: 35px;
    margin-top: 20px;
    color: white;
    background: linear-gradient(to bottom, #3eb8e5 0%, #2ca0ca 100%);
    border: 1px solid #156785;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    font-family: "trebuchetMS";
    margin-left: 17px;
    margin-bottom: 20px;
    transition: 300ms;
}

#login input[type="submit"]:hover,
#login input[type="button"]:hover,
#login input[type="reset"]:hover,
#login button:hover {
    box-shadow: 0px 0px 3px gray;
}

#login a {
    display: block;
    font-size: 14px;
    text-decoration: none;
    margin-left: 18px;
    color: #555;
}

#login a:hover {
    text-decoration: underline;
    color: #2f78bc;
}

#social {
    height: 190px;
}

#social a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 30px;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/*inicio articulos*/

#articles {
    width: 900px;
    float: left;
    margin-left: 100px;
}

#articles h2 {
    display: block;
    width: 102%;
    height: 75px;
    line-height: 75px;
    text-align: center;
    font-family: "BebasNeue";
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 2px;
    background: url("../img/pxgray.png"), white;
    box-shadow: 0px 1px 0px #393d3f, 1px 2px 0px #393d3f, 1px 2px 0px #393d3f, 2px 3px 0px #393d3f, 3px 4px 0px #393d3f;
    margin: 0%px auto;
    margin-top: 20px;
    margin-bottom: 15px;
}

#articles article {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin: 40px auto;
    padding: 10px;
    font-family: "trebuchetMS";
    background: white;
    color: black;
    box-shadow: 1px 1px 2px #ddd;
}

#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 .data{
    float: right;
    background: #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 article p{
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 15px;
}
#blog{
    height: 100px;
    margin-top: 60px;
    line-height: 100px;
    text-align: center;
}

#blog a{
    display: block;
    font-family: "BebasNeue";
    font-size: 40px;
    letter-spacing: 3px;
    text-decoration: none;
    color: #00538c;
    
}
#blog a:hover{
text-decoration: underline;
}
/*fin articulos*/

/*footer*/
#footer{
    width: 100%;
    height: 470px;
    background: black;
    color: white;
    overflow: hidden;
} 

#footer .wrap > div{
    float: left;
    width: 320px;
    height: 370px;
    margin: 40px;
    text-align: center;
    color: white;
    font-family: 'TrebuchetMS', '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: url(../img/pxgray.png), white;
    height: 50px;
    letter-spacing: 2px;
    text-align: center;
    font-family: "BebasNeue";
    font-size: 40px;
    line-height: 55px;
    color: black;
    border-radius: 5px;
    margin-bottom: 5px;
}
#footer ul{
    text-align: left;
    margin: 20px;
    font-size: 25px;
}


#footer ul li{
    margin-top: 10px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}


#footer ul li a{
    display: block;
    height: 40px;
}

#footer iframe{
    width: 100%;
    height: 300px;
    margin-top: 10px;
    border-radius: 5px;
    border: 5px solid white;
    box-shadow: 0px 0px 5px ;
}

#footer img{
    margin-bottom: 15px;

}

#footer #browsers img{

    width: 45px;
}



/*fin de footer*/