* {
    --2048blue:#19295D;
    --2048orange:#dd580b;
    --2048white:#fff;
    --2048blueDisabled:#3F4457;
}

@font-face {
    font-family:"Neo Sans";
    src:url("/firestar/fres/typeface/neo_reg.otf") format('opentype');
    font-weight:normal;
}

@font-face {
    font-family:"Neo Sans";
    src:url("/firestar/fres/typeface/neo_med.otf") format('opentype');
    font-weight:bold;
}

@font-face {
    font-family:"Neo Sans";
    src:url("/firestar/fres/typeface/neo_bold.otf") format('opentype');
    font-weight:900;
}

@font-face {
    font-family:"Symbols";
    src:url("/firestar/fres/typeface/SymbolsNerdFont-Regular.ttf");
}

body {
    font-family:"Neo Sans", "Exo 2", Arial, Helvetica;
    font-weight:normal;
    color:var(--2048blue);
    background:url("/firestar/fres/image/pattern2048_40.png"), var(--2048white);
    background-size: 30px;
    background-position: center top;
    background-attachment: fixed;
    
    margin:0px;
    padding:0px;
}

div#content-wrapper {
    margin:auto;
    width:600px;
    margin-top:30px;
    margin-bottom:30px;
    padding:30px 10px 30px 10px;
}

a {
    color:var(--2048orange);
    font-weight: bold;
    text-decoration: none;
}

h1 {
    font-family:"Neo Sans";
    font-weight:900;
    border-bottom:3px solid var(--2048blue);
}

h2, h3, h4 {
    font-family:"Neo Sans";
    font-weight:bold;
}

hr {
    color:var(--2048blue);
}

img.fit.h1icon {
    height:24px;
    width:auto;
}

i.fit.h1icon {
    display:block;
    height:24px;
    width:auto;
    color:var(--2048white);
    font-size: 24px;
    text-align: center;
}

img.fit.width {
    width:100%;
    height:auto;
}

img.fit.width.overflow1 {
    width:calc(100% + 200px);
    margin-left:-100px;
    max-width: 800px;
}

h1.iconheader {
    padding:0px;
    height:40px;
}

h1.iconheader:has(img) > label {
    display:inline-block;
    transform: translateY(-8px);
}

h1.iconheader:has(i) > label {
    display:inline-block;
    transform: translateY(2px);
}

h1.iconheader > span.iconblock {
    display:inline-block;
    width:40px;
    height:40px;
    margin:0px;
    background-color:var(--2048blue);
    align-content: center;
    margin-right:5px;
}

h1.iconheader > span.iconblock > img{
    height:auto;
    width:calc(100% - 16px);
    margin:8px;
}

h1.gapless {
    margin-bottom: 0px !important;
}

div.paragraphWide {
    display:block;
    width:100%;
    margin:0px;
    padding-top:5px;
    padding-bottom:5px;
    background-color: var(--2048white);
}

div.buildsContainerWide {
    user-select: none;
    display:flex;
    width:100%;
    height:100px;
    background-color: var(--2048blue);
}

.buildsDownloadLabel {
    text-align: center;
    align-content: center;
    
    /*
    width:calc(25% - 9px);
    height:calc(100% - 6px);
    margin:3px;
    margin-left:6px;*/
    width:calc(25% - 8px);
    height:calc(100% - 6px);
    border:3px solid var(--2048orange);
    border-left:4px solid var(--2048orange);
    border-right:4px solid var(--2048orange);
    background-color: var(--2048white);
    color:var(--2048blue);
    
    font-weight:900;
}

.buildsDownloadBtn {
    width:25%;
    height:100%;
    color:var(--2048white);
    text-align: center;
    align-content: center;
}

.buildsDownloadBtn * {
    cursor:pointer;
}

.buildsDownloadBtn > a {
    color:inherit;
    text-decoration:none;
    font-weight:inherit;
    display:block;
    width:100%;
    height:100%;
}

.buildsDownloadBtn.third {
    width:25%;
}

.buildsDownloadBtn.half {
    width:37.5%;
}

.buildsDownloadBtn.single {
    width:75%;
}


