/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
    font-family: "Poppins", sans-serif;
} */

body {
    color: var(--clr-gray-dark);
}

section .container-event {
    padding: 0.1px;
    background-color: #fefbf6;
}

:root {
    --clr-gray-light: #d7dfe2;
    --clr-gray-med: #616b74;
    --clr-gray-dark: #414b56;
    --clr-link: #4d97b2;
    --clr-bisnis: #003366;
    --clr-musik: #ffa500;
    --clr-olahraga: #32cd32;
    --clr-seminar: #ffd700;
    --clr-keluarga: #ffc0cb;
}

.event-container {
    display: flex;
    align-items: baseline;
    margin: 2rem 0 0.5rem 15px;
}

.cards-title {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #000;
}

.cards-sub-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-right: 0.3rem;
    display: block;
}

.dropdown-event {
    position: relative;
    width: 100%;
    max-width: 180px;
}

.select-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.caret-event {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    transition: 0.3s;
}

.caret-rotate {
    transform: rotate(180deg);
}

.menu-event {
    list-style: none;
    padding: 0.2em 0.5em;
    background: #fff;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    color: #000;
    position: absolute;
    top: calc(100% + 0.2em);
    left: 0;
    width: 100%;
    opacity: 0;
    display: none;
    transition: 0.2s;
    z-index: 100;
}

.menu-event li {
    padding: 0.7em 0.5em;
    margin: 0.3em 0;
    border-radius: 0.5em;
    cursor: pointer;
}

.menu-event li:hover {
    background: lightgray;
}

.menu-event li i {
    color: inherit;
}

.menu-event li.active {
    color: #031ca4;
}

.menu-event li.active i {
    color: #031ca4;
}

.active {
    background: lightgray;
}

.menu-open {
    display: block;
    opacity: 1;
}

.selected-blue {
    color: #031ca4;
}

.selected-blue i {
    color: #031ca4;
}

.wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

.wrapper a {
    text-decoration: none;
    color: inherit;
}

.category-tag {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background: red;
    padding: 0.5rem 1.3rem 0.5rem 1rem;
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
    top: 1rem;
    border-radius: 0 2rem 2rem 0;
}

.bisnis {
    background: var(--clr-bisnis);
}

.musik {
    background: var(--clr-musik);
}

.olahraga {
    background: var(--clr-olahraga);
}

.seminar {
    background: var(--clr-seminar);
}

.keluarga {
    background: var(--clr-keluarga);
}

// Responsive card
@media (max-width: 768px) {
    .cards-title {
        font-size: 1.25rem;
    }
    .cards-sub-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 685px) {
    .cards-title {
        font-size: 1.6rem;
        margin-right: 0.4rem;
    }

    .cards-sub-title {
        font-size: 1.1rem;
        margin-right: 0.2rem;
    }
}

@media (max-width: 615px) {
    .cards-title {
        margin-right: -0.3rem;
    }

    .cards-sub-title {
        display: none;
    }

    .selected-event {
        font-size: 18px;
    }
}

@media (max-width: 425px) {
    .cards-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .cards-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 350px) {
    .cards-title {
        font-size: 1.2rem;
    }

    .selected-event {
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .cards-title {
        font-size: 1.1rem;
    }

    .selected-event {
        font-size: 14px;
    }
}