@font-face {
    font-family: 'SCProsper';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/SCProsperSans-Regular.woff2') format('woff2'),
        url('fonts/SCProsperSans-Regular.woff') format('woff');
}

@font-face {
    font-family: 'SCProsper';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/SCProsperSans-Bold.woff2') format('woff2'),
        url('fonts/SCProsperSans-Bold.woff') format('woff');
}

.ebib-layout-hn #ebib-container,
.ebib-layout-hn #ebib-mobile {
    position: relative;
    width: 800px;
    max-width: 100%;
    aspect-ratio: 6405 / 3355;
    height: auto;
    padding-top: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.ebib-layout-hn #ebib-mobile {
    width: 330px;
}

.ebib-layout-hn .ebib-hn-overlay {
    position: absolute;
    left: 25%;
    right: 0;
    top: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.ebib-layout-hn .ebib-hn-bib {
    font-family: 'SCProsper', sans-serif;
    font-weight: 700;
    font-size: 9rem;
    line-height: 1;
    color: #333333;
    text-align: center;
}

.ebib-layout-hn .ebib-hn-name {
    font-family: 'SCProsper', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #0072CE;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 767px) {
    .ebib-layout-hn .ebib-hn-overlay {
        top: 25%;
        gap: 0.25rem;
    }

    .ebib-layout-hn .ebib-hn-bib {
        font-size: 3.5rem;
    }

    .ebib-layout-hn .ebib-hn-name {
        font-size: 1.125rem;
    }
}
