@media (max-width:1250px) {
    .wrap {
        width: 90%;
        margin: 0px auto;
    }

    #banner h1 {
        width: 100%;
        font-size: 80px;
        line-height: 50px;
        text-align: center;
        margin: 33px auto;
    }

    .card {
        width: 17%;
        margin: 1.3%;
    }

    .card p {
        width: 90%;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #articles {
        width: 65%;
    }

    #articles article {
        width: 97%;
    }

    #footer .wrap>div {
        width: 24%;
    }

    #footer #browsers img {
        width: 14%;
    }

    #footer h5 {
        height: 18%;
        font-size: 155%;
        line-height: 68px;

    }
}

@media (max-width:1225px) {
    #banner h1 {
        width: 100%;
        font-size: 80px;
        line-height: 50px;
        text-align: center;
        margin: 33px auto;
    }
    .card {
        height: 180px;
    }

    .card .icon {
        display: block;
        width: 100%;
        height: 55%;
        font-size: 50px;
        line-height: 110px;
        margin: 0px auto;
        margin-top: 4%;
        text-align: center;
        transition: all 300ms;
    }

    .card .category {
        font-size: 17px;
    }

    .card .description {
        margin-top: 93%;
        font-size: 13px;
    }
}


@media (max-width:1080px) {


    #articles {
        width: 61%;
    }

    #footer img {
        width: 108%;
    }

}

@media (max-width:890px) {


    #lateral {
        width: 25%;
    }

    #articles {
        width: 70%;
    }

    #lateral input[type="text"] {
        width: 78%;
    }

    .aside-box {
        width: 100%;
        height: 160px;
        padding-bottom: 15px;
    }

    #lateral input[type="button"],
    #lateral input[type="submit"] {

        padding-left: 7px;
    }

    #login input[type="email"],
    #login input[type="password"] {
        margin-top: 10px;
        width: 67%;
    }

    #login #user {
        margin-left: 2.5%;
    }

    #login #password {
        margin-left: 2.7%;
        margin-top: 1.76%;
    }

    #login input[type="submit"],
    #login input[type="button"],
    #login input[type="reset"] {
        width: 38%;
        height: 30px;
        margin-top: 6%;
        margin-left: 30%;
        margin-bottom: 7%;
    }

    #login input[type="reset"] {
        display: none;
    }

    #login a {
        display: block;
        font-size: 70%;
        margin-top: -5%;
        margin-bottom: 7%;
        margin-left: 0%;
        text-align: center;

    }

    aside h3 {
        font-size: 110%;
    }

    #social {
        height: 60px;
    }

    #social .overlay {
        display: none;
    }

    #social a {
        float: left;
        text-decoration: none;
        color: black;
        font-size: 150%;
        margin-left: 15%;
        margin-top: 9%;
        margin-bottom: 6%;
    }

    #social a:hover {

        color: rgb(100, 164, 201);
        scale: 1.7;
        transition: all 300ms;
    }

    #articles article h4 {
        font-size: 110%;
    }

    #articles .data {
        float: right;
        background-color: #2f2f30;
        color: #CCC;
        height: 30px;
        line-height: 30px;
        margin: -10px;
        padding: 5px;
        font-size: 64%;
        border-radius: 0px 0px 0px 10px;
    }

    #articles article p {
        margin-top: 1%;
        margin-bottom: 1%;
        font-size: 70%;
    }

    #blog {
        line-height: 100%;
        margin-top: 10%;
        text-align: center;
        transition: all 1s;
    }

    #blog a {
        display: block;
        font-family: "Bebas";
        font-size: 160%;
        letter-spacing: 2px;
        color: #00538C;
        font-weight: bold;
        transition: all 1s;
    }

    #footer h5 {
        height: 13%;
        font-size: 100%;
        line-height: 54px;
    }

    #footer .wrap>div {
        margin: 1.5%;
    }

    #footer .wrap>div {
        width: 26%;
    }

    #footer img {
        width: 108%;
    }
}

@media (max-width:750px) {
    #header {
        width: 100%;
        height: 126px;
        padding-top: 10px;
    }

    #logo {
        float: none;
        margin: 0px auto;
    }

    #menu {
        clear: both;
        float: none;
        width: 440px;
        margin: 0 auto;
    }

    #lateral input[type="button"],
    #lateral input[type="submit"] {
        padding-left: 2px;
    }

    #social a {
        display: block;
        text-decoration: none;
        color: black;
        font-size: 25px;
        margin-left: 21px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    #articles .data {
        padding: 0;
    }
}

