@charset "UTF-8";
  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic&display=swap');

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #1221f5;
  --content-background-color: rgb(255, 255, 255);
  --sidebar-background-color: rgb(255, 255, 255);

  /* Text Colors: */
  --text-color: #000000;
  --link-color: #5052df;
  --link-color-hover: #bfbeff;

  /* Text: */
  --font: "BIZ UDGothic", sans-serif;
  --heading-font: "BIZ UDGothic", sans-serif;
  --font-size: 16px;

  /* Other Settings: */
  --margin: 20px;
  --padding: 20px;
  --border: none;
  --round-borders: 0px;
  --sidebar-width: 250px;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;

  /* cursor: url(img/cursor.gif), auto !important; */

}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("");
  
}

::selection {
  /* (Text highlighted by the user) */
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* 追加 */
/* -------------------------------------------------------- */
.kawaii-box{
  border-color: #c8c8c8;
  border-style: outset;
  border-radius: 8px;
  margin: 5px;
}

.left-sidebar , .right-sidebar , main , footer , header{
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.253);
  border-color: #a4a4a4;
  border-style: outset;
  border-radius: 20px;
}

main footer{
  box-shadow: 5px 5px 15px rgba(255, 255, 255, 0);
  border-color: #c8c8c8;
}

.container { display: flex; flex-wrap: wrap; justify-content: space-between;}
  .column1 {width: 49%;}
  .column2 {width: 49%;}

@media (max-width: 700px) {
  .column1 {width: 100%;}
  .column2 {width: 100%;}
}

.win-top {
  background: var(--link-color-hover);
  width: 100%;
  height: 28px;
  border-width: 0px 0px 2px 0px;
  border-color: #a4a4a4;
  border-style: solid;
  box-sizing: border-box;
  border-radius: 5px 5px 0px 0px;
}
.win-top img{
  width: 15px;
}
.win-top-buttons {
  width: 60px;
  height: 15px;
  margin-left: auto;
  margin-right: 5px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-end;
}
.win-top-x:hover:after{
  background-image: url();
}
.win-box{
   width: 50%; height: 80%; 
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.253);
}
@media (max-width: 700px) {
  .win-box {width: 95%;}
}

.title-bar-controls button {
border:none;
border-radius:0;
box-sizing:border-box;
color:transparent;
min-height:23px;
min-width:75px;
padding:0 12px;
text-shadow:0 0 #222;
}

.title-bar-controls button {
background:silver;
box-shadow:inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
}

.title-bar-controls button:not(:disabled):active {
box-shadow:inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px grey;
text-shadow:1px 1px #222;
}

@media (not(hover)){
button:not(:disabled):hover {
box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}
}

.title-bar-controls button:focus {
outline:1px dotted #000;
outline-offset:-4px;
}

.window, .title-bar {
-webkit-font-smoothing: none;
}

.window {
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #ffffff;
background: #e1e1e1;
padding: 3px;
width:100%;
}

.title-bar {
background:var(--link-color);
padding: 3px 2px 3px 3px;
display: flex;
justify-content: space-between;
align-items: center;
}

.title-bar-text {
font-weight: bold;
color: white;
letter-spacing: 0;
margin-right: 24px;
}

.title-bar-controls {
display: flex;
}

.title-bar-controls button {
padding: 0;
display: block;
min-width: 16px;
min-height: 14px;
}

.title-bar-controls button:active {
padding: 0;
}

.title-bar-controls button:focus {
outline: none;
}

.title-bar-controls button[aria-label=Minimize]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/main/icon/minimize.svg");
background-position:bottom 3px left 4px;
background-repeat:no-repeat
}

.title-bar-controls button[aria-label=Maximize]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/4a2282dd9170cabf730fb5803d1153d86b2e94e3/icon/maximize.svg");
background-position:top 2px left 3px;
background-repeat:no-repeat;
}

.title-bar-controls button[aria-label=Close]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/main/icon/close.svg");
background-position:top 3px left 4px;
background-repeat:no-repeat;
margin-left:2px;
}

.window-body {
margin: 8px;
text-align: center;
}

.window-body img{
  max-width: 90%;
}

/* literally only part ive custom coded so it scrolls . i also like the effect the fieldset adds */
.fieldset {
border:1px gray solid;
box-shadow: white 1px 1px 0px inset, white 1px 1px 0px, white 0px 1px 0px, white 1px 0px 0px;
margin:0;
padding:10px;
overflow-y:auto; 
height: 250px;
}



/*  */
.left-sidebar li{
  width: 160px;
  height: 35px;
  background: #ffffff;
  background: linear-gradient(to bottom, #ffffff 50%, #e8e8e8 100%);
  border-width: 2px 2px 0px 2px;
  border-color: #cacaca;
  box-sizing: border-box;
  border-style: solid;
  border-radius: 0px;
  color: grey;
  font-weight: bold;
  display: flex;
  align-items: center;
  
  padding: 0px 0px 0px 12px;
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
}
ul.li a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: 'efont';
  margin-left: 5px;
}

.sidebar-title {
  height: 35px;
  background: var(--link-color);
  border-width: 2px;
  border-color: #cacaca;
  box-sizing: border-box;
  border-style: solid;
  border-radius: 10px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 0px 0px 0px 12px;
}

h1{
  background: var(--link-color);
  border-width: 2px;
  border-color: #cacaca;
  box-sizing: border-box;
  border-style: solid;
  border-radius: 10px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 0px 0px 8px 12px;
}

/* 翻訳 */
.lang-jp { display: block; }
.lang-en { display: none; }

/* ステータスカフェ */
#statuscafe {
    padding: .5em;
}
#statuscafe-username {
    margin-bottom: .5em;
    font-size: 12px;
    margin-top: 4px;
}
#statuscafe-username a{
  color: #ffffff;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}
