/* Reset some default margin and padding */
body,
h1,
h2,
p,
ul {
    margin: 0;
    padding: 0;
}

/* Apply a basic styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header styling */
header {
    background: url("images/header.png") no-repeat center center;
    background-size: cover;
    background-color: #0271A3;
    color: #fff;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

img.image-header {
    max-width: 100%;
    height: auto;
    margin: 0%;
}

h1 {
    margin: 0;
}

.justified-text {
    text-align: justify;
}

/* Navigation styling */
nav {
    background-color: #0271A3;
    color: #fff;
    padding: 0.5em;
    text-align: center;
}

.horizontal-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: inline-block;
}

.horizontal-menu li {
    display: inline;
    margin-right: 20px;
}

.horizontal-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.horizontal-menu a:hover {
    color: #ddd;
}

/* Section styling */
section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer styling */
footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 1em;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

img.image-footer {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#video-carousel-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    overflow: hidden;
}

#video-carousel {
    max-width: 100%;
    width: 100%;
}

#video-carousel div {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

#video-carousel div iframe {
    max-width: 100%;
    height: 400;
    margin: 0 10px;
}

#image-section {
    max-width: 800px;
    margin: 2em auto;
    padding: 2em;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.section-title {
    text-align: center;
    color: #45CAD3;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 3.5em;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.event-details img {
    max-width: 30%;
    height: auto;
}

.centered-image {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.centered-image img {
    max-width: 45%;
    height: auto;
    margin: 0 10px;
}

.centered-image .event-of-the-year {
    max-width: 90%;
    /* Adjust the percentage to increase the size */
    height: auto;
    margin: 0 10px;
}


/* Media queries for responsiveness */
@media only screen and (max-width: 600px) {

    /* Adjustments for small screens */
    body {
        margin: 10px;
    }

    header {
        margin: 0;
    }

    img.image-header {
        max-width: 100%;
    }

    img.image-footer {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.9em;
    }

    .centered-image img {
        max-width: 60%;
        height: auto;
        margin: 0 10px;
    }

    nav,
    section,
    footer {
        padding: 10px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {

    /* Adjustments for medium screens */
    section {
        padding: 15px;
    }
}