a.archive {
    display: block;
    overflow: hidden;
    vertical-align: top;
    background-color: #00a399;
    color: #FFFFFF;
    font-family: Roboto, Arial, Sans-serif;
    text-decoration: none;
}

a.archive:visited {
    color: #FFFFFF;
}

a.archive img.poster {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}


a.archive h2, a.archive h3{
    display: block;
    padding: 15px 20px;
    margin: 0;
    font-family: Exo, Arial, Sans-serif;
    font-weight: bold;
    text-align: center;
}


@media all and (min-width: 0px) {

    a.archive {
        display: inline-block;
        margin-right: 25px;
        width: 98%;
        height: auto;
        margin-bottom: 0px;
        margin-top: 35px;
    }

    a.archive:nth-of-type(1){
        margin-top: 0;
    }

}


@media all and (min-width: 640px) {

    a.archive {
        display: inline-block;
        margin-right: 25px;
        width: 47%;
        height: auto;
    }

    a.archive:nth-of-type(2) {
        margin-top: 0;
    }

    a.archive:nth-of-type(2n) {
        margin-right: 0;
    }

    a.archive h2,a.archive h3{
        font-size: 20px;
    }
}

@media all and (min-width: 800px){
    a.archive {
        display: inline-block;
        margin-right: 28px;
        width: 30%;
        max-width: 300px;
        margin-bottom: 0px;
    }

    a.archive:nth-of-type(3) {
        margin-top: 0;
    }

    a.archive:nth-of-type(2n) {
        margin-right: 28px;
    }

    a.archive:nth-of-type(3n) {
        margin-right: 0;
    }

    a.archive h2, a.archive h3{
        font-size: 20px;
    }
}

@media all and (min-width: 1000px) {
    a.archive {
        margin-right: 35px;
    }

    a.archive:nth-of-type(3) {
        margin-top: 0;
    }

    a.archive:nth-of-type(2n) {
        margin-right: 35px;
    }

    a.archive:nth-of-type(3n) {
        margin-right: 0;
    }

}

@media all and (min-width: 1200px) {

    a.archive {
        margin-right: 30px;
        width: 255px;
    }

    a.archive:nth-of-type(2n), a.archive:nth-of-type(3n) {
        margin-right: 30px;
    }

    a.archive:nth-of-type(4n) {
        margin-right: 0;
    }

    a.archive:nth-of-type(4) {
        margin-top: 0;
    }

}