@font-face {
    font-family: 'koyomi-price';
    src: url('/fonts/koyomi-price.woff2') format('woff2'),
        url('/fonts/koyomi-price.ttf') format('truetype');
    font-display: swap;
}

html,
body {
    height: 100%;
}

* {
    font-family: 'Chiron GoRound TC', 'Chiron Hei HK N', 'Chiron Hei HK L', 'Chiron Hei HK', sans-serif;
}

.chiron-hei-hk-normal {
    font-family: 'Chiron GoRound TC N';
}

.chiron-hei-hk-regular {
    font-family: 'Chiron GoRound TC';
}

.chiron-hei-hk-light {
    font-family: 'Chiron GoRound TC L';
}

.currency,
.price {
    font-family: 'koyomi-price';
}

.SeriaCAPTCHA_widget {
    width: 100% !important;
}

.btn-outline-primary.active,
.btn-outline-primary:active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-secondary.active,
.btn-outline-secondary:active,
.show>.btn-outline-secondary.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-success.active,
.btn-outline-success:active,
.show>.btn-outline-success.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-danger.active,
.btn-outline-danger:active,
.show>.btn-outline-danger.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-warning.active,
.btn-outline-warning:active,
.show>.btn-outline-warning.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-info.active,
.btn-outline-info:active,
.show>.btn-outline-info.dropdown-toggle {
    color: #fff !important;
}

.btn-outline-light:hover,
.btn-outline-light:active {
    color: #6B7DD4 !important;
}

.btn-outline-secondary.active,
.btn-outline-secondary:active,
.show>.btn-outline-secondary.dropdown-toggle {
    color: #9DA9E1 !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: #fff !important;
}

.loading {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    z-index: 99999;
    position: fixed;
    transition: all .25s;
    align-items: center;
    pointer-events: none;
    justify-content: center;
}

#pjax-container {
    transition: opacity .125s;
}

.pjax-error {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    position: fixed;
    z-index: 100001;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all .125s;
    align-items: center;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0, 0, 0, .5);
}

.pjax-fadein {
    animation: fadeIn .125s;
}

.pjax-fadeout {
    animation: fadeOut .125s;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #6B7DD4;
}

.tag-cloud a {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.35rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 30px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #6B7DD4;
    color: white;
}

.city-selector {
    display: inline-block;
    margin-left: 10px;
}

.city-badge {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.35rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 30px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.city-badge:hover,
.city-badge.active {
    background-color: #6B7DD4;
    color: white;
}

.toastui-calendar-layout {
    background: transparent !important;
}

.banner {
    color: white;
    padding: 3rem 0;
    position: relative;
    background-image: linear-gradient(135deg, #6B7DD4 0%, #9DA9E1 100%);
}

.banner::after {
    content: '';
    right: 0;
    bottom: 0;
    position: absolute;
    background-image: url('/img/nav-end.png');
    width: 384px;
    height: 384px;
    pointer-events: none;
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.event-cover {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.event-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.filter-card {
    margin-bottom: 20px;
}

.ongoing-countdown {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #000;
    opacity: .25;
}

.event-status {
    position: absolute;
    bottom: 16px;
    right: 16px;
    opacity: .25;
    color: #000;
}

.event-info-icon {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
}

.long-images {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .w-lg-75 {
        max-width: 75%;
    }
}

@media (min-width: 768px) {
    .px-0-md {
        padding-left: 0;
        padding-right: 0;
    }

    .event-cover {
        max-height: 192px;
    }
}

@media (max-width: 768px) {
    .events-row {
        --bs-gutter-x: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

::-webkit-inner-spin-button {
    display: none;
}