@charset "utf-8";

@font-face {
    font-family: 'pixelmplus';
    src: url('font/pixelmplus12-regular-webfont.woff2') format('woff2'),
         url('font/pixelmplus12-regular-webfont.woff') format('woff'),
         url('font/pixelmplus12.ttf') format('truetype'); /* Added .ttf fallback */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "haxrcorp";
    src: url("font/haxrcorp_4089_cyrillic_altgr.woff") format("woff"),
         url("font/haxrcorp.ttf") format("truetype"); /* Added .ttf fallback */
    font-weight: normal;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 0;
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'pixelmplus', monospace; 
    font-size: small;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    
    background-color: #111; 
    
    background-image: 
        linear-gradient(rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.2)),
        url('img/background1.jpg');
        
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}

input:focus, textarea:focus {
    outline: none;
}

.time {
    font-family: "haxrcorp", monospace;
    font-size: large;
    text-align: right;
    position: absolute;
    top: 10px;
    right: 25px;
    z-index: 9999;
}

.time > * { font-size: large; }
#seconds { font-size: 70%; vertical-align: bottom; }

.weather {
    font-family: "haxrcorp", monospace;
    font-size: large;
    text-align: left;
    position: absolute;
    top: 10px;
    left: 25px;
    z-index: 9999;
}

.weather > * { font-size: large; }

#location-input-container {
    display: flex;
    align-items: center;
}

#location-input {
    font-family: "haxrcorp", monospace;
    font-size: large;
    color: white;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid white;
    margin-left: 5px;
    width: 120px;
    padding: 0;
}

#location-input::placeholder {
    color: #888;
}

.containerwrapper {
    position: relative;
    margin: 3% 0;
    display: flex;
    flex-direction: column;
}

.containerwrapper > *{ position: relative; top: 10%; }
.container > * { margin: 5px 0; }

.container {
    position: relative;
    top: 10%;
    margin: 0px auto;
    width: 850px;
    height: 500px;
    min-height: 500px;
}

.container-top {
    margin-top: 0;
    text-align: center;
    position: relative;
    top: 0px;
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-top::after { content: "welcome home."; }
.container-top:hover::after { content: 'お帰りなさい'; }

.container-middle {
    height: 90%;
    width: 100%;
    position: relative;
    display: flex;
}

.container-bottom {
    margin-bottom: 0 !important;
    display: flex;
    position: relative;
    width: 100%;
    height: 14px;
}

.container-bottom > * {
    background-color: #c4c4c4;
    margin-right: 5px;
}

.search { flex-grow: 2; }
.button { min-width: 14px; cursor: pointer; }
.button:hover { background-color: #999999 !important; }

.quote {
    color: black;
    text-align: center;
    margin-right: 0;
    min-width: 250px;
}

form, input {
    display: block;
    height: 100%;
    width: 100%;
    border: none;
    padding-left: 5px;
    background-color: transparent;
}

.accent {
    position: relative;
    background-color: rgb(71, 89, 167);
    height: 2px;
}

.accent#top {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.accent#division {
    margin: 5px auto;
    width: 850px;
}

.main {
    color: black;
    background-color: #c4c4c4;
    width: 70%;
    min-width: 595px;
    margin-right: 5px;
    height: 100%;
    display: none;
    position: relative;
    left: 0px;
    overflow: hidden;
}

#player {
    height: 100%;
    min-width: 595px;
}

.sidebar {
    position: relative;
    right: 0px;
    width: 30%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #c4c4c4;
    cursor: pointer;
}

.section {
    text-align: center;
    background-color: transparent;
    position: relative;
    padding: 10px;
    margin: 0;
    width: 150px;
    height: 100%;
}

.section > a {
    height: 27px;
    line-height: 27px;
    padding-left: 3px;
    text-decoration: none;
    color: black;
    text-align: left;
    display: block;
    transition: background-color 0.2s ease;
}

.section > a:hover {
    text-decoration: underline;
    background-color: #a0a0a0;
}

/* --- NOTES CSS --- */
.notes { width: 850px; position: relative; top: 10%; margin: 0px auto; }
.newnote { position: absolute; right: 0; }
.newnote:hover { text-decoration: underline; cursor: pointer; }
.notebutton { width: 100%; height: 15px; background-color: #999999; border: none; line-height: 15px; cursor: pointer; color: black;}
.notebutton:active { background-color: #777777; }
#formwrapper { position: relative; top: 0; padding-right: 50px; z-index: 100; font-size: 0; width: 100%; margin-left: 15px; }
.notecreation { opacity: 1; font-size: 0; height: 38px; }
#notetaker { width: 100%; min-height: 30px; max-height: 600px; padding: 0 210px 0 5px; outline: none; border: none; font-size: 15px; line-height: 15px; background-color: #c4c4c4; color: black;}
.note { transition: background-color 0.2s ease; padding: 5px 3px; display: flex; flex-wrap: wrap; }
.note:hover { background-color: rgba(255, 255, 255, 0.1); }
.editdel { transition: opacity 0.2s ease; opacity: 0; flex: auto; }
.savecancel { opacity: 1; flex: auto; float: right; }
.note:hover .editdel { opacity: 1; }
.edit, .del, .save, .cancel { height: 14px; padding: 0 5px; float: right; }
.edit:hover, .del:hover, .save:hover, .cancel:hover { text-decoration: underline; cursor: pointer; }
.edit:before { content: "edit"; }
.del:before { content: "del"; }
.cancel:before { content: "cancel"; }
.save::before { content: "save"; }
.note .content { width: 70%; white-space: pre-wrap; word-wrap: break-word; }
.note textarea.content { background-color: rgba(255, 255, 255, 0.1) !important; font-size: 14px; resize: none; max-width: 70%; padding: 0 1px; border: none; color: white; }
.note .timestamp { min-width: 100%; text-align: right; }
.bullet { height: 100%; width: 1%; text-align: center; margin-right: 5px; }
.bullet:before { content: "-"; }