@import url(/styles/basics.css);

:root {
    --green2: #5c6b49;
    --grey: #d8d8d8;
}

@font-face {
    font-family: 'Pixel';
    src: url(/fonts/PixelOperator.ttf);
}

@font-face {
    font-family: 'Comfortaa';
    src: url(/fonts/Comfortaa.ttf);
}

site {
    width: 1000px;
    flex-direction: row;
    align-content: center;
    display: block;
    font-family: 'Pixel';
}

/* Frame */

.holder {
    margin: auto;
    margin-top: -5px;
    position: relative;
    right: 130px;
    pointer-events: none;
}

.frame {
    position: relative;
    width: 700px;
    pointer-events: none;
    filter: var(--shadow);
}

#screens {
    position: relative;
    left: 0px;
    top: 0px;
}

.box {
    display: flex;
}

/* Top */

.top {
    position: absolute;
    height: 240px;
    width: 345px;
    bottom: 390px;
    left: 325px;
    pointer-events: all;
}

.top #menu {
    background: white;
    width: 28px;
    height: 240px;
    position: relative;
    left: 1px;
}

.top #main {
    background-image: url(/imgs/style/backgrounds/pictolines.png);
    width: 320px;
    height: 240px;
    position: relative;
    left: 1px;
}

.top .scrollable {
    width: 320px;
    height: 240px;
    display: flex;
    flex-direction: column-reverse;
    overflow-y: scroll;
}
/* Bottom */

.bottom {
    position: absolute;
    height: 240px;
    width: 350px;
    bottom: 45px;
    left: 325px;
    overflow: hidden;
    pointer-events: all;
}

.bottom #menu {
    background: white;
    width: 25px;
    height: 240px;
}

.bottom #main {
    background: white;
    width: 320px;
    height: 240px;
}

.bottom #main2 {
    background-image: url(/imgs/style/backgrounds/pictolines.png);
    position: relative;
    top: 18px;
    left: 2px;
    width: 320px;
    height: 210px;
    border: 2px solid black;
    border-radius: 8px 0px 0px 8px;
    padding: 3px;
}

/* Menu */

.icons {
    width: 22px;
    position: relative;
    left: 4px;
}

.top .icons {
    left: 3px;
}

#arrows {
    background-color: transparent;
    top: 6px;
    width: 20px;
    height: 38px;
    left: 6px;
    pointer-events: all;
    user-select: none;
    border-bottom: 2px dotted black;
}

#arrows div {
    background-color: var(--grey);
    width: 20px;
    height: 16px;
    border-bottom: 2px solid black;
    font-size: 22px;
    transform: scale(0.9);
}

#down {
    rotate: 180deg;
}

#pens {
    background-color: transparent;
    top: 6px;
    width: 20px;
    height: 80px;
    left: 7px;
    pointer-events: all;
    user-select: none;
    border-bottom: 2px dotted black;
}

#text {
    background-color: transparent;
    top: 8px;
    width: 20px;
    height: 105px;
    left: 7px;
    pointer-events: all;
    user-select: none;
}

#connect {
    margin-top: 5px;
    border-bottom: 2px dotted black;
}

#hamburger {
    top: 155px;
    width: 22px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

#hamburger #grey {
    background-color: var(--grey);
    height: 3px;
    width: 16px;
    margin-bottom: 2px;
}

#hamburger #color {
    background-color: var(--green);
    height: 3px;
    width: 16px;
}

#letter {
    background-color: transparent;
    top: 165px;
    width: 20px;
    left: 5px;
    pointer-events: all;
    user-select: none;
    border-top: 2px dotted black;
    padding-top: 5px;
}

#pens div, #text div, #letter div {
    background-color: var(--grey);
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

#arrows div:hover, #pens div:hover, #text div:hover, #letter div:hover {
    background-color: var(--green);
}

/* Keyboard */

.keysend {
    background-color: transparent;
    width: 310px;
    height: 90px;
    display: flex;
    bottom: 10px;
    margin-top: -3px;
}

