html {
    scroll-behavior: smooth;
}

#scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

#scroll-container::-webkit-scrollbar {
    display: none;
}

.snap-section {
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
}

@font-face {
    font-family: 'Volvo';
    src: url('/assets/byondreserve/fonts/FontsFree-Net-Volvo-Novum-Medium-1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aku & Kamu';
    src: url('/assets/byondreserve/fonts/Aku & Kamu.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas-Regular';
    src: url('/assets/byondreserve/fonts/Bebas-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alfarn W05 Regular';
    src: url('/assets/byondreserve/fonts/Alfarn W05 Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('/assets/byondreserve/fonts/Helvetica/Helvetica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica-Bold';
    src: url('/assets/byondreserve/fonts/Helvetica/Helvetica-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'YesevaOne-Regular';
    src: url('/assets/byondreserve/fonts/YesevaOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Agrandir-Regular';
    src: url('/assets/byondreserve/fonts/Agrandir-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Agrandir-TextBold';
    src: url('/assets/byondreserve/fonts/Agrandir-TextBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CNN-Sans-Bold';
    src: url('/assets/byondreserve/fonts/CNN Sans Display W04 Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Regular';
    src: url('/assets/byondreserve/fonts/Raleway/Raleway-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway-Bold';
    src: url('/assets/byondreserve/fonts/Raleway/Raleway-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


#courts h2,
#location h2,
#key-feature h2,
#coaching h2,
#facilities h2,
#partners h2,
#membership h2,
#events h2,
#sponsor h2 {
    font-family: 'CNN-Sans-Bold', sans-serif;
    font-size: 5rem;
    line-height: 1;
}

.facility-btn {
    padding: 1.5rem 6rem;
    font-size: 1rem;
}

.facilities-desc {
    color: #fffc;
    font-size: 1rem;
}

body #sectionMainLanding h1 {
    font-family: 'CNN-Sans-Bold', sans-serif;
    line-height: 1;
    font-size: 6rem;
    font-weight: 900;
}

.homepage-main-image {
    width: 51rem;
    height: 37rem;
    object-fit: cover;
}

#logo-image {
    width: 17rem;
    height: auto;
}

#homepage-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

#homepage-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

body #courts p,
body #key-feature p,
body #facilities p,
body #partners p,
body #location p {
    font-family: 'Raleway-Bold';
    font-size: 1rem;
}

#homepage-description {
    font-family: 'Raleway-Regular';
}

#main-title p.para-desc {
    font-size: 18px;
}

#mainBtn {
    width: 220px;
}

#splashTitle {
    font-size: 6rem;
    top: 21rem;
    font-family: "sohne-var", "Helvetica Neue", "Arial", sans-serif;
}

.selected-date {
    background-image: url('/assets/byondreserve/images/img-pickleball-lime-green.png');
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

main.booking-details,
main.credit-details {
    width: 64rem;
}

.voucher-card {
    width: 28rem;
}

.credit-history-max-width {
    max-width: none;
}

@media (max-width: 1536px) {

    .homepage-main-image {
        width: 51rem;
        height: 34rem;
    }

    #logo-image {
        width: 20rem;
        height: auto;
    }

    #homepage-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    #homepage-description {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (max-width: 1399.99px) {
    body #sectionMainLanding h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 4rem;
    }

    #logo-image {
        width: 18rem;
        height: auto;
    }
}

@media (max-width: 1199.99px) {
    body #sectionMainLanding h1 {
        font-size: 6.5rem;
    }

    #courts h2,
    #location h2,
    #key-feature h2,
    #coaching h2,
    #facilities h2,
    #partners h2,
    #membership h2,
    #events h2,
    #sponsor h2 {
        font-size: 3rem;
    }

    #splashTitle {
        font-size: 5rem;
        top: 20rem;
    }

    main.booking-details,
    main.credit-details {
        width: 54rem;
    }

    #logo-image {
        width: 15rem;
        height: auto;
    }

    #homepage-title {
        font-size: 1.4rem;
        line-height: 1.75rem;
    }
}

@media (max-width: 991px) {
    body #sectionMainLanding h1 {
        font-size: 3.5rem;
    }

    #courts h2,
    #location h2,
    #key-feature h2,
    #coaching h2,
    #facilities h2,
    #partners h2,
    #membership h2,
    #events h2,
    #sponsor h2 {
        font-size: 3rem;
    }

    #splashTitle {
        font-size: 4rem;
    }

    main.booking-details,
    main.credit-details {
        width: 42rem;
    }

    .homepage-main-image {
        height: 28rem;
    }
}

@media (max-width: 768px) {
    body #sectionMainLanding h1 {
        font-size: 5rem;
    }

    #courts h2,
    #location h2,
    #key-feature h2,
    #coaching h2,
    #facilities h2,
    #partners h2,
    #membership h2,
    #events h2,
    #sponsor h2 {
        font-size: 3rem;
    }

    .voucher-card {
        width: 22rem;
    }

    .homepage-main-image {
        height: 38rem;
    }
}

@media (max-width: 575.99px) {
    body #sectionMainLanding h1 {
        font-size: 5rem;
    }

    #courts h2,
    #location h2,
    #key-feature h2,
    #coaching h2,
    #facilities h2,
    #partners h2,
    #membership h2,
    #events h2,
    #sponsor h2 {
        font-size: 3rem;
    }

    body #courts p,
    body #key-feature p,
    body #facilities p,
    body #partners p,
    body #location p {
        font-size: 0.875rem;
    }

    section p.para-desc {
        font-size: 14px !important;
    }

    #splashTitle {
        font-size: 2.5rem;
        top: 14rem;
    }

    main.booking-details,
    main.credit-details {
        width: 23rem;
    }

    .voucher-card {
        width: 23rem;
    }

    .homepage-main-image {
        width: 22rem;
        height: 20rem;
    }

    .padelgrapher-text {
        font-family: 'Aku & Kamu';
        font-size: 1rem;
        font-weight: 100;
        top: 0.5rem;
        right: 1.5rem;
    }

    .credit-history-max-width {
        max-width: 21.5rem;
    }

    #logo-image {
        width: 11rem;
        height: auto;
    }

    .facility-btn {
        padding: 1rem 2.5rem;
        font-size: 0.75rem;
    }

    .facilities-desc {
        font-size: 0.875rem;
    }

}

@media (max-width: 390px) {
    body #sectionMainLanding h1 {
        font-size: 4.2rem;
    }

    #mainBtn {
        width: 145px;
        font-size: 0.75rem;
    }

    main.booking-details,
    main.credit-details {
        width: 20rem;
    }

    .voucher-card {
        width: 20rem;
    }

    .homepage-main-image {
        width: 20rem;
        height: 17rem;
    }

    .credit-history-max-width {
        max-width: 18.5rem;
    }
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0;
}

.faq-content.open {
    max-height: 500px;
    opacity: 1;
}

.ribbon {
    --f: 18px;
    --r: 10px;
    --t: 5px;

    position: absolute;
    inset: var(--t) calc(-1*var(--f)) auto auto;
    padding: 0 10px var(--f) calc(10px + var(--r));

    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--f)),
            calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)),
            0 calc(100% - var(--f)), var(--r) calc(50% - var(--f)/2));

    box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;

    font-weight: bold;
    text-align: center;
    color: white;
    font-size: 1rem;
    transform: rotate(30deg);

    right: clamp(-20px, -3vw, -10px);
}