@font-face {
    font-family: 'Pusab';
    src: url('fonts/pusab.woff2') format('woff2'),
         url('fonts/pusab.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

h1 {
    font-family: 'Pusab', sans-serif;
}

.logo {
    width: min(280px, 100%);
    height: auto;
}

/* Nav and Nav Buttons */
nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin: 12px;
}

.navButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.navBtn {
    font-family: 'Pusab', sans-serif;
    font-size: 1.2rem;
    border: none;
    background: transparent;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    cursor: pointer;
}

.navBtnImg,
.navBtnImgSml {
    width: 70px;
    height: auto;
    display: block;
    background: transparent;
}

.navBtnImgSml {
    width: 50px;
}

/* Video Background */
.video-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

main,
footer {
    position: relative;
    z-index: 1;
}

.content {
    display: flex;
    justify-content: center;
    padding: 16px;
}

.sidebar {
    display: flex;
    width: min(100%, 320px);
    min-height: 220px;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px;
    margin: 0 auto;
}

.panel {
    z-index: 3;
    background-color: #2f2f2f;
    padding: 20px;
    border-radius: 16px;
    width: min(90vw, 520px);
    max-height: 90vh;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
}

.closePanelBtnHolder {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.closePanelBtn {
    font-family: 'Pusab', sans-serif;
}

.panelHeader {
    margin-top: 0;
}

@media (max-width: 720px) {
    nav {
        padding: 12px 14px;
    }

    .navButtons {
        width: 100%;
        justify-content: space-between;
    }

    .navBtnImg,
    .navBtnImgSml {
        width: 54px;
    }

    .sidebar {
        width: 100%;
        min-height: 180px;
        padding: 16px;
        margin: 12px 0 0;
    }

    .panel {
        width: 92vw;
        max-height: 92vh;
        padding: 18px;
    }

    .panelHeader h2,
    .panelHeader p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100%;
        max-width: 220px;
    }

    .navButtons {
        gap: 8px;
    }

    .navBtnImg,
    .navBtnImgSml {
        width: 48px;
    }

    .sidebar {
        min-height: 160px;
        padding: 14px;
    }

    nav {
        gap: 8px;
    }
}
