/*the main rainbow window*/

.title-bar,
.window,
button,
input,
label,
option,
select,
table,
textarea,
ul.tree-view {
	-webkit-font-smoothing: none;
	font-family: "PixelOperator";
	font-size: 17px
}

body {
  background: #008080;
  color: black;
  font-family: 'Pixelated MS Sans Serif', 'MS Sans Serif', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  padding: 20px;
}

.window {
  background: silver;
  border: 2px solid #000;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080;
  padding: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: 90%;
  position: absolute;
  z-index: 10;
}

.title-bar {
  pointer-events: none;
  user-select: none;
	cursor: move;
  background: linear-gradient(to right, #ce2e37, #d2771e, #d4cb1f, #81c220, #2582b5, #8f289f, #bd2f68);
  display: flex;
  justify-content: space-between;
  padding:3px 2px 3px 3px;
  margin: 3px;
  align-items: center;
  padding: 2px 6px;
  font-weight: bold;
  height: 20px;
  border-bottom: 2px solid black;
  font-family: 'PixelOperator', monospace;
  position: relative;
  z-index: 5;
}


.title-bar-text {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px;
  position: relative;
	font-weight: 700;
	letter-spacing: 0;
	margin-right: 24px;
  display: flex;
  align-items: center;
  gap: 6px; /* space between icon and text */
  
}

.title-bar-text img {
  height: 18px;
  width: 18px;
  image-rendering: pixelated;
  margin-right: 4px;
}


.title-bar-controls {
	pointer-events: auto;
	display: flex;
	position: relative;
	z-index: 99;
}

.title-bar-controls button:active {
	padding: 0
}

.title-bar-controls button {
	border: none;
    border-radius: 0;
    box-sizing: border-box;
    color: transparent;
    min-height: 15px;
    min-width: 15px;
    text-shadow: 0 0 #222;
	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
}

.title-bar-controls button:focus {
    outline-offset: -4px
}

.title-bar-controls button:focus {
	outline: none
}

.title-bar-controls button[aria-label=Minimize] {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");
	background-position: bottom 3px left 4px;
	background-repeat: no-repeat
}

.title-bar-controls button[aria-label=Maximize] {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");
	background-position: top 2px left 3px;
	background-repeat: no-repeat
}

.title-bar-controls button[aria-label=Restore] {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");
	background-position: top 2px left 3px;
	background-repeat: no-repeat
}

.title-bar-controls button[aria-label=Help] {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/%3E%3C/svg%3E");
	background-position: top 2px left 5px;
	background-repeat: no-repeat
}

.title-bar-controls button[aria-label=Close] {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");
	background-position: top 3px left 4px;
	background-repeat: no-repeat;
	margin-left: 2px
}



.title-bar-controls button:hover {
  background: white;
  cursor: pointer;
}

.window-body {
  background: #c0c0c0;
  padding: 10px;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

img {
  border: 0px inset silver;
  max-width: 100%;
  height: auto;
}

.windowwrapper {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
}

/* header font */
.header, h1, h2, h3, h4, h5, .footer  {
  font-family: 'PixelOperator';
}

/* body font */
p, li, small, .rdropdown-content, .sdropdown-content { 
  font-family: 'PixelOperator';
  font-size: 17px;
}

small { 
  font-family: 'PixelOperator';
  font-size: 15px;
}

ul {
 list-style-type: square;
 line-height: 1.15;
}

a {
  color: rgb(225, 66, 3);
  text-decoration: none;
}

a:hover {
  color: mediumvioletred;
  text-decoration: none;
}

button { 
  border: 2px outset white;
  border-radius: 0px;
}

button:hover {
  border: 2px inset white;
  background-color: lightgray;
}

audio {
  width: 200px;
  height: 30px;
  background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  margin-top: -2px;
  border: 1px dashed orange;
  border-radius: 20px;
} 

::-moz-selection { /* Code for Firefox */
  color: white;
  background: orangered;
}

::selection {
  color: white;
  background: orangered;
} 

::selection span {
  background: linear-gradient(to right, #ce2e37, #d2771e, #d4cb1f, #81c220, #21a184, #2582b5);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body {
  background-image: url("/img/Illustration.png"); 
  background-attachment: fixed;
  background-position: bottom;
  background-size: cover;
  background-repeat: repeat;
  image-rendering: pixelated; 
  margin: 0px;
  width: 100%;
  min-width: 900px;
}

.frame {
  pointer-events: none;
  user-select: none;
  margin-left: -70px;
}

.box {
  height: 85.5vh;
  min-height: 640px;
}

.windowwrapper {
  display: flex;
  min-height: 100%;
}

#div2 {
  height: 170px;
  width: 330px;
  right: 65px;
  top: 410px;
  text-align: center;
  position: absolute;
  z-index: 5;
}

#div1 {
  height: 500px;
  width: 318px;
  top: 200px;
  right: 200px;
  z-index: 999;
  display: none;
  position: absolute;
  z-index: 6;
}t
  
#div3 {
  height: 275px;
  width: 246px;
  top: 220px;
  right: 30px;
  text-align: center;
  position: absolute;
  z-index: 3;
}

