/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background-color: #121212;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

body {
    width: 70%;
    margin: auto;
    padding-bottom: 200px; /* Add space at the bottom of the page */
    min-height: calc(100vh - 200px); /* Ensure space at the bottom */
}

a {
    color: #add8e6; /* Light blue color for links */
}

a:hover {
    color: #87ceeb; /* Slightly darker blue on hover */
}

a:visited {
    color: #fdfcff; /* Light purple color for visited links */
}

/* Heading Styles */
h1 {
    font-size: 2.5em;
    margin: 60px 0 20px 0; /* Add space above the h1 */
    color: #8793ec;
    text-align: center;
}
h2 {
    font-size: 1.5em;
    margin: 20px 0;
    color: #8793ec;
    text-align: center;
}
h3 {
    font-size: 1.2em;
    margin: 15px 0;
    color: #8793ec;
    text-align: center;
}

/* Paragraph Styles */
p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #e0e0e0;
    text-align: justify;
    margin: 20px;
}

/* Video Container Styles */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Event Box Styles */
.event-box {
    background-color: #1b1532;
    padding: 20px;
    margin: 20px auto; /* Center the event box horizontally */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center; /* Center the text in the event box */
    width: 80%; /* Adjust width to fit within the slide */
}

.event-box h3 {
    color: #d1d6ff;
    font-size: 1.3em;
}
.event-box p {
    font-size: 1em;
    text-align: center; 
}

/* Button Styles */
.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #8793ec;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover {
    background-color: #6b7bd1;
}

/* Ensure space at the bottom of the page */
#selected-events-container {
    margin-bottom: 200px;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }

    body {
        width: 90%;
        margin: auto;
    }

    .video-container {
        margin: 10px 0;
    }

    .event-box {
        padding: 15px;
    }

    .button {
        padding: 8px 12px;
    }
}