* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5e9d6;
}

.container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
    /* Allows boxes to wrap on smaller screens */
}


.box {
    background-color: #fdf7f0;
    border: 2px solid #b59866;
    border-radius: 10px;
    width: 30%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    /* Add some space between boxes */
    position: relative;
    overflow: hidden;
    /* Hide content outside of the box */
    z-index: 0;
}

/* Custom class for h2 */
.section-title {
    background: url(./EA_Bg.webp) no-repeat center center;
    background-size: cover;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Marquee styling */
.marquee {
    height: 700px;
    overflow: hidden;
    position: relative;
    background-color: #fdf7f0;
}

.marquee-content {
    position: relative;
    width: 100%;
    animation: scrollUp 20s linear infinite;
    top: 100%;
}

.marquee-content:hover {
	animation-play-state: paused;
}
@keyframes scrollUp {
    0% {
        top: 100%;
    }

    100% {
        top: -100%;
    }
}

.event-item,
.notice-item {
    margin-bottom: 10px;
}

.event-item p,
.notice-item p {
    margin-bottom: 5px;
}

hr {
    border: none;
    border-bottom: 1px dotted #b59866;
    margin: 15px 0;
}

/* Custom class for ul */
.custom-list {
    list-style: none;
    padding-left: 0;
}

/* Custom class for li */
.custom-list-item {
    background-color: #f3e4cd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #b59866;
}

.btn {
    background-color: #7f6048;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #a46c43;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .box {
        width: 45%;
    }

    .section-title {
        font-size: 1.3rem;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.2rem;
        padding: 10px;
    }
}

.custom-list-item {
    background-color: #f3e4cd;
    /* Keep the background color */
    padding: 10px;
    /* Keep the padding */
    margin-bottom: 10px;
    /* Keep the margin */
    border-radius: 5px;
    /* Keep the border radius */
    border: 1px solid #b59866;
    /* Keep the border */
}

.custom-list-item a.link {
    text-decoration: none;
    /* Remove underline */
    color: #4f3b25;
    /* Keep the text color */
    font-size: 18px;
    /* Keep the font size */
    display: block;
    /* Make the entire area clickable */
    width: 100%;
    /* Ensures the link covers the entire item */
    height: 100%;
    padding: 6px 10px;
    /* Ensures the link covers the entire item */
}

.custom-list-item a.link:hover {
    background-color: #e1c6a0;
    /* Highlight color on hover */
}