@media (max-width:860px) {
    .wrap {
        width: 90%;
        margin: 0px auto;
    }
    .card {
        width: 17.5%;
        margin: 1%;
    }
    #social a {
        float: none;
    }
    #social .overlay {
        opacity: 1;
        position: relative;
        margin-left: 47px;
        margin-right: 7px;
        margin-top: -32px;
        transform: none;
    }
    #articles {
        width: 65%;
    }
    #footer {
        height: 350px;
    }
    #footer #browsers img {
        width: 14%;
    }
    #social .overlay {
        font-size: 90%;
    }
    #footer h5 {
        font-size: 22px;
    }
    .card p {
        display: block;
        width: 95%;
        margin: 0px auto;
        text-align: center;
    }
}

@media (max-width:836px) {
    .card .category {
        font-size: 13px;
    }
}

@media (max-width:774px) {
    .card .category {
        height: 21%;
    }
    #social .overlay {
        font-size: 13px;
    }
}

@media (max-width:720px) {
    #banner h1 {
        width: 100%;
    }
    #login input[type="email"],
    #login input[type="password"] {
        width: 75%;
    }
    #login #user,
    #login #lock {
        display: block;
        text-align: center;
        position: absolute;
        margin-left: 1.5%;
        margin-top: 5px;
        font-size: 12px;
    }
    #login #lock {
        margin-top: 24px;
        margin-left: 1.6%;
        font-size: 15px;
    }
    #sidebar input[type="button"] {
        font-size: 13px;
        padding-left: 2.5%;
    }
    .card .icon {
        height: 40%;
    }
    .card .category {
        width: 95%;
        margin: 0px auto;
    }
    #articles h2 {
        font-size: 163%;
        line-height: 198%;
        height: 47px;
    }
    #sidebar h3 {
        line-height: 186%;
        font-size: 113%;
        padding-left: 10px;
    }
    #footer h5 {
        font-size: 20px;
        height: 18%;
        line-height: 231%;
    }
}

@media (max-width:698px) {
    .card .icon {
        line-height: 200%;
    }
    .card .description {
        display: none;
    }
    .card {
        height: auto;
        min-height: 114px;
        padding-bottom: 7px;
    }
    .card:hover .icon {
        font-size: 35px;
        color: #37bcf9;
        animation: showIcon 300ms linear;
    }
    #social .overlay {
        font-size: 12px;
        padding-left: 4px;
        padding-right: 4px;
        border: 1px solid white;
        box-shadow: 0px 0px 2px #ccc;
        letter-spacing: normal;
    }
    #social a {
        font-size: 28px;
        margin-top: 12px;
        margin-left: 10px;
    }
}

@media (max-width:600px) {
    #header {
        width: 100%;
        height: 100px;
        padding-top: 10px;
    }
    #banner h1 {
        width: 100%;
        text-align: center;
        font-size: 126%;
        margin: 4.6% auto;
    }
    #menu {
        clear: both;
        float: none;
        width: 90%;
        text-align: center;
        margin: 0px auto;
    }
    #logo {
        float: none;
        margin: 0px auto;
    }
    #articles {
        float: none;
        width: 100%;
        margin: 20px auto;
    }
    #sidebar {
        float: none;
        width: 100%;
        min-height: auto;
        margin: 0px auto;
    }
    #login input[type="email"],
    #login input[type="password"] {
        width: 93%;
    }
    #sidebar input[type="text"] {
        width: 90%;
    }
    #sidebar input[type="button"] {
        padding-left: 2.1%;
    }
    /* Ocultamos el bloque de RRSS y Colaboraciones del sidebar */
    #social-sponsors {
        display: none;
    }
    /* Mostramos el bloque de RRSS y Colaboraciones para responsive*/
    #social-sponsor-responsive {
        display: block;
    }
    #footer .footerBox {
        width: 100%;
        margin: 40px auto;
    }
    #footer {
        height: auto;
        padding-bottom: 140px;
    }
    #footer h5 {
        font-size: 25px;
        height: 18%;
        line-height: 168%;
    }
    #imgHTML {
        width: 67%;
        margin: 0px auto;
    }
}

