@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-size: border-box;
  font-family: 'poppins', sans-serif;
}

body{
    height: 100vh;
}
/* article section starts here  */
.article {
    padding: 2rem;
    margin-inline: 3rem;
  margin-block: 2rem;
  border-radius: 20px;
  background-color: rgb(214, 234, 219);
  cursor: pointer; 
}

.article .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
 cursor: pointer; 
}

.article .container .latest-article,
.article .container .more-article {
    width: 100%;
    flex:  1 0 350px;
}

.article .container .latest-article img {
    width: 100%;
    height: 28rem;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
  cursor: pointer; 
}

.article .container .latest-article p {
    margin: .8rem 0;
    color: #666;
}

.article .container .latest-article h1 {
    font-size: 2rem;
    font-weight: 600;
}

.article .container .latest-article .author {
    display: flex;
    align-items: center;
    gap: .7rem;
  cursor: pointer; 
}

.article .container .latest-article .author img {
    width: 30px;
    height: 30px;
    border-radius: 3rem;
   cursor: pointer; 
}

.article .container .latest-article .author p {
    font-size: .9rem;
}

.article .container .more-article {
    display: grid;
    gap: 1rem;
    overflow: hidden;
  cursor: pointer; 
}

.article .container .more-article .box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  cursor: pointer; 
}

.article .container .more-article .box img {
    width: 135px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: .5rem;
    cursor: pointer; 
}

.article .container .more-article .text li {
    margin-top: .3rem;
    list-style: none;
    color: #666;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .newsletter {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }
}

/* article section ends here  */
