header {
    position: relative;
}

img {
    width: 98%; 
}

.site-title {
    margin: 0;
    font-size: 2rem;
}



.hero {
    position: relative;
    width: 100%;
    height: 275px; /* Adjust height as needed */
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) blur(4px); /* Adjust blur amount */
    transform: scale(1.05); /* Slight zoom to compensate for blur edges */
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-overlay h1 {
    font-family: 'Comfortaa';
    font-size: 2.5rem; /* Adjust font size as needed */
    margin: 0; /* Add padding for smaller screens */
}

.hero-event {
    color: #ffffffaf
}

/* Event Container */


.event-container {
    max-width: 1450px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.left-side {
    flex: 0 0 50%;

}

.right-side {
    
    flex:1;
    vertical-align: center;
}

/* Event Details */
.event-details {
    text-align: center;
    border-left: solid;
    display:flex;
    flex-direction: column;
    vertical-align: middle;
}

.event-name {
    font-size: 3.2rem;
    color: #5400b3;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}


  
.event-name::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32%;
    height: 3px; 
    background: black;
}

.event-details {
    font-size: 1.5rem;
    margin: 5px 0;
}

/* Buttons */
.event-links {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #5400b3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #3a0479;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background-color: #777;
}

.btn.secondary:hover {
    background-color: #555;
}

a {
    text-decoration: none;
    color: #fff;
}

@media (max-width: 768px) {
    .event-container {
        flex-direction: column; /* Stacks elements vertically */
    }
    
    .left-side, 
    .right-side {
        width: 100%; /* Each takes full width */
    }

    .event-name {
        font-size: 1.7rem;
    }

    .event-details {
        font-size: 1rem;
        border-left: none;
    }

    .hero-overlay h1 {
        font-size: 1.3rem;
    }

    .hero-overlay p {
        font-size: 0.7rem;
    }

    .hero {
        max-height: 200px;
    }

    .menu-toggle {
        display: none!important;
    }
    
    .home-btn {
        display: block;
        border: none;
        font-size: 1.5rem;
        background-color: #f4f4f4;
        color: #5400b3;
        top: 20px;
        right: 20px;
    }
}