* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

html,
body {
    width: 100%;
    height: 100%;
}
/* WEBSITE */

#main-site {
    min-height: 100vh;
    padding: 40px;
}

/* PDF OVERLAY */

#pdf-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: #111;

    z-index: 999999;

    display: flex;
    flex-direction: column;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

/* Fade out animation */

#pdf-overlay.hide {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
}

/* PDF AREA */

.pdf-container {
    flex: 1;
    overflow: hidden;
}

/* DESKTOP PDF */

#pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* BOTTOM BAR */

.bottom-bar {
    background: white;
    padding: 15px;
    text-align: center;

    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* BUTTON */

#continue-btn {
    background: black;
    color: white;

    border: none;
    padding: 14px 28px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;
    transition: 0.3s ease;
}

#continue-btn:hover {
    opacity: 0.85;
}

/* MOBILE FALLBACK */

.mobile-message {
    display: none;
    color: white;

    padding: 40px 20px;
    text-align: center;
}

.open-pdf-btn {
    display: inline-block;

    margin-top: 20px;
    padding: 12px 22px;

    background: white;
    color: black;

    text-decoration: none;
    border-radius: 8px;
}

/* MOBILE */

@media (max-width: 768px) {

    #pdf-frame {
        display: none;
    }

    .mobile-message {
        display: block;
    }

    .pdf-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bottom-bar {
        padding-bottom: 30px;
    }
}