main  {
    margin-left: 20px;
    margin-top: 15px;
}

.articles {
    display: flex;
    display: inline-block;
    flex-wrap: wrap;
    justify-content: center;

}



article {
    position: relative;
    background: white;
    padding: 15px;
    margin: 10px;
    max-height: 275px;
    max-width: 275px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

h2{
    font-size: 18px;
    font-weight: 100;
}

p{
    font-size: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #034C8C;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.date-box {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #034C8C;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight:lighter;
}

 

.articles article img {
    transition: transform 0.5s ease-in-out;
  }
  
  .articles article:hover img {
    transform: scale(1.1);
  }

  .articles article img {
  transition: transform 0.5s ease-in-out;
}

.articles article:hover img {
  transform: scale(1.1);
}

  


footer{
    margin-top: 200px;
}


@media (max-width: 768px) {
    .articles {
        flex-direction: column;
        align-items: center;
    }

    main  {
        margin-left: 25px;
        margin-top: 5px;
    }
    
   


}