@media (max-width:495px) {
    #social-responsive,
    #sponsor-responsive {
        width: 49%;
        margin-left: 1%;
    }
    .sponsor-box-responsive p {
        font-size: 10vw;
        line-height: 10vh;
    }
    #social-responsive h3,
    #sponsor-responsive h3 {
        font-size: 18px;
    }
    #social-responsive .overlay {
        font-size: 15px;
        padding-left: 4px;
        padding-right: 4px;
        border: 1px solid white;
        box-shadow: 0px 0px 2px #ccc;
        letter-spacing: normal;
        margin-left: 12%;
    }
    #social-responsive a {
        font-size: 28px;
        margin-top: 12px;
        margin-left: 10px;
    }
}

@media (max-width:440px) {
    /**/
    #menu {
        width: 100%;
    }
    #menu ul li {
        font-size: 17px;
        margin: 0px 10px 0px 10px;
    }
    #banner {
        height: 60px;
        background-position: -1097px -156px;
    }
    #banner h1 {
        font-size: 18px;
        letter-spacing: 1px;
        line-height: 158%;
    }
    #login input[type="email"],
    #login input[type="password"] {
        width: 88%;
    }
    #login #user {
        margin-left: 3.3%;
    }
    #login #lock {
        margin-left: 3.6%;
    }
    .card .icon {
        font-size: 32px;
    }
    .card .icon:hover {
        font-size: 32px;
    }
    .card .category {
        font-size: 11px;
    }
    .card .category:hover {
        font-size: 11px;
    }
    .card:last-child {
        margin-bottom: 35px;
    }
    #sidebar input[type="text"] {
        width: 87%;
    }
    #sidebar input[type="button"] {
        padding-left: 2.5%;
    }
    #footer h5 {
        font-size: 22px;
        line-height: 175%;
    }
}

@media (max-width:370px) {
    .wrap {
        width: 98%;
        margin: 0px auto;
    }
    #banner h1 {
        font-size: 16px;
        line-height: 193%;
    }
    #articles article {
        width: 93.5%;
        margin: 20px auto;
    }
    #social-responsive h3,
    #sponsor-responsive h3 {
        font-size-adjust: 17px;
    }
    #blog:hover {
        background: #333;
        border: 1px solid #ccc;
        border-radius: 0px;
        box-shadow: 0px 0px 7px gray;
        animation-name: none;
    }
}

@media (max-width:340px) {
    .card .icon {
        font-size: 25px;
    }
    .card .category {
        font-size: 10px;
    }
    .card {
        display: block;
        min-height: 83px;
        pointer-events: none;
        cursor: pointer;
    }
    #articles article {
        width: 91.5%;
    }
    #articles .data {
        float: none;
        border-radius: 0px;
    }
    #articles article h4 {
        margin-top: 15px;
    }
    #social-responsive h3,
    #sponsor-responsive h3 {
        font-size: 16px;
    }
}

@media (max-width:300px) {
    #menu ul li a {
        font-size: 15px;
    }
    .card {
        width: 94.5%;
        min-height: auto;
        padding: 18px 5px;
    }
    .card .icon {
        display: block;
        font-size: 25px;
        float: left;
        width: 25%;
        line-height: 0px;
        margin: 0px;
    }
    .card .category {
        display: block;
        float: right;
        font-size: 15px;
        width: 75%;
        line-height: 0px;
        text-align: left;
        margin: 0px;
    }
    .card:last-child {
        margin-bottom: 20px;
    }
    #social-responsive .overlay {
        font-size: 13px;
        margin-left: 16%;
    }
    #social-responsive,
    #sponsor-responsive {
        width: 100%;
    }
    .sponsor-box-responsive p {
        font-size: 17vw;
        line-height: 15vh;
    }
    #social-responsive h3,
    #sponsor-responsive h3 {
        font-size: 17px;
    }
    #social-responsive .overlay {
        font-size: 18px;
        padding-left: 4px;
        padding-right: 4px;
        border: 1px solid white;
        box-shadow: 0px 0px 2px #ccc;
        letter-spacing: normal;
        margin-left: 20%;
    }
    /* #social-responsive a {
        font-size: 28px;
        margin-top: 12px;
        margin-left: 10px;
    } */
}