@font-face {

    font-family: 'BIOS';
    src: url(./BIOS.ttf) format('truetype');

}

@font-face {

    font-family: 'BIOSmini';
    src: url(./BIOSmini.ttf) format('truetype');

}

html {

    image-rendering: pixelated;

}

html, body {

    font-family: 'BIOS';
    font-size: 24px;

    margin: 0;
    padding: 0;

    height: 100vw;
    overflow: hidden;

}

body {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

header {

    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    
    position: fixed;
    top: 0;

    color: #f3dbfb;

    font-family: 'BIOSmini';
    font-size: 13px;

    background-image: url("./images/background/tb/purpolT.png"); 
    background-size: contain;
    border-bottom: #000 solid 2px;

    height: 32px;
    width: 100vw;

    padding: 0 8px;
    
}

header > p, .information > p {
    
    position: relative;
    top: -1.5px;
    
    padding-left: 8px;
}

header > div {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 4px;

    padding-right: 12px;

}

.mainBG {

    background-image: url("./images/background/menu/mainbg.png");
    background-size: contain;

    border: 2px #000 solid;
    outline: 2px #fbfbfb solid;
    outline-offset: -4px;

}

.gridBG {

    background-image: url("./images/background/menu/lines.png");
    background-size: contain;

    border: 2px #797979 solid;
    outline: 2px #fbfbfb solid;
    outline-offset: -4px;

}

.information > p {

    padding-left: 6px;
    border-left: 2px dashed #494949;

    user-select: none;

}

.information > img {

    padding-left: 4px;
    border-left: 2px dashed #494949;

    width: 24px;
    height: auto;

    user-select: none;

}

footer {

    position: fixed;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #f3dbfb;

    background-image: url("./images/background/tb/purpolB.png"); 
    background-size: contain;
    border-top: black solid 2px;

    gap: 48px;

    height: 32px;
    width: 100vw;

    padding: 10px 8px;

}

footer > button {

    all: unset;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #494118;
    
    background-image: url("./images/buttons/buttonbg.png");
    background-size: contain;

    border: 2px #494949 solid;
    outline: 2px #fbfbfb solid ;
    outline-offset: -4px;

    width: 120px;

    padding: 0px 8px;

    user-select: none;

}

footer > button:hover, footer > button:focus {

    all: unset;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #494118;
    
    background-image: url("./images/buttons/buttonhoverbg.png");
    background-size: contain;

    border: 2px #671b8d solid;
    outline: 2px #efdcf9 solid ;
    outline-offset: -4px;

    width: 120px;

    padding: 0px 8px;

    filter: brightness(110%);

    user-select: none;

}

footer > button:active {

    all: unset;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #494118;
    
    background-image: url("./images/buttons/buttonactivebg.png");
    background-size: contain;

    border: 2px #494949 solid;
    outline: 2px #a2a2a2 solid ;
    outline-offset: -4px;

    width: 120px;

    padding: 0px 8px;

    user-select: none;

}

.container {

    position: absolute;
    top: 34px;
    bottom: 54px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    background-image: url("./images/background/dsbg.png");
    background-size: 220px auto;
    background-position: center center;

    gap: 8px;
    
}

.titlecard {

    display: grid;
    justify-content: center;
    align-items: center;

    font-size: larger;

    grid-template-columns: 1fr 3fr;

    width: 430px;
    height: 100px;

}

.titlecard > img {

    width: 72px;
    height: auto;

    margin-left: 18px;
    user-select: none;

}

.navigation {

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    
    gap: 8px;

}

.navigation > a {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 208px;
    height: 98px;

    text-decoration: none;

}

.navigation > a:hover, a:focus {
    
    outline: 2px dashed #8a00d3;
    outline-offset: 2px;
    
    filter: brightness(107.5%);
 
}

.navigation > a > img {
    
    filter: drop-shadow(2px 2px white)
    
}

.navigation > a:active {
    
    background-image: url("./images/background/menu/mainbgact.png");
    background-size: contain;
    
    border: 2px #000 solid;
    outline: 2px solid #a2a2a2;
    outline-offset: -4px;
    
}

.navigation > a:active > img {
    
    filter: drop-shadow(2px 2px grey)
 
}

.navigation > a:active > p {
    
    color: #282828;
    background: #a2a2a2;
    
}

.navigation > a > p {
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    position: relative;
    top: -13.5px;

    color: #000;
    background: #fbfbfb;

    font-family: 'BIOSmini';
    font-size: 13px;

    border: 2px solid #494949;

    margin: 0;
    padding: 2px 0px 4px 0px;

    width: 96%;

    user-select: none;
}

.grid {

    display: flex;
    justify-content: center;
    align-items: center;

    height: 92%;
    width: 98.1%;

}

.content {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url("./images/background/menu/mainbgtop.png"), url("./images/background/menu/mainbgbottom.png");
    background-color: #dbdbdb;

    background-repeat: repeat-x;
    background-size: 4.5px;
    background-position:
        left top,
        left bottom;

    width: 430px;
    max-height: 100%;
    
    padding: 32px 0;
    margin: 32px 0;
    
    overflow-y: auto;
    
}

.content > .tab {
    
    margin: 32px;
    
    text-align: center;
    
}

.content > .tab > p > a, a:link, a:visited {
    
    color: #8a00d3;
    text-decoration: none;

}

.content > .tab > p > a:hover {

    filter: brightness(150%);
    text-decoration: underline 1px;

}

.content > .tab > p > a:active {

    filter: brightness(500%);

}

.submenu {

    display: flex;
    justify-content: space-evenly;
    justify-content: center;
    align-items: center;

    gap: 8px;

    width: 430px;
    height: 100px;

}


.submenu > button {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width:max-content;

    margin: 0px 2px;
    padding: 6.5px;

    text-decoration: none;

}

.submenu > button > img {
    
    width: 82px;
    height: auto;
    
}

.submenu > button:hover, .submenu > button:focus {
    
    outline: 2px dashed #8a00d3;
    outline-offset: 2px;
    
    filter: brightness(107.5%);

    cursor: pointer;
 
}

.submenu > button:active {
    
    background-image: url("./images/background/menu/mainbgact.png");
    background-size: contain;
    
    border: 2px #000 solid;
    outline: 2px solid #a2a2a2;
    outline-offset: -4px;

    cursor: pointer;
    
}

.submenu > button:active > img {

    filter: contrast(175%) brightness(200%) saturate(150%)

}

#tinytext {
    
    font-family: 'BIOSmini';

    font-size: 10px;
    color: grey;
    
}

.projectlist {

    margin: 0 32px;
    height: max-content;

    overflow-y: visible;
    overflow-x: hidden;

}

.projectlist > ul {

    list-style-type: none;
    padding: 0;

}

.projectlist > ul > li > iframe {

    display: block;
    margin: 16px auto;

    border: 2px black solid;

    width: 360px;
    height: 202.5px;

}

.projectlist > ul > li > img {

    display: block;
    margin: 16px auto;

    border: 2px black solid;

    width: 360px;
    height: auto;

}

.projectlist > ul > li > a > img {

    display: block;
    margin: 16px auto;

    border: 2px black solid;

    width: 360px;
    height: auto;

}

.projectlist > ul > li > a > img {

    display: block;
    margin: 16px auto;

    border: 2px black solid;

    width: 360px;
    height: auto;

}

hr {

    border: none;
    border-top: 2px solid #a2a2a2;

}

#unreleased {

    color: #c6a3d9;

}