
.mybr {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin: 50px 0;
	flex-wrap: wrap;
}

.mybr-button_wrap{
    position: relative;
}

.mybr-button {
	background-color: rgb(162, 162, 162);
	justify-content: center;
	display: flex;
	align-items: center;
	position: relative;
    width: 100%;
	overflow: hidden;
	-webkit-box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.24);
	box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.24);
}

.mybr_title {
	font-weight: 400;
	text-align: center;
	padding: 15px;
	z-index: 9;
	transition: all .5s;
	font-size: 19px;
	position: absolute;
}
.mybr_content {
	margin-top: 10px;
	font-size: 1.2rem;
	font-weight: 200;
	overflow: hidden;
    line-height: 2rem;
    color: #000;
    width: 100%;
    text-align: center;

}
.mybr_overlay {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 8;
}
.mybr_link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.mybr-button:hover > .mybr_title {
	scale: 1.1;
}

.mybr-button:hover>.mybr_image_container>.mybr_image {
    scale: 1.2;
}

.mybr_image_container {
    width: 100%;
    height: 100%;
    padding-bottom:100%;
}

.mybr_image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: all .5s;
	position: absolute;
	top: 0;
	left: 0;
}

@media only screen and (max-width: 540px) {
    .mybr-button {
        width: 100% !important;
        height: unset;
    }

    .mybr-button_wrap{
        width: 70% !important;
        margin: 20px 0;
    }
}
