html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

.bx-fallback-thumb,
.boxx-fallback-thumb {
    position: relative;
    min-height: 180px;
    background:
        radial-gradient(circle at 50% 30%, rgba(185,0,0,.26), transparent 55%),
        linear-gradient(145deg, #161616, #050505);
    overflow: hidden;
}

.bx-fallback-thumb::after,
.boxx-fallback-thumb::after {
    content: "BOXXHEAD GAMING";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

video,
iframe {
    max-width: 100%;
}

@media (max-width: 700px) {
    body {
        width: 100%;
    }

    iframe,
    video {
        width: 100%;
    }

    button,
    .btn,
    a.button {
        min-height: 42px;
    }
}


/* =====================================================
   BOXXHEAD GAMING — FINAL RESPONSIVE POLISH
   ===================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

/* Keep video presentation responsive */

iframe,
video {
    display: block;
}

/* Better form behavior */

input,
textarea,
select,
button {
    max-width: 100%;
}

/* Better focus visibility */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Prevent giant titles from breaking mobile */

h1,
h2,
h3,
h4 {
    overflow-wrap: anywhere;
}

/* Cards */

article,
.card,
.bx-card {
    min-width: 0;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    iframe {
        width: 100%;
    }

    main {
        max-width: 100%;
    }

}


/* =====================================================
   PHONE
   ===================================================== */

@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    h1 {
        line-height: 1.08;
    }

    h2,
    h3 {
        line-height: 1.15;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }

    button,
    .btn,
    a.button {
        min-height: 44px;
    }

    iframe,
    video {
        width: 100%;
    }

}


/* =====================================================
   VERY SMALL PHONES
   ===================================================== */

@media (max-width: 380px) {

    body {
        min-width: 0;
    }

    h1,
    h2,
    h3 {
        word-break: normal;
        overflow-wrap: anywhere;
    }

}
