.housingContainer {
    margin-top: 10px;
    font-family: "Montserrat";
}

.housingTitle {
    font-weight: 500;
    text-transform: uppercase;
    text-align: left;
    padding-left: 3%;
    font-size: 47px;
    margin: 40px 0px;
    font-family: "Montserrat";
    color: rgb(70, 69, 69);
}

.housingBox {
    max-width: 366px;
    padding: 11px;
    margin: 5px 15px 15px;
    background-color: #fff;
    border-radius: 5px;
    -moz-box-shadow: 1px 1px 3px 2px #29135f;
    -webkit-box-shadow: 1px 1px 3px 2px #29135f;
    box-shadow: 1px 1px 3px 2px #29135f;
    list-style: none;
    color: rgb(99, 99, 99);
}

.housingBox:hover {
    transform: scale(1.05);
}

.housingRow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1296px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.housingImg {
    max-width: 56%;
    margin-bottom: 12px;
    margin-left: 0px;
    margin-right: auto;
}

.housingSubtitle {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 24px;
    margin-left: 55px;
    margin-bottom: 20px;
    color: rgb(87, 86, 86);
    list-style: none;
    text-align: initial;
}

.housingGridCard {
    max-width: 319px;
    border-radius: 36px;
    box-shadow: 0px 12px 34px rgb(32 52 89 / 25%);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column-reverse;
    color: rgb(164, 142, 142);
    box-shadow: 0px 12px 34px rgb(32 52 89 / 15%);
    min-height: 240px;
    max-height: 333px;
    margin: 10px;
    padding: 0px;
}

.housingGridCardGreen {
    background: linear-gradient(120.32deg, #137333 51.37%, #34a853 97.36%);
}

.housingGridCardBlue {
    background: linear-gradient(120.32deg, rgb(53, 25, 146) 51.37%, rgb(79, 59, 149) 97.36%);
}

.housingGridCardRed {
    background: linear-gradient(120.32deg, rgb(144, 16, 16) 51.37%, rgb(151, 68, 48) 97.36%);
}

.housingGridCardInner {
    position: relative;
    z-index: 1;
    padding: 24px;
    flex: 1;
    width: 100%;
}

.housingGridCardInnerTitle {
    margin-top: 24px;
    color: #202124;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 28px;
    color: #fff !important;
}

.housingGridCardInnerLink {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    justify-content: flex-start;
    margin-top: 24px;
    max-width: 52px;
}

.housingGridCardInnerArrow{
    transition: transform 250ms;
}

.housingGridCardInnerArrow:hover {
    transform: translateX(5px);
}

@media screen and (max-width: 600px) {
    .housingImg {
        max-width: 56%;
    }
}

@media only screen and (min-width: 600px) {
    .housingBox {
        margin-bottom: 1rem;
        padding-bottom: 1.125rem;
        width: 47.72%;
    }
}

@media (min-width: 1280px) {
    .housingRow {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
    }
}
