:root {
    --text-color: white;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.events h2,
.events p,
.event-timing,
.month,
.day,
.event-header,
.event-date,
.event-details li,
.event-details strong,
h2,
p,
.cal-h1,
.cal-h2 {
    color: var(--text-color);
}

.events {
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 70vw;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background-color: #3569A7;
    color: var(--text-color);
    border-radius: 50px;
    padding: 20px;
    margin: 20px;
    font-family: Arial, sans-serif;
    min-width: 700px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    flex: 2 1 auto;
    transition: transform 0.3s;
	cursor: pointer;
}

@media screen and (max-width: 700px) {
    .event-card {
        flex-direction: column;
        min-width: 300px;
    }

    .event-image {
        order: -1;
    }
}

.event-image {
    margin: 20px;
    max-width: 100%;
    height: 170px;
    border: 10px solid #898D8D;
    border-radius: 5px;
    margin-bottom: 10px;
    justify-self: center;
    align-self: center;
}

.event-details-container {
    margin-top: 20px;
    padding-right: 20px;
    background-image: linear-gradient(rgb(255, 255, 255) 33%, rgba(255, 255, 255, 0) 0%);
    background-position: right;
    background-size: 5px 15px;
    background-repeat: repeat-y;
}

.event-timing {
    margin: auto;
    color: var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
    padding: 8px;
    border-radius: 20px;
    width: 100px;
    text-align: center;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.month {
     color: #ffffff;
	font-size: 2.5em;
    font-family: 'Brush Script MT', cursive;
    margin-bottom: 10px;
}

.day {
     color: #ffffff;
	font-size: 1.2em;
}

.event-header {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.event-date {
    background-color: #FFFFFF;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 16px;
}

.event-details {
    list-style: none;
    padding: 0px;
    padding-left: 20px;
}

.event-details li {
    color: #ffffff;
	margin-bottom: 10px;
    line-height: 1.5;
}

.event-details strong {
    color: #ffffff;
}

.event-card:hover {
    transform: scale(1.05);
}

a {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.cal-h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

.cal-h2 {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 20px;
}

.phlogo {
    display: block;
    margin: 0 auto;
}