div.buildsContainerWide > .buildsDownloadBtn:hover {
    background-color:var(--2048orange);
}

div.buildsContainerWide > .buildsDownloadBtn:hover:active {
    background-color:var(--2048white);
    color:var(--2048orange);
}

div.buildsDownloadBtn.disabled {
    background-color: var(--2048blueDisabled) !important;
    cursor: default !important;
    color: #888 !important;
}

.dlBtnLinkIcon {
    font-size:60px;
    transform: translateY(20px);
}

a.hasTextLabel > .dlBtnLinkIcon {
    font-size:60px;
    transform: translateY(10px);
}

a.hasTextLabel > label {
    display:inline-block;
    transform: translateY(15px);
}

div.buildsContainerWide > .buildsDownloadLabel.recommended::before {
    display:block;
    position: absolute;
    content:"RECOMMENDED";
    font-size: 12px;
    transform: rotate(-90deg) translateY(-58px) translateX(-12px);
}

div.paragraphWide.dev {
    margin:0px;
    padding:0px;
}

div.paragraphWide > p {
    display: block;
    margin: 0px;
    /*padding: 5px;*/
    padding: 10px;
}

div.devCardWide {
    display:block;
    height:100px;
    width:100%;
    margin:0px;
    margin-top:5px;
    margin-bottom:5px;
}

div.devCardWide.first {
    margin-top:0px;
}

div.devCardWide.last {
    margin-bottom:0px;
}

div.devCardWide > div.details {
    height: 100%;
    width: 100%;
    display:block;
    padding-top:5px;
}

div.devCardWide > img {
    float:left;
    height:100px;
    width:100px;
    margin-right:10px;
}

div.details.favAGS2048 {
    background:linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url("https://screwgravity.net/firestar/fres/image/logotype_ags2048.png");
    background-size: 200px;
    background-position: right 27px;
    background-repeat: no-repeat no-repeat;
}

div.details.favAuri2048 {
    background:linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url("https://screwgravity.net/firestar/fres/image/Auricom_2048.webp");
    background-size: 120px;
    background-position: right 27px, 92% 10px;
    background-repeat: repeat no-repeat, no-repeat no-repeat;
}

div.details.favAss2048 {
    background:linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url("https://screwgravity.net/firestar/fres/image/Assegai_2048.png");
    background-size: 120px;
    background-position: right 27px, 92% 10px;
    background-repeat: repeat no-repeat, no-repeat no-repeat;
}

div.buildsContainerWide > .buildsDownloadBtn .drawerOpen {
    background-color:var(--2048white);
    color:var(--2048orange);
}

div.buildsContainerDrawer.open {
    height:100px;
}

div.buildsContainerDrawer {
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
    overflow-y: hidden;
    user-select: none;
    display:flex;
    width:100%;
    height:0px;
    background-color:var(--2048orange);
    color:var(--2048white);
}

div.buildsContainerDrawer > .buildsDownloadLabel {
    height:94px;
    border:3px solid var(--2048white);
    border-left:4px solid var(--2048white);
    border-right:4px solid var(--2048white);
    background-color:var(--2048blue);
    color:var(--2048white);
}

div.buildsContainerDrawer > .buildsDownloadBtn {
    background-color:var(--2048white);
    color:var(--2048blue);
}

div.buildsContainerDrawer > .buildsDownloadBtn:hover {
    background-color:var(--2048orange);
    color:var(--2048white);
}

div.buildsContainerDrawer > .buildsDownloadBtn:hover:active {
    background-color:var(--2048white);
    color:var(--2048orange);
}

.nf-arch::before {
    content:"󰣇";
    font-family: "Symbols";
    font-weight:100;
}

a.hasTextLabel.altmargin > .dlBtnLinkIcon {
    transform: translateY(8px);
}

a.hasTextLabel.altmargin > label {
    transform: translateY(10px);
}

a.donationButtonImg {
    float:right;
    margin:10px;
    margin-left:20px;
    margin-right:20px;
}

div.paragraphWide > h1,
div.paragraphWide > h2,
div.paragraphWide > h3 {
    margin-left:8px;
    margin-right:8px;
}
