/* 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 4px 4px 4px;
    font-family: 'abo-bold', sans-serif;
    color: #000;
}

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

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

.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: hidden;
    box-sizing: border-box;
    background: #cccccc;
    border: 1px solid #555;
    padding: 0;
    font-family: 'abo', sans-serif;
    display: flex;
}

.pseudoweb {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background-color: #cccccc;
}

.pseudoweb p {
    margin: 0;
}

.psuedoheader {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    background-image: url(../../asset/images/tetoMAIL/tetobanner.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid gray;
    padding: 2px 8px 2px 8px;
    gap: 12px;
}

.logo{
    display: flex;
    align-items: center;
    color: white;
}
.logo img{
    width: 50px;
    height: 50px;
    margin-right: 4px;
}

.chats {
    flex: 1;
    min-height: 0;
    display: flex;
    padding: 2px;
    gap: 4px;
}

.chatrooms {
    width: 220px;
    display: flex;
    flex-direction: column;
    border: 1px solid #555;
    background-color: #ffffff;
}

.storya {
    display: block;
    background: 2px solid transparent;
    padding: 4px 8px;
}

.storya:hover {
    background-color: #333399;
    color: white;
}

.chatrooms a {
    text-decoration: none;
    color: black;
}


.babaw {
    height: 20px;
    line-height: 20px;
    padding: 0 6px 0 6px;
    background-color: #cccccc;
    border-bottom: 1px solid #555;
    font-size: 12px;
}

.messages {
    flex: 1;
    min-width: 0;
    border: 1px solid #555;
    background-color: #ffffff;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.dalom {
    height: 20px;
    background-color: #cccccc;
    border-top: 1px solid #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 8px;
    font-size: 11px;
    flex-shrink: 0;
}

.chatter {
    padding: 0px 10px 10px 10px;
    margin-top: auto;
}

.chatterup {
    padding: 0px 10px 10px 10px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.profile img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid green;
}

.profile:hover{
    transform: scale(1.10);
}

.chatline {
    padding: 3px 0;
    font-size: 13px;
}

.chatline b {
    font-family: 'abo-bold', sans-serif;
    margin-right: 6px;
}

.chatbox {
    display: flex;
    gap: 4px;
    padding: 4px;
    background-color: #dddddd;
    border-top: 1px solid #555;
}

.chatbox input {
    flex: 1;
    font-family: 'abo', sans-serif;
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid #555;
    background-color: #ffffff;
}

.chatbox button {
    font-family: 'abo-bold', sans-serif;
    font-size: 12px;
    padding: 3px 10px;
    background-color: #dddddd;
    border: 1px solid #000;
    cursor: pointer;
}

.chatbox button:hover {
    background-color: #cccccc;
}

@media (max-width: 600px) {

    nav ul {
        font-size: 70%;
    }

    main {
        font-size: 70%;
    }

    .chatrooms {
        width: 110px;
        display: flex;
        flex-direction: column;
        border: 1px solid #555;
        background-color: #ffffff;
    }

    .chatrooms a,h3{
        font-size: 80%;
    }

    .profile{
        margin-left: 5px;
    }

    .profile img{
        width: 30px;
        height: 30px;
    }
}
