/* -------------------- */
/* GLOBAL */
/* -------------------- */

@font-face {
    font-family: 'Bebas Kai';
    src: url('fonts/Bebas Kai.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Impact';
    src: url('fonts/Impact.woff2') format('woff2');
    font-display: block;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fffafa;
    font-family: 'Bebas Kai', sans-serif;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #fffafa #101010;
}

/* -------------------- */
/* TABLES */
/* -------------------- */

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 0;
}

/* -------------------- */
/* HEADER */
/* -------------------- */

.header-table {
    position: relative;

    background-color: #101010;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px #101010;
}

.logo-container {
    padding-top: 20px;
    padding-bottom: 15px;
}

.logo-text {
    font-family: Impact, sans-serif;
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: -1px;
    color: #fffafa;
    text-shadow: 1px 1px 3px #fffafa;
}

.header-table a {
    text-decoration: none;
}

/* -------------------- */
/* CONTENT */
/* -------------------- */

.content-table {
    background-color: #fffafa;
}

/* -------------------- */
/* MENU */
/* -------------------- */

.centered-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.menu-link {
    color: #101010;
    text-decoration: none;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    text-shadow: 2px 1px 4px #101010;
}

.menu-link:hover {
    color: #fffafa;
    text-decoration: none;
    text-shadow: 2px 1px 4px #282828;
}

/* -------------------- */
/* IMAGE */
/* -------------------- */

.img-responsive {
    width: 100%;
    max-width: 490px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* -------------------- */
/* FOOTER */
/* -------------------- */

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    text-align: center;
    color: #777;
    font-size: 0.9rem;

    margin-top: 40px;
    margin-bottom: 20px;
}

.footer-social {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;

    opacity: 0.9;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-social:hover {
    opacity: 1;
    transform: scale(1.06);
}

.legal-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;

    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* -------------------- */
/* LANGUAGE SWITCH */
/* -------------------- */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
    user-select: none;
}

.lang-label {
    font-family: 'Bebas Kai', sans-serif;
    font-size: 1.15rem;

    color: #777;
    opacity: 0.45;

    transition:
        opacity 0.25s ease,
        color 0.25s ease;
}

.lang-switch.is-en .lang-label-en,
.lang-switch.is-fr .lang-label-fr {
    opacity: 1;
    color: #777;
}

.lang-slider {
    position: relative;

    width: 72px;
    height: 34px;

    background-color: rgba(120,120,120,0.18);

    border-radius: 999px;

    box-shadow:
        inset 0 2px 5px rgba(0,0,0,0.22),
        0 1px 4px rgba(255,255,255,0.12);
}

.lang-flag {
    position: absolute;
    top: 50%;
    left: 3px;

    width: 30px;
    height: 30px;

    object-fit: cover;
    border-radius: 50%;

    transform: translateY(-50%);

    box-shadow: 0 2px 7px rgba(0,0,0,0.35);

    transition:
        left 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switch.is-fr .lang-flag {
    left: 39px;
}

.header-table .lang-slider {
    background-color: rgba(255,255,255,0.10);

    box-shadow:
        inset 0 2px 5px rgba(0,0,0,0.35),
        0 0 6px rgba(255,255,255,0.08);
}

/* -------------------- */
/* DESKTOP / MOBILE SWITCH */
/* -------------------- */

.lang-mobile {
    display: none;
}

.lang-desktop {
    position: absolute;
    top: 50%;
    right: 40px;

    display: flex;
    align-items: center;

    transform: translateY(-50%);
}

/* -------------------- */
/* MOBILE */
/* -------------------- */

@media screen and (max-width: 768px) {

    .lang-desktop {
        display: none;
    }

    .lang-mobile {
        display: flex;
    }

    .logo-text {
        font-size: 3rem !important;
        letter-spacing: -1px;
    }

    .logo-container {
        padding-top: 14px;
        padding-bottom: 12px;
    }

    .centered-row {
        gap: 15px;
    }

    .menu-link {
        font-size: 1.6rem;
    }

    .img-responsive {
        max-width: 90%;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
    }

    .footer-social {
        width: 38px;
        height: 38px;
    }
}

/* -------------------- */
/* IMAGE PROTECTION */
/* -------------------- */

.protected-image {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.copyright-popup {
    position: fixed;
    z-index: 999999;

    background-color: #fffafa;
    color: #101010;

    padding: 12px 16px;
    border-radius: 6px;

    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;

    box-shadow: 0 0 18px rgba(0,0,0,0.35);

    pointer-events: none;

    opacity: 0;
    transform: translateY(6px);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.copyright-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

a,
img {
    -webkit-tap-highlight-color: transparent;
}

/* -------------------- */
/* SCROLLBAR */
/* -------------------- */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #101010;
    border-radius: 14px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}

::-webkit-scrollbar-thumb {
    background: #fffafa;
    border-radius: 14px;
    box-shadow: inset 0 0 6px rgba(255,255,255,.3);
}