/* global */

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

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: "montserrat", sans-serif;
}

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

/* end of global */

@media(min-width: 1366px) {
    .masonry-section {
        padding: 50px 10%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .masonry-item {
        min-height: 400px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item:hover {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.8);
    }
    .masonry-item h3 {
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        margin: 10px auto;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a {
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
        background: #1111ba;
        text-decoration: none;
        margin: 10px auto;
        padding: 15px 20px;
        text-align: center;
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a:hover {
        background: #f9b707;
    }
}

@media(max-width: 1366px) and (min-width: 1024px) {
    .masonry-section {
        padding: 50px 5%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .masonry-item {
        min-height: 300px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item:hover {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.8);
    }
    .masonry-item h3 {
        font-size: 17px;
        font-weight: 700;
        text-align: center;
        margin: 10px auto;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a {
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
        background: #1111ba;
        text-decoration: none;
        margin: 10px auto;
        padding: 15px 20px;
        text-align: center;
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a:hover {
        background: #f9b707;
    }
}

@media(max-width: 1024px) and (min-width: 769px) {
    .masonry-section {
        padding: 50px 5%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .masonry-item {
        min-height: 300px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item:hover {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.8);
    }
    .masonry-item h3 {
        font-size: 15px;
        font-weight: 700;
        text-align: center;
        margin: 10px auto;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a {
        font-size: 13px;
        font-weight: 700;
        color: #ffffff;
        background: #1111ba;
        text-decoration: none;
        margin: 10px auto;
        padding: 15px 20px;
        text-align: center;
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a:hover {
        background: #f9b707;
    }
}

@media(max-width: 769px) {
    .masonry-section {
        padding: 50px 5%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 50px;
    }
    .masonry-item {
        min-height: 300px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item:hover {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.8);
    }
    .masonry-item h3 {
        font-size: 15px;
        font-weight: 700;
        text-align: center;
        margin: 10px auto;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95);
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a {
        font-size: 13px;
        font-weight: 700;
        color: #ffffff;
        background: #1111ba;
        text-decoration: none;
        margin: 10px auto;
        padding: 15px 20px;
        text-align: center;
        transition: 0.3s all ease-in-out;
    }
    .masonry-item a:hover {
        background: #f9b707;
    }
}
