@import 'https://fonts.googleapis.com/css2?family=Cascadia+Code:wght@200..700&display=swap';
/* @import 'milligram';
@import 'mainNav';
@import 'icons';
@import 'topNav';
@import 'carousel';
@import 'search';
@import 'game';
@import 'page';  */

html {
    scroll-behavior: smooth;
}

body {
    background: rgb(12, 13, 20);
    overflow-x: clip;
}

body::selection {
    /* --background: #f24040; */
    /* --background: #c0f240; */
    --background: #40f29c;
    background: rgb(from var(--background) calc(255 - r) calc(255 - g) calc(255 - b));
}

:root {
    --black-80: #1a1b28;
    --brand-colour: #777beb;
    --base-unit: 8px;
    --nav-icon-color: #777beb;
    --nav-icon-color-active: #b6a751;
    --navigation_open: 200px;
}

* {
    font-family: 'Cascadia Code';
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    color: #fff;
}
a:hover {
    color: var(--nav-icon-color-active);
}

/* --------------------------------------------  */

main.layoutMain {
    margin: 60px 0 0 0;
    padding: 0 20px 0 calc(var(--navigation_open) + 25px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: padding 0.25s ease;
}

main.layoutMain .topPromotion {
    margin: 20px 0 4px 0;
}

main.layoutMain .topPromotion .titleContainer {
    padding: 20px 0 4px 0;
    min-height: 32px;
    display: flex;
    flex-direction: row;
    width: 100%;
}

main.layoutMain .topPromotion .titleContainer h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 20px;
    margin-bottom: auto;
    align-self: flex-start;
}

main.layoutMain .topPromotion .titleContainer a {
    display: inline-block;
    vertical-align: bottom;
    line-height: 2.2;
}

.backToTop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-direction: row;
    width: 100%;
    padding: 24px;
}

.backToTop a.button {
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backToTop a.button [role='img'],
.backToTop a.button > img {
    height: 20px;
    width: 20px;
    margin-right: calc(8px * 1);
}

.backToTop a.button [role='img'].icon__backToTop {
    mask-image: url("/assets/arrow-full-top-cd943f99.svg");
    display: inline-block;
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: currentColor;
}

/* --------------------------------------------  */

@media (max-width: 987px) {
    main.layoutMain {
        padding: 0 20px;
    }
}
/* --------------------------------------------  */
