@import url('https://fonts.googleapis.com/css?family=Montserrat');

.newsContainer{
    display: flex; 
    justify-content: center; 
    flex-direction: column; 
    align-items: center;
    font-family: 'Montserrat';
}

.newsTitle{
    flex: 100%;
    text-decoration: underline;
    font-weight: bold;
    padding-bottom: 15px;
}

.newsSection{
    display: flex;
    width: 90%;
    background-color: #002D72;
    height: fit-content;
    border-radius: 10px;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.newsItem{
    height: fit-content;
    text-align: center;
    justify-content: center;
    flex: 50%;
    display: flex;
    background-color: #ffffff;
    margin: 15px 15px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: #000000;
}

.newsImage{
    flex: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 15px;
}

.newsCaption{
    flex: 50%;
    padding: 15px 15px;
    background-color: #ffffff;
    width: 50%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.newsCaption h1{
    font-weight: bold;
}

.propertyButton{
    height: fit-content;
    text-align: center;
    justify-content: center;
    flex: 50%;
    display: flex;
    margin: 15px 15px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background-color: #C8102E;
    transition: all 0.5s ease;
    border-style: solid;
    border-color: #C8102E;
}

.propertyButton:hover{
    color: #C8102E;
    background-color: #ffffff;
    border-color: #C8102E;
}

@media (max-width: 600px){
    .newsItem{
        flex-direction: column;
    }

    .newsSection{
        flex-direction: column;
    }
    .newsCaption{
        flex: 100%;
        width: 100%;
    }
}