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

* {
    -webkit-font-smoothing: antialiased;
    outline: none;
    box-sizing: border-box;
}

:root {
    --mustard: #b3b56e;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Abys', sans-serif;
}

#loading {
    background-size: 34px;
    background: #000 url('../img/loading.gif') no-repeat 50% 50%;
    position: absolute;
    inset: 0;
    z-index: 9999;
}

#bg {
    position: fixed;
    z-index: 1;
    background: url("../img/bg1.jpg") center center / cover no-repeat;
    width: 100%;
    height: 100%;
}

.buttons {
    position: fixed;
    z-index: 20;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    width: min(94vw, 980px);
}

.buttons a {
    color: var(--mustard);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: clamp(20px, 1.7vw, 30px);
    line-height: 1;
    letter-spacing: .025em;
    transition: opacity .2s ease, transform .2s ease;
}

.buttons a:hover,
.buttons a:focus-visible {
    opacity: .65;
    transform: translateY(-1px);
}

.center {
    position: fixed;
    top: 42%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.feels {
    position: relative;
    display: block;
    height: 40dvh;
    width: auto;
    max-width: 90dvw;
    margin: 0 auto 18px;
}

.tour-dates {
    position: fixed;
    z-index: 10;
    left: 50%;
    top: auto;
    bottom: 9vh;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(48px, 8vw, 130px);
    width: min(90vw, 860px);
    color: var(--mustard);
    text-align: center;
}

.tour-date {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: clamp(24px, 2.15vw, 38px);
    line-height: 1.05;
}

.tour-date .date {
    font-size: 1.35em;
    line-height: .95;
    margin-bottom: 2px;
}

.tour-date .venue {
    margin-top: 4px;
}

.tour-date .city {
    font-size: .88em;
}

.ticket-button {
    display: inline-block;
    margin-top: 10px;
    padding: 1px 16px 5px;
    border: 2px solid var(--mustard);
    border-radius: 999px;
    color: var(--mustard);
    text-decoration: none;
    font-size: .78em;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}

.ticket-button:hover,
.ticket-button:focus-visible {
    background: var(--mustard);
    color: #3e1225;
}

/**** MEDIA QUERIES ****/

@media (max-width: 800px) {
    html, body {
        overflow-y: auto;
        overscroll-behavior-y: none;
    }

    .buttons {
        top: 16px;
        gap: 12px 22px;
        flex-wrap: wrap;
        width: 94vw;
    }

    .buttons a {
        font-size: clamp(17px, 5vw, 24px);
    }

    .center {
        top: 53%;
    }

    .feels {
        width: 100dvw;
        height: auto;
        max-width: 100dvw;
        margin-bottom: 12px;
    }

    .tour-dates {
        top: auto;
        bottom: 8vh;
        gap: 24px;
        width: 92vw;
    }

    .tour-date {
        font-size: clamp(20px, 5.5vw, 29px);
    }
}

@media (max-width: 480px) {
    .buttons {
        gap: 8px 16px;
    }

    .buttons a {
        font-size: 17px;
    }

    .center {
        top: 55%;
    }

    .tour-dates {
        top: auto;
        bottom: 7vh;
        gap: 16px;
    }

    .tour-date {
        font-size: 19px;
    }

    .ticket-button {
        padding: 2px 12px 5px;
    }
}
