body {
    font-family: 'Comfortaa';
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}


#base-content {
    scroll-margin-top: 120px !important;
}

.main-header {
    display: none;
}



.sidebar {
    background: white;
    color: black;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    visibility: visible;
    border-radius: 8px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
}
.sidebar.active {
    right: 0;
    visibility: visible;
}

.half {
    float: left;
    min-width: 200px;
    width: 20%;
    margin: 1%;
}
.third-page {
    float: left;
    width: 70%
}

.menu-toggle {
    visibility: hidden;
}

.close-btn {
    display: none;
}

.cta-button {
    text-decoration: none;
}

#sticky {
    position: sticky;
    top: 0;
    padding: 10px;
    z-index: 10;
    float: left;
    margin-top: 20px;
    
}

.event-image {
    flex: 0 0 40%;
    object-fit: cover;  
    aspect-ratio: 1/1;
    width: 40%;
    max-width: 200px;
    border-radius: 10px;
    
}

.timeline-date {
    text-align: right;
    margin-top: 30px;
    font-family: 'Comfortaa';
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: underline;
}

.date-today {
    margin-top: 0;
}

/* Full Page Layout */
.full-page {
    min-height: 80vh;
    padding: 20px;
    max-width: 1450px;
    margin: 0 auto;
    font-family: 'Comfortaa';
}

/* Page Title */
.page-title {
    font-size: 2rem;
    text-align: center;
    color: #5400b3;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Content Styling */
content {
    display: grid;
    gap: 20px;
}

/* Article Styling */
.event {
    opacity: 0.25;
    transform: translateX(100px);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: 0.3s;
}

.event.visible {
    opacity: 1;
    transform: translateX(0);
}

#highlight {
    background-color: #6b22be;
    color: white;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Flex Layout for Events */
.event-flex {
    display: flex;
    align-items: center;    
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
}

/* Event Date */

.date-time {
    flex-shrink: 0;
    width: 100px;
    text-align: left;
    font-size: 1rem;
    color: #5400b3;
    margin: 0;

}

.short-date {
    display:none
}

.name-place {
    flex-grow: 1;
    
}

/* Event Name and Place */
.name-place h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #313131;
}

.big-time {
    text-align: right;
    font-size: 1.4rem;
    color: #313131;
    margin-left: auto;
    right:0;
    min-width: 60px;
}

.time {
    display: none;
}

.name-place p {
    font-size: 1rem;
    color: #555;
    margin: 5px 0 0;
}

/* Button Styling */
.more-button {
    background-color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: #5400b3;
    font-weight: bold;
    font-size: 0.9rem;
}


.search-bar-container {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
    background-color: transparent;
}

.search-bar-container form {
    display: flex;
    width: 95%;
    max-width: 800px;
}

.search-bar-container input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 30px 0 0 30px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar-container input:focus {
    border-color: #5400b3;
}

.search-button {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    background-color: #5400b3;
    color: white;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: #3d0183;
}






/* Responsive Design */
@media (max-width: 768px) {
    .event-flex {

        flex-wrap: nowrap;
    }

    .name-place h2 {

        font-size: 1rem;
    }

    .name-place p {
        font-size: 0.7rem;
    }

    .date-time {
        width: 40px;
        text-align: left;
        font-size: 0.9rem;
        margin: 0;
    }

    .full-date {
        display: none;
    }

    .short-date {
        display:inline-block;
    }

    .events-page-search-container {
        display: none;
    }

    .time {
        right: auto;
        font-size: 0.9rem;
        display: block;
    }

    .big-time {
        display: none;
    }


    .sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: white;
        color: black;
        transition: right 0.3s ease-in-out;
        padding: 20px;
        margin: 0;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
        overflow: auto;
        z-index: 40;
        border-radius: 0;
    }

    .home-btn {
        display: none;
    }

    .sidebar.active {
        right: 0;
        visibility: visible;
        overflow: initial;
    }

    .third-page {
        width: 100%;
    }

    .main-header {
        display: flex;
    }
    

    .menu-toggle {
        visibility: visible;
        top: 20px;
        right: 20px;
        font-size: 25px;
        cursor: pointer;
        background: none;
        border: none;
        color: #5400b3;
    }
    
    .close-btn {
        position: fixed;
        display: inline-block;
        top: 15px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
        background: none;
        border: none;
        color: #5400b3;
        font-weight: bold;
    }

    #sticky {
        display:none;
    }
}

/* Search Bar Container */


.nounder {
    text-decoration: none;
    color: inherit;
}