#div5 {
  height: 225px;
  width: 220px;
  top: 200px;
  left: 500px;
  text-align: center;
  position: absolute;
  z-index: 2;
}

#div5 img {
  margin: 2px;
  border: 2px groove transparent;
  border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='gray' d='M0 0h4v1H0z'/%3E%3Cpath fill='gray' d='M0 0h1v4H0z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h2v1H1z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h1v2H1z'/%3E%3Cpath fill='%23fff' d='M0 4h5v1H0z'/%3E%3Cpath fill='%23fff' d='M4 0h1v5H4z'/%3E%3Cpath fill='%23dfdfdf' d='M3 1h1v3H3z'/%3E%3Cpath fill='%23dfdfdf' d='M1 3h3v1H1z'/%3E%3C/svg%3E") 2;
}

#div6 {
  top: 65vh;
  right: 0;
  text-align: center;
  position: absolute;
  z-index: 3;
  display: none;
}

#div7 {
  width: 320px;
  top: 60vh;
  left: 1vh;
  text-align: center;
  padding: 0px;
  position: absolute;
  z-index: 3;
}

#emptywindow {
  background-color: white;
  padding-top: 10px;
  margin: 5px;
  border: 2px groove transparent;
  border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='gray' d='M0 0h4v1H0z'/%3E%3Cpath fill='gray' d='M0 0h1v4H0z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h2v1H1z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h1v2H1z'/%3E%3Cpath fill='%23fff' d='M0 4h5v1H0z'/%3E%3Cpath fill='%23fff' d='M4 0h1v5H4z'/%3E%3Cpath fill='%23dfdfdf' d='M3 1h1v3H3z'/%3E%3Cpath fill='%23dfdfdf' d='M1 3h3v1H1z'/%3E%3C/svg%3E") 2;  position: relative;
}

#header4 {
  font-size: 20px;
}

#div4 {
  max-width: 960px;
  width: 100%;
  top: 25px;
  left: 30px;
  position: left;
  z-index: 3;
  margin-right: 20px;
}

.windowwrapper2 {
  display: flex;
  margin-top: 1%;
  margin-left: auto;
  margin-right: auto;
  height: 400px;
  max-width: 1400px;
  width: 100%;
  position: relative;
}

.sidethingy {
  text-align: center;
  margin-left: auto;
  margin-right: 1vh;
  margin-top: 10px;
  width: 300px;
  order: 2;
}

.topmenu {
  margin-left: 20px;
  font-size: 18px;
  display: flex;
  margin-top: -10px;
}

/* Navigation buttons, on the left and on the right */

.msbody {
  display: flex;

}


.rightcolumn {
  float: left;
  height: auto;
  width: 75%;
  padding-left: 25px;
}

.card2 {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin-bottom: 10px;
  margin-left:10px;
  margin-right: 10px;
  border-style: solid;
  border-color: turquoise;
  border-width: 3px;
}

.card2 p, h2 {
  margin-top: .5em ;
  margin-bottom: .5em ;
} 
.msnav {
  margin: 5px;
  margin-left: 15px;
}

.navcolumn {
  width: 75px;
  margin-top: 5px;
  display: flex;
}

.navcolumnrow {
  display: flex;
}

.navbuttons, .navbuttonsactive {
  width: 37px;
  height: 35px;
	background: rgb(204, 203, 203);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #ffffff, inset -2px -2px grey, inset 2px 2px #fff;
  text-align: center;
  padding-top: 2px;
}

.navbuttons img {
  width: 28px;
  text-align: center;
}

.navbuttonsactive img {
  width: 26px;
}

.navbuttonsactive:hover {
  background-image: url(/img/mspaint/buttonbg.png);
  background-size: contain;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #000000, inset -2px -2px grey, inset 2px 2px #000000;
}

.emptyboxfordecorationiguess {
  width: 60px;
  height: 210px;
  border: 2px inset white;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

.about-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 800px;
  margin: 20px auto;
}

.about-image img {
  border: 2px inset silver;
  border-radius: 4px;
  max-width: 200px;
  height: auto;
}

.about-text {
  flex: 1;
  font-family: 'addstandardbitmap', monospace;
}