/* CSS Code */
.events {
    width: 100%;
    height: 100vh;
    background-color: #f7f7f7;
    padding: 20px;
    box-sizing: border-box;
}

.events h2{
    text-align: center;
    font-size: 7vh;
}
.events ul {
    list-style: none;
    margin: -80px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.events li {
    width: 25%;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* padding: 20px; */
    border-radius: 10px;
}

.events li a {
    text-decoration: none;
    color: black;
    text-align: center;

}

.events img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.events h3 {
    font-size: 18px;
    margin-top: 10px;
}

.events p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .event-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}