/* fonts */
@font-face{
    font-family: 'abo';
    src: url('../../fonts/CHARCOAL.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'abo-bold';
    src: url('../../fonts/System Charcoal SFNSDisplay-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'nipis';
    src: url('../../fonts/Garamond Condensed Light Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


header {
    width: 100%;
    height: 22px;
    background-color: #dddddd;
    box-sizing: border-box;
    display: flex;
    border-bottom: 2px solid #353535;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    align-items: center;
    justify-content: left;
    overflow: hidden;
}


header p{
    font-family: 'abo-bold', sans-serif;
    font-size: 14px;
    padding: 0;
    margin-left: auto;
}

.sagwa a{
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-family: 'abo-bold', sans-serif;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0
}
.sagwa a:hover{
    font-family: 'abo-bold', sans-serif;
    color: #8c877d;
}

nav {
    align-items: center;
    display: flex;
    gap: 10px;
    width: 100%;
}
nav img{
    object-fit: cover;
}

.splitter{
    height: 15px;
    width: 7px;
}

.finder{
    height: 15px;
    width: 15px;
}

.start{
    width: 25px;
    height: 30px;
}

body{
    background-image: url("../../asset/images/backgrounds/tetos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.start {
    cursor: pointer;
}

.startmenu {
    display: none;
    position: absolute;
    top: 22px;
    left: 0;
    width: 180px;
    padding: 3px 0 3px 0;
    background-color: #dddddd;
    border: 2px solid #353535;
    box-sizing: border-box;
    font-family: 'abo', sans-serif;
    font-size: 13px;
}

#startToggle:checked ~ .startmenu {
    display: block;
}

.startmenu a {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    color: #000;
    text-decoration: none;
}

.startmenu a:hover {
    background-color: #333399;
    color: #fff;
}

.startmenu .about {
    font-family: 'abo-bold', sans-serif;
}

.startmenu img {
    width: 16px;
    height: 16px;
}

.startmenu hr {
    border: none;
    border-top: 1px solid #8c877d;
    margin: 3px 0;
}



.window {
    flex: 1;
    min-height: 0;
    display: flex;
}

.box1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #dddddd;
    border: 2px solid #000;
    padding: 0 6px 6px;
    gap: 6px;
    font-family: 'abo-bold', sans-serif;
    color: #000;
}

.titlebar {
    position: relative;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 4px 34px;
}

.titlebar span {
    background-color: #dddddd;
    padding: 0 10px 0 10px;
    font-size: 14px;
}

.close {
    border-radius: 30%;
    position: absolute;
    right: 4px;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    background-color: #dddddd;
    border: 1px solid #000;
}

.close:hover {
    background-color: #c22424;
}

.box2 {
    flex: 1;
    min-height: 0;
    overflow: auto;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 2px solid #000;
    padding: 0px 0px 0px 0px;
    font-family: 'nipis', sans-serif;
}

.psuedosearch{
    width: auto;
    height: 18px;
    border:2px #000 solid;
    background: #fff;
    display: flex;
    font-family: 'abo', sans-serif;
    justify-content: left;
    align-items: center;
}

.balik{
    display: flex;
    align-items: center;
    padding: 0 4px;
    margin-right: 6px;
    border-right: 2px solid #000;
}

.balik img {
    width: 19px;
    height: 19px;
}

.psuedosearch p {
    margin: 0;
}

/* Psuedoweb for very cool fake websites - pain in the ahh */

.pseudoweb {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
    background-color: #ffffff;
    border-style: solid;
    border-color: #000;
    border-width: 2px 2px 2px 2px;
    padding: 16px 24px 16px 24px;
    color: #000;
    display: flex;
    flex-direction: column;
}

.pseudoheader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 12px;
    border-bottom-style: solid;
    border-bottom-color: #a2a9b1;
    border-bottom-width: 1px;
    padding: 0px 0px 12px 0px;
    margin: 0px 0px 14px 0px;
    text-align: left;
}

.pseudoheader img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.pseudoheader h2 {
    margin: 0px 0px 0px 0px;
    font-size: 26px;
    letter-spacing: 2px;
}

.pseudoheader p {
    margin: 2px 0px 0px 0px;
    font-size: 14px;
    font-style: italic;
}

.wikisearch {
    display: flex;
    justify-content: center;
    gap: 4px 4px;
    margin: 0px 0px 16px 0px;
}

.wikisearch input {
    width: 60%;
    padding: 4px 8px 4px 8px;
    border-style: solid;
    border-color: #555;
    border-width: 1px 1px 1px 1px;
    font-family: 'abo', sans-serif;
    font-size: 13px;
}

.wikisearch button {
    padding: 4px 12px 4px 12px;
    background-color: #dddddd;
    border-style: solid;
    border-color: #000;
    border-width: 1px 1px 1px 1px;
    font-family: 'abo-bold', sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.wikisearch button:hover {
    background-color: #333399;
    color: #ffffff;
}

.pseudobody {
    padding: 4px 8px 4px 8px;
}

.pseudocolumns {
    display: flex;
    gap: 20px 20px;
}

.pseudocolumns div {
    flex: 1;
}

.pseudobody p {
    margin: 10px 0px 4px 0px;
    font-size: 16px;
    border-bottom-style: solid;
    border-bottom-color: #a2a9b1;
    border-bottom-width: 1px;
    padding: 0px 0px 2px 0px;
}

.pseudobody ul {
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 0px 20px;
}

.pseudobody li {
    margin: 4px 0px 4px 0px;
    font-size: 15px;
}

.pseudobody a {
    color: #333399;
    text-decoration: none;
}

.pseudobody a:hover {
    text-decoration: underline;
}

.pseudofooter {
    margin: 14px 0px 0px 0px;
    padding: 8px 0px 0px 0px;
    border-top-style: solid;
    border-top-color: #a2a9b1;
    border-top-width: 1px;
    text-align: center;
    font-size: 13px;
    color: #555;
}

/* The pages section */

.wikihome {
    display: flex;
    align-items: center;
    padding: 4px 10px 4px 10px;
    background-color: #dddddd;
    border-style: solid;
    border-color: #000;
    border-width: 1px 1px 1px 1px;
    color: #000;
    text-decoration: none;
    font-family: 'abo-bold', sans-serif;
    font-size: 13px;
}

.wikihome:hover {
    background-color: #333399;
    color: #ffffff;
}

.wikiarticle {
    display: flex;
    flex-direction: column;
    padding: 0px 8px 0px 8px;
}

.wikititle {
    border-bottom-style: solid;
    border-bottom-color: #a2a9b1;
    border-bottom-width: 1px;
    margin: 0px 0px 12px 0px;
    padding: 0px 0px 6px 0px;
}

.wikititle h2 {
    margin: 0px 0px 2px 0px;
    font-size: 24px;
}

.wikititle p {
    margin: 0px 0px 0px 0px;
    font-size: 12px;
    font-style: italic;
    color: #555;
}

.wikiwrap {
    display: block;
}

.wikiinfobox {
    float: right;
    width: 220px;
    margin: 0px 0px 12px 16px;
    padding: 8px 8px 8px 8px;
    background-color: #f8f9fa;
    border-style: solid;
    border-color: #a2a9b1;
    border-width: 1px 1px 1px 1px;
    font-size: 13px;
}

.wikiinfohead {
    background-color: #ebb1b1;
    border-style: solid;
    border-color: #a2a9b1;
    border-width: 1px 1px 1px 1px;
    padding: 4px 6px 4px 6px;
    margin: 0px 0px 8px 0px;
    text-align: center;
    font-family: 'abo-bold', sans-serif;
    font-size: 14px;
}

.wikiinfobox img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0px auto 8px auto;
    background-color: #ffffff;
    border-style: solid;
    border-color: #cccccc;
    border-width: 1px 1px 1px 1px;
}

.wikiinfobox ul {
    list-style-type: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.wikiinfobox li {
    padding: 4px 0px 4px 0px;
    border-top-style: solid;
    border-top-color: #dddddd;
    border-top-width: 1px;
    font-size: 12px;
}

.wikitext p {
    margin: 0px 0px 10px 0px;
    font-size: 15px;
    line-height: 1.5;
}

.wikitext h3 {
    margin: 14px 0px 6px 0px;
    padding: 0px 0px 2px 0px;
    border-bottom-style: solid;
    border-bottom-color: #a2a9b1;
    border-bottom-width: 1px;
    font-size: 18px;
}

.wikitext ul {
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 0px 20px;
}

.wikitext li {
    margin: 4px 0px 4px 0px;
    font-size: 14px;
}

.wikitoc {
    display: inline-block;
    background-color: #f8f9fa;
    border-style: solid;
    border-color: #a2a9b1;
    border-width: 1px 1px 1px 1px;
    padding: 8px 14px 8px 14px;
    margin: 4px 0px 12px 0px;
    font-size: 13px;
}

.wikitoc ul {
    list-style-type: none;
    margin: 6px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.wikitoc a {
    color: #333399;
    text-decoration: none;
}

.wikitoc a:hover {
    text-decoration: underline;
}

@media (max-width: 750px) {

    nav ul {
        font-size: 70%;
    }

    main {
        font-size: 70%;
    }

    .pseudocolumns {
        flex-direction: column;
        gap: 6px 6px;
    }

    .wikisearch input {
        width: 70%;
    }

    .wikiinfobox {
        float: none;
        width: 100%;
        box-sizing: border-box;
        margin: 0px 0px 12px 0px;
    }
}



