/* #region BUILT IN */
body
{
    background-color: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

h1
{
    margin: 0;
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 50pt;
    font-weight: 320;
}

h2
{
    margin: 0;
    font-size: 35px;
    font-weight: 300;
}

p
{
    margin: 0;
    font-size: 15pt;
}

img
{
    user-select: none;
}
/* #endregion */

/* #region IDs */
#desktop-sidebar
{
    position: fixed;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 1);
    height: 100vh;
    width: 256px;
    justify-content: center;
    z-index: 10;
}

#ham-btn
{
    z-index: 10;
    display: none;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
    width: 100%;
    height: 40px;
    border-style: none;
    font-family: 'bfi-icons';
    font-size: 15pt;
}
#ham-btn:active
{
    background-color: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}

#mobile-navmenu
{
    z-index: 10;
    position: fixed;
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    height: 100vh;
}

#container
{
    margin-left: 270px;
    margin-right: 15px;
    animation: 0.2s page-load;
}

#logo
{
    margin-top: 50px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
}

#games
{
    display: none;
}

#links
{
    display: none;
}

#contact
{
    display: none;
}

#nopage
{
    display: none;
}
/* #endregion */

/* #region CLASSES */
.desktop-sbtn
{
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 1) 50%);
    background-size: 200% 100%;
    color: rgba(0, 0, 0, 1);
    width: 100%;
    height: 50px;
    border-radius: 0%;
    border-style: none;
    font-size: 15pt;
    transition: background-position 0.2s, color 0.1s;
    font-family: 'Roboto'; /* No idea why this has to be said AGAIN on buttons */
    font-weight: 300;
    user-select: none;
}
.desktop-sbtn:hover
{
    background-position: -100% 0;
    color: rgba(255, 255, 255, 1);
}
.desktop-sbtn:active
{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(91, 29, 0, 1) 50%);
    color: rgba(255, 255, 255, 1);
}

.mobile-sbtn
{
    background-color: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
    width: 100%;
    height: 60px;
    border-style: none;
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 15pt;
    user-select: none;
    margin-top: 10px;
}
.mobile-sbtn:active
{
    background-color: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}

.ext-link
{
    display: inline-block;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 1) 50%);
    background-size: 200% 100%;
    transition: background-position 0.2s, color 0.1s;
    border-radius: 0%;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    border-width: 2px;
    margin-right: 15px;
    margin-bottom: 5px;
    color: rgba(0, 0, 0, 1);
    align-content: center;
    height: 40px;
    width: fit-content;
    padding-left: 10px;
    padding-right: 10px;
    user-select: none;
    text-decoration: none;
}
.ext-link:hover
{
    background-position: -100% 0;
    color: rgba(255, 255, 255, 1);
}
.ext-link:active
{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(91, 29, 0, 1) 50%);
    color: rgba(255, 255, 255, 1);
}

.game-desk
{
    display: block;
}

.game-mobi
{
    display: none;
}
/* #endregion */

/* #region FONTS */
@font-face /* Roboto Variable */
{
    font-family: 'Roboto';
    src: url(/resources/fonts/roboto/roboto.ttf);
}

@font-face /* bfi-icons */
{
    font-family: 'bfi-icons';
    src: url(/resources/fonts/bfi-icons/bfi-icons.ttf);
}
/* #endregion */

/* #region ANIMATIONS */
@keyframes page-load
{
    0% {transform: translateX(-10px);}
    100% {transform: none;}
}
/* #endregion */


/* MOBILE ----- */

@media (max-width: 860px)
{
    /* #region IDs */
    #desktop-sidebar
    {
        display: none;
    }

    #ham-btn
    {
        display: block;
    }

    #container
    {
        margin-left: 14px;
    }
    /* #endregion */

    /* #region CLASSES */
    .game-desk
    {
        display: none;
    }

    .game-mobi
    {
        display: block
    }
    /* #endregion */
}