.keyboard {
    background-color: white;
    width: 245px;
    height: 95px;
    border: 2px solid black;
    border-radius: 5px 5px 5px 5px;
    padding: 2px;
    padding-top: 3px;
}

.keyrow {
    overflow: hidden;
    width: 100%;
    display: flex;
    height: 17px;
    justify-content: center;
    gap: 2px;
    margin-top: 2px;
}

.key {
    background-color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    padding: auto;
    font-size: 14px;
    border: 2px solid var(--grey);
    user-select: none;
    pointer-events: all;
}

.key:hover {
    border: 2px dotted var(--green2);
}

.send {
    background-color: var(--grey);
    width: 45px;
    height: 97px;
    border: 2px solid black;
    border-radius: 5px 5px 5px 5px;
    padding-top: 3px;
    margin-left: 10px;
}

.send div {
    border-bottom: 2px solid black;
    width: 45px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.send span {
    position: relative;
    top: -5px;
    user-select: none;
}

#but-send {
    height: 35px;
    margin-bottom: 3px;
}

#but-hide {
    height: 27px;
    margin-bottom: 3px;
}

#but-clear {
    border-bottom: none;
}

/* Chatbox */

.chatbox {
    background-color: transparent;
    display: block;
    height: 100px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 5px 5px 5px 5px;
    margin-bottom: 8px;
}

.top .chatbox {
    position: relative;
    overflow: visible;
}

.top .chatbox2 {
    background-color: white;
    display: flex;
    align-items: center;
    width: 295px;
    position: relative;
}

.namebox {
    position: absolute;
    top: 3px;
    left: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    width: 78px;
    height: 19px;
    border: 2px solid var(--green2);
    border-radius: 5px 0px 5px 0px;
    color: var(--green2);
    user-select: none;
}

.namebox::after {
    content: 'sonder <3';
}

.chatbox2 {
    border: 2px solid var(--green2);
    border-radius: 5px;
    position: absolute;
    width: 307px;
    height: 102px;
    background-color: transparent;
    top: 3px;
    left: 3px;
}

.chatlines {
    position: absolute;
    background-color: white;
    top: 3px;
    left: 3px;
    width: 310px;
    height: 105px;
    border: transparent;
    border-collapse: collapse;
    border-radius: 5px;
    margin-bottom: 8px;
    overflow: hidden;
}

.chatlines tr, .chatlines tbody, .chatlines td {
    border: 2px solid var(--green2);
    border-collapse: collapse;
    border-radius: 5px;
    color: white;
    user-select: none;
}

#x {
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #c2c2c2;
    border: 2px solid black;
    left: 298px;
    top: -16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.post {
    width: 280px;
    font-size: 14px;
    margin: 10px;
    text-align: left;
}

.timestamp {
    font-size: 10px;
    font-style: italic;
    color: grey;
    position: absolute;
    top: 5px;
    width: 295px;
    text-align: right;
    user-select: none;
}

/* Navigation */

#nav {
    width: 180px;
    position: relative;
    left: 850px;
    top: 100px;
}

#navigation {
    position: absolute;
    rotate: 5deg;
}

#navigation img {
    filter: var(--shadow);
}

#paper {
    position: relative;
    width: 355px;
}

#nav .scrollable {
    height: 460px;
    width: 300px;
    display: flex;
    background-color: rgba(245, 245, 245, 0.5);
    flex-wrap: wrap;
    z-index: 8;
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0 15px 15px 15px;
    font-family: 'Comfortaa';
    pointer-events: all;
    user-select: none;
}

ul.navhead {
    text-align: left;
    margin-bottom: 5px;
    margin-left: -40px;
    list-style: none;
    text-decoration: underline wavy black 1px;
}

.navlink li {
    text-align: left;
    list-style: none;
    margin-top: 5px;
}

.navdeco {
    margin-left: 5px;
    width: 20px;
}

