/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Overall body styles */
body {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    background-color: #f4f4f4; /* Light grey background for maximum readability */
    color: #333; /* Dark grey text for readability */
}

/* Header styles */
header {
    position: relative;
    text-align: center;
    padding: 2rem 0;
    background-color: #01923f;
}

header h1 {
    color: white;
    margin: 0;
    padding: 1rem 0;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

#crest {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    z-index: 2;
}

#mascot-logo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    z-index: 2;
}

/* Styles for the main content area */
main {
    color: #333;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px; /* Set a max-width for desktop readability */
    border-radius: 8px; /* Rounded corners for the content container */
    background-color: #fff; /* Set background color to white for main content */
}

main p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1rem 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

main h2 {
    font-size: 2.5rem;
    color: #01923f;
    text-transform: uppercase;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

main p:first-of-type {
    font-size: 1.8rem;
    font-weight: bold;
    color: #01923f;
    text-align: center;
    padding: 1rem;
    margin: 2rem 0;
    border: 3px solid #01923f;
    border-radius: 8px;
    background: rgba(1, 146, 63, 0.1);
    text-shadow: none;
}

main a {
    color: #01923f;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

main a:hover {
    border-bottom: 2px solid #01923f;
    text-shadow: 1px 1px 2px rgba(1, 146, 63, 0.2);
}

.event-date {
    text-align: center;
    background: linear-gradient(135deg, #01923f 0%, #016b2e 100%);
    color: white;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 600px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date .date {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.venue-divider {
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 1rem auto;
}

.event-date .venue {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Adjust the first paragraph after event-date */
.event-date + p {
    margin-top: 2rem;
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #01923f 0%, #016b2e 100%);
    color: white;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p:first-child {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

footer p:last-child {
    font-weight: bold;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Improve the visibility of links */
a {
    color: #ffd700; /* Shamrock Rovers yellow for links */
    text-decoration: none; /* Remove underline from links */
}

/* Stripe Payment button container */
#payment {
    margin-top: 20px;
    text-align: center; /* Center the payment button */
}

/* Sponsorship button styles */
.sponsorship-button {
    text-align: center;
    margin: 2rem 0;
}

.sponsor-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #01923f;  /* Shamrock Rovers green */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.sponsor-link:hover {
    background-color: #016b2e;  /* Darker shade for hover */
    text-decoration: none;
}

/* Responsive design for images */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack items vertically on small screens */
    }
    header img {
        max-width: 80px; /* Smaller size for the crests on mobile */
        margin: 5px 0; /* Less space around the images on mobile */
    }
    header h1 {
        font-size: 1.5em; /* Slightly smaller font for mobile */
        margin-top: 10px; /* Add space above the title on mobile */
    }
    main, footer {
        width: 95%; /* Full width on mobile with a little padding */
    }
}
