.hero {
    z-index: 1;
    width: 100%;
    height: 900px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.hero .divider {
    width: 50%;
    height: 4px;
    border-radius: 50%;
    background-color: white;
}

.hero .hero-img {
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    filter: brightness(0.4);
}

.hero .hero-intro {
    position: absolute;
    max-width: 800px;
    margin: 0 5%;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    gap: 30px;
    animation: fadeInLeft 1s forwards;
}

.hero .hero-intro h1 {
    font-size: 48px;
    color: #FFC501;
    font-weight: bold;
}

.hero .hero-intro h3 {
    font-size: 36px;
    
}

.hero .hero-intro p {
    font-size: 20px;
    font-weight: 500;
}

.events-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 5% 0px 5%;
    gap: 50px;
}

.search-group {
    width: 100%;
    max-width: 1200px;
    background-color: #D9D9D9;
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
}

.search-group input {
    height: 70px;
    border-radius: 35px;
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    padding: 20px;
    width: 95%;
}

.search-group input:focus {
    outline: none;
}

.search-group button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #FACB01;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-group button img {
    width: 20px;
    object-fit: contain;
    object-position: center;
}

.other-filter {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
}

.other-filter .btn {
    padding: 10px;
    width: 200px;
    border-radius: 25px;
}

.other-filter .btn.active {
    background-color: #FACB01;
    color: black;
}

.event-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0px 5% 100px 5%;
}

.event-section .event-boxs {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 50px;
    width: 100%;
    margin-top: 50px;
    max-width: 1500px;
}

.event-section .event {
    width: 100%;
    min-height: 300px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.377);

    @media (max-width: 650px) {
        flex-direction: column;
    }
}

.event-section .event .date-box {
    @media (min-width: 650px) {
        width: 25%;
    }
    @media (max-width: 650px) {
        width: 100%;
    }
    height: 250px;
    min-width: 250px;
    background-color: #D7D702;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.event-section .event .date-box p {
    color: white;
    text-align: center;
    z-index: 2;
}

.event-section .event .backimg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
}

.event-section .event .date {
    font-size: 30px;
    
}

.event-section .event .year {
    font-size: 40px;
    
}

.event-section .event .caption {
    min-height: 250px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.event-section .event .event-cat {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    height: 50px;
    opacity: 0.5;
}

.event-section .event .event-cat .divider {
    width: 30px;
    height: 3px;
    border-radius: 1px;
    background-color: rgba(0, 0, 0, 0.596);
}

.event-section .event .event-cat p {
    margin: 0;
}

.event-section .event h3 {
    font-size: 1.5rem;
}

.event-section .event .event-title {
    position: relative;
    overflow: hidden;
}

.event-section .event .event-title .colored-div {
    position: absolute;
    transition: all 1s ease;
    width: 0%;
    height: 100%;
    z-index: -1;
    background-color: #facc018c;
}

.event-section .event .event-title:hover .colored-div {
    width: 100%;
}

.event-section .event a {
    text-decoration: none;
    color: black;
}