@font-face {
    font-family: 'CabinetGrotesk-Variable';
    src: url('../fonts/CabinetGrotesk-Variable.woff2') format('woff2'),
    url('../fonts/CabinetGrotesk-Variable.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


h1 {
    font-size: 56px;
    font-weight: 900;
    word-wrap: break-word;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    align-self: stretch;
}

h1.text-white {
    color: white;
}

h1.text-black {
    color: #1D1D1D;
}

h1.text-red {
    color: #F06765;
}

.logo {
    width: 108px;
    height: 80px;
}

.logo-footer {
    max-width: 160px;
}

.nav-link {
    text-align: center;
    color: #1D1D1D;
    font-size: 20px;
    font-weight: 300;
    word-wrap: break-word;
}

.nav-link-bolder {
    font-weight: 700 !important;
}

.nav-link-btn {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
    outline: 1px #1D1D1D solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
}

.event-card {
    padding: 28px 20px;
    gap: 17px;
    background: rgba(255, 112, 110, 0.05);
    border-radius: 16px;
    outline-offset: -2px;
    backdrop-filter: blur(25px);
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    width: 100%;
    min-height: 294px;
    height: auto;
}

.event-tag {
    padding: 3px 7px;
    text-align: center;
    background: #ECECE680;
    border-radius: 6px;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 400;
}

.event-tags {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.event-title {
    font-weight: 800;
}

.event-description {
    flex: 1;
    font-size: 14px;
}

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

.event-data {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.w-hidden {
    display: none;
}

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    font-size: 18px;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: #FF706E !important;
    color: #ffffff;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999; /* Ensures overlay is on top of other content */
    display: flex; /* Centers the spinner */
    justify-content: center;
    align-items: center;

    .spinner-border {
        width: 72px;
        height: 72px;
    }
}

.nav-item:hover {
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-border-radius);
    font-weight: bold;
}

#about {
    background: url('/images/image14.png') no-repeat center center / cover;
    outline: 2px solid #fff;
    outline-offset: -2px;
    height: 900px;
}

@media (min-width: 992px) {
  footer {
        padding: 80px 100px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #gallery .image-grid {
        column-gap: 1.5rem;
        column-count: 5;
    }

    #about {
        display: flex;
    }

    #how-it-works-details {
        display: flex;
        div {
            width: 50%;
        }
    }

    #how-it-works h1 {
        text-align: left;
    }

    .masthead {
        display: flex !important;
        /*flex-direction: column !important;*/
        gap: 1.5rem !important;

        .masthead-col-1 {
            width: 60%;
        }

        .masthead-col-2 {
            width: 40%;
        }
    }

    .header-2-sm {
        display: none !important;
    }

    .get-started-free-btn {
        text-align: left !important;
    }

    .header-2 h1 {
        text-align: left;
    }
}

@media (max-width: 991.98px) {
    #gallery .image-grid {
        column-gap: 0.5rem;
        column-count: 2;
    }

    footer {
        padding: 80px 26px 28px;

        .column-1 {
            display: none !important;
        }
        .column-2 {
            width: 40% !important;
        }
        .column-3 {
            width: 40% !important;
        }
    }

    .all-rights {
        display: block !important;
    }

    #about {
        display: block;

        h1:first-child {
            font-size: calc(1.625rem + 4.5vw);
        }

        div:first-child {
            width: 100%;
        }
    }

    .custom-section {
        width: 100%;
        h1:first-child {
            font-size: calc(1.625rem + 4.5vw);
        }
    }

    #how-it-works-details {
        display: block;
        width: 100%;
    }

    .header-1, .header-2-lg {
        display: none !important;
    }

    .masthead {
        display: block;

        .masthead-col-1 {
            width: 100%;
        }

        .masthead-col-2 {
            width: 100%;
        }
    }

    .get-started-free-btn {
        text-align: center !important;
    }

    #how-it-works h1 {
        text-align: center;
    }

    .header-2 h1 {
        text-align: center;
    }

    .amount-radio {
        display: block;
    }
}