@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;500;600;700&family=Roboto:wght@100;300;400;500;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "ubuntu";
}
img {
    width: 100%;
}
header {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;

    background: #000000;
    border-bottom: solid 1em #a09676;
}
header .header-left {
    display: flex;
    align-items: center;
}
header .header-left nav {
    margin-left: 1100px;
}
header .header-left nav ul {
    display: flex;
}
nav ul li a {
    display: block;
    color: #aaafb5;
    font-size: 18px;
    padding: 5px 50px;
    transition: 0.2s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;
    
}

header .header-left .logo {
    margin-top: 5px;
    height: 60px;
    width: 60px;
}




#news{

display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 40px;


}

.news-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 20px 0px ;

    flex-wrap: wrap;
}

.news-box{
    width: 350px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    margin: 20px;
}

 .news-img {
    width: 100%;
    height: auto;
   
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-text{

    padding: 30px;
    display: flex;
    flex-direction:column ;
}

.news-text span{
    color: brown;
    font-size: 0.8rem;
    font-family: sans-serif;
}

.news-text .news-title {
font-size: 1.3rem;
font-weight: 500;
color: #000000;
font-family: sans-serif;
padding-top: 9px;
}

.news-text .news-title:hover{
    color: #0d0aa0;
    transition: all ease 0.3s;
}

.news-text p{
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3 ;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
    font-family: sans-serif
    
}

.news-text a{
    color: #0f0f0f;
    font-family: sans-serif
}

.news-text a:hover {
    color: #0d0aa0;
    transition: all all ease 0.3s;
    
}

@media (max-width:1250px) {
    .news-box{
        width: 300px;
    }
}

@media(max-width:1100px){
    .news-box{
        width: 70%;
    }
}


@media(max-width:550px){
    .news-box{
        margin: 20px 10px;
        width: 100%;
    }

    #news{
        padding: 20px;
    }
}