@media (max-width:573px) {

    #banner h1 {
        width: 100%;
        font-size: 60px;
        line-height: 40px;
        text-align: center;
        margin: 33px auto;
    }

    .card {
        height: 100px;
        width: 16%;
        margin: 1.3%;
    }

    .card .icon {
        width: 100%;
        height: 40%;
        font-size: 40px;
        line-height: 55px;
        margin-top: 20px;
        text-align: center;
        transition: all 300ms;
    }

    .card:hover .icon {
        font-size: 40px;
        color: #37bcf9;
        animation: showIcon 300ms linear;
    }

    .category {
        display: none;
    }

    #articles{
        margin-top: -200px;
    }

    #articles,
    #lateral {
        width: 100%;
        float: none;
        /* margin: 0px auto; */
        min-height: auto;
    }

    .aside-box {
        width: 40%;
        height: auto;
        padding-bottom: 4px;
        float: left;
        margin-left: 39px;
    }    
    
    #social {
        display: none;
    }

    #login{
        display: none;
    }

    #mover1, #mover2{
        display: none;
    }

    #lateral input[type="text"] {
        width: 92%;
    }

    aside h3 {
        display: block;
        text-align: center;
        width: auto;
        height: 46px;
        line-height: 50px;
        background: url('../img/pxgray.png'), rgb(230, 230, 230);
        box-shadow: 0px 1px 0px black, 1px 2px 0px black, 2px 3px 0px black, 3px 4px 0px black;
        font-size: 20px;
        margin-top: 17px;
        margin-bottom: 15px;
    }

    #articles h2 {
        display: block;
        width: 100%;
        height: 52px;
        line-height: 55px;
        text-align: center;
        font-family: "Bebas";
        font-size: 30px;
        font-weight: normal;
        letter-spacing: 3px;
        background: url(../img/pxgray.png);
        margin-top: 253px;
        margin-bottom: -15px;
        box-shadow: 0px 1px 0px black, 1px 2px 0px black, 2px 3px 0px black, 3px 4px 0px black;
        margin-left: 0px;
    }



    #footer {
        height: auto;
        padding-bottom: 40px;
    }

    #footer .wrap>div {
        width: 100%;
        margin: 0px auto;
        margin-top: 20px;
        height: auto;
    }

    #footer h5 {
        height: 18%;
        font-size: 155%;
        line-height: 68px;
        margin-top: 10px;

    }

    #footer ul {
        margin-left: 45px;
        font-size: 25px;
        list-style: none;
        text-align: center;
    }

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

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

    #footer iframe {
        width: 90%;
        height: 230px;
        margin-top: 15px;
        border-radius: 15px;
        border: 5px solid white;
        box-shadow: 0px 0px 5px gray;
    }

    #footer img {
        width: 60%;
    }

    #footer #browsers img {
        width: 10%;
    }


}

@media (max-width:475px) {

    #banner h1 {
        width: 100%;
        font-size: 50px;
        line-height: 30px;
        text-align: center;
        margin: 33px auto;
    }

    #logo {
        float: left;
        width: 123px;
        height: 46px;
        background-color: #37bcf9;
        text-align: center;
        letter-spacing: 0px;
        cursor: pointer;
        overflow: hidden;
        transition: all 300ms;
        margin-top: 2px;
        margin-left: 147px;
    }

    #logo .gear {
        display: block;
        float: left;
        font-size: 20px;
        margin-top: 10px;
        margin-left: 14px;
    }

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

    #banner {
        height: 85px;
    }


    aside h3:first-child {
        margin-top: 15px;
    }

    aside h3 {
        display: block;
        text-align: center;
        width: 48%;
        height: 36px;
        line-height: 40px;
        background: url('../img/pxgray.png'), rgb(230, 230, 230);
        box-shadow: 0px 1px 0px black, 1px 2px 0px black, 2px 3px 0px black, 3px 4px 0px black;
        font-size: 25px;
        margin-top: 17px;
        margin-bottom: 16px;
        margin-left: 104px;
    }

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

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

    #social a {
        display: block;
        text-decoration: none;
        color: black;
        font-size: 175%;
        margin-left: 12%;
        margin-top: 9px;
    }

    #articles h2 {
        display: block;
        width: 61%;
        height: 50px;
        line-height: 55px;
        text-align: center;
        font-family: "Bebas";
        font-size: 26px;
        font-weight: normal;
        letter-spacing: 3px;
        background: url(../img/pxgray.png);
        margin-top: 231px;
        margin-bottom: -15px;
        box-shadow: 0px 1px 0px black, 1px 2px 0px black, 2px 3px 0px black, 3px 4px 0px black;
        margin-left: 74px;
    }

    #articles article {
        width: 77%;
    }

    #articles .data {
        display: none;
    }

    #articles article h4 {
        font-size: 90%;
        margin-top: 5bpx;
        text-align: center;
    }

    #blog {
        display: none;
    }

    #footer h5 {
        width: 50%;
        font-size: 130%;
        line-height: 44px;
        margin-top: 7px;
        margin-left: 120px;

    }

    #footer ul {
        margin-left: 40px;
        font-size: 17px;
        list-style: none;
        text-align: center;
    }


    #footer img {
        width: 35%;
        margin-left: 43px;
    }

    #footer #browsers img {
        width: 5%;
        margin-left: 5px;
        padding-left: 5px;
        margin-right: -8px;
    }



}