body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}
header {
    background-color: #34086b;
    color: rgb(192, 157, 231);
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a:hover {
    background-color: rgb(192, 157, 231);
}

footer {
    background-color:#34086b ;
    color: white;
    text-align: center;
    padding: 10px 0;
}
#hero {
    background-image: url("https://th.bing.com/th/id/OIP.fTfwguJ3nPkoBkEUPpVQ6gHaEK?w=297&h=180&c=7&r=0&o=5&dpr=2&pid=1.7") ;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
}


h1 {
    margin: 0;
}

main {
    width: 80%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap to next line if they don't fit */
    justify-content: space-between; /* Ensure equal spacing between items */
}

.introduction, .news1, .news2, .news3{
    background-color: darkcyan;
    color: black;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: calc(25% - 20px); /* Adjust width based on desired spacing */
    margin-bottom: 20px;
}

.introduction h2, .news1 h2, .news2 h2, .news3 h2  {
    color: black;
}

.introduction img,
.news1 img,
.news2 img,
.news3 img
{
    max-width: 100%;
    height: auto;
}

.upcoming-events {
    background-color: #79a3b1;
    color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.upcoming-events h2 {
    text-align: center;
}

.upcoming-events .events-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upcoming-events img {
    max-width: 20%;
    height: auto;
    margin-right: 20px;
}

.upcoming-events p {
    flex: 1;
}

.heading {
    background-color: #79a3b1; /* Use the same background color as the upcoming-events */
    color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically center align items */
}

.heading h2 {
    flex: 1; /* Take up remaining space */
    text-align: center;
}

.heading img {
    max-width: 30%; /* Set width of the image */
    height: auto;
    margin-right: 20px; /* Add space between image and text */
}

.event1, .event2, .event3{
    background-color: darkcyan;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: calc(25% - 20px); /* Adjust width based on desired spacing */
    margin-bottom: 20px;
}

 .event1 h2, .event2 h2, .event3 h2  {
    color: white;
}


.event1 img,
.event2 img,
.event3 img
{
    max-width: 100%;
    height: auto;
}
