/* global */

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: brandon-grotesque, sans-serif;
    background-color: var(--secondary-color)fff;
    color: var(--font-color);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: brandon-grotesque, sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* end of global */

@media(min-width: 1440px) {
    .blogs-grid {
        margin: 50px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .blog-item {
        padding: 0;
        background: var(--primary-color);
        border-radius: 3px;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .blog-image {
        min-width: 300px;
        max-width: 300px;
        height: 100%;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .blog-texts {
        padding: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .blog-title {
        margin: 25px auto 0 auto;
        font-size: 25px;
        font-weight: 500;
        color: var(--secondary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-title:hover {
        text-decoration: underline;
    }
    .blog-item p {
        margin: 10px auto;
        font-size: 20px;
        font-weight: 600;
        color: var(--accent-color);
        text-align: center;
    }
    .blog-button {
        font-family: brandon-grotesque, sans-serif;
        display: inline-block;
        border-radius: 3px;
        margin: 10px auto;
        padding: 15px 30px;
        font-size: 17px;
        font-weight: 600;
        text-transform: uppercase;
        background: var(--blue-highlight);
        color: var(--primary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-button:hover {
        opacity: 0.9;
    }
    .pagination-container {
        margin: 50px auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .previous-next {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        text-decoration: none;
    }
    .pagination-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .page-number-container a {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 10px;
    }
    .page-number-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
        margin: 0 10px;
    }
}

@media(max-width: 1440px) and (min-width: 1250px) {
    .blogs-grid {
        margin: 50px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .blog-item {
        padding: 0;
        background: var(--primary-color);
        border-radius: 3px;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .blog-image {
        min-width: 240px;
        max-width: 240px;
        height: 100%;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .blog-texts {
        padding: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .blog-title {
        margin: 25px auto 0 auto;
        font-size: 25px;
        font-weight: 500;
        color: var(--secondary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-title:hover {
        text-decoration: underline;
    }
    .blog-item p {
        margin: 10px auto;
        font-size: 20px;
        font-weight: 600;
        color: var(--accent-color);
        text-align: center;
    }
    .blog-button {
        font-family: brandon-grotesque, sans-serif;
        display: inline-block;
        border-radius: 3px;
        margin: 10px auto;
        padding: 15px 30px;
        font-size: 17px;
        font-weight: 600;
        text-transform: uppercase;
        background: var(--blue-highlight);
        color: var(--primary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-button:hover {
        opacity: 0.9;
    }
    .pagination-container {
        margin: 50px auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .previous-next {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        text-decoration: none;
    }
    .pagination-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .page-number-container a {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 10px;
    }
    .page-number-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
        margin: 0 10px;
    }
}

@media(max-width: 1250px) and (min-width: 769px) {
    .blogs-grid {
        margin: 50px 0;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 50px;
    }
    .blog-item {
        padding: 0;
        background: var(--primary-color);
        border-radius: 3px;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .blog-image {
        min-width: 300px;
        max-width: 300px;
        height: 100%;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .blog-texts {
        padding: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .blog-title {
        margin: 25px auto 0 auto;
        font-size: 25px;
        font-weight: 500;
        color: var(--secondary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-title:hover {
        text-decoration: underline;
    }
    .blog-item p {
        margin: 10px auto;
        font-size: 20px;
        font-weight: 600;
        color: var(--accent-color);
        text-align: center;
    }
    .blog-button {
        font-family: brandon-grotesque, sans-serif;
        display: inline-block;
        border-radius: 3px;
        margin: 10px auto;
        padding: 15px 30px;
        font-size: 17px;
        font-weight: 600;
        text-transform: uppercase;
        background: var(--blue-highlight);
        color: var(--primary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-button:hover {
        opacity: 0.9;
    }
    .pagination-container {
        margin: 50px auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .previous-next {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        text-decoration: none;
    }
    .pagination-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
    }
    .page-number-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .page-number-container a {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 10px;
    }
    .page-number-container span {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
        margin: 0 10px;
    }
}

@media(max-width: 769px) {
    .blogs-grid {
        margin: 50px 0;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 50px;
    }
    .blog-item {
        padding: 0;
        background: var(--primary-color);
        border-radius: 3px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .blog-image {
        min-width: 100%;
        max-width: 100%;
        height: 200px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .blog-texts {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .blog-title {
        margin: 0 auto 0 auto;
        font-size: 25px;
        font-weight: 500;
        color: var(--secondary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-title:hover {
        text-decoration: underline;
    }
    .blog-item p {
        margin: 15px auto;
        font-size: 20px;
        font-weight: 600;
        color: var(--accent-color);
        text-align: center;
    }
    .blog-button {
        font-family: brandon-grotesque, sans-serif;
        display: inline-block;
        border-radius: 3px;
        margin: 0 auto 15px auto;
        padding: 15px 30px;
        font-size: 17px;
        font-weight: 600;
        text-transform: uppercase;
        background: var(--blue-highlight);
        color: var(--primary-color);
        text-decoration: none;
        text-align: center;
    }
    .blog-button:hover {
        opacity: 0.9;
    }
    .pagination-container {
        margin: 50px auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .previous-next {
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 500;
        color: var(--primary-color);
        text-decoration: none;
    }
    .pagination-container span {
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
    }
    .page-number-container {
        display: none;
        flex-direction: row;
        justify-content: space-between;
    }
    .page-number-container a {
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 10px;
    }
    .page-number-container span {
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 500;
        color: var(--font-color);
        opacity: 0.5;
        margin: 0 10px;
    }
}