@font-face {
  font-family: 'W95FA';
  src: url('./fonts/W95FARegular.woff2') format('woff2'),
    url('./fonts/W95FARegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: 'W95FA', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #028181;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

h2 {
  margin-bottom: .5em;
}

p {
  margin-bottom: 2em;
}

button {
  background: #c0c0c0;
  outline: none;
}

#snake {
  background: #99cb99;
  border: 1px solid black;
  margin: 1em 0 0 0;
}

textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 15px;
  resize: none;
}

.target {
  display: inline-block;
  position: relative;
  width: 128px;
  height: 128px;
  color: #fff;
}

.iconWrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 99;
  cursor: pointer !important;
}

.iconWrapper:hover {
  background: #ffffff30;
  border-radius: 2px;
}

.iconWrapper img {
  display: block;
  margin: 0 auto;
  width: 40%;
  margin-bottom: 8px;
  z-index: 1;
}

.iconWrapper span {
  word-break: keep-all;
}

.closeButton {
  background: #c0c0c0;
  border: none;
  width: 16px;
  height: 16px;
  position: absolute;
  font-weight: bold;
  right: 10px;
}

.closeButton:hover {
  cursor: pointer;
}

.minimizeButton {
  background: #c0c0c0;
  border: none;
  width: 16px;
  height: 16px;
  position: absolute;
  font-weight: bold;
  right: 30px;
}

.minimizeButton:hover {
  cursor: pointer;
}

.winHeader {
  display: flex;
  align-items: center;
  cursor: move;
  background: linear-gradient(to right, #000080, #1034a6);
  color: #fff;
  padding: 5px 10px;
  position: relative;
}

.winHeaderIcon {
  height: 16px;
  margin-right: 10px;
}

.winContent {
  background: #fff;
  padding: 15px;
  height: calc(100% - 28px);
  min-height: fit-content;
  max-height: 600px;
  overflow-y: auto;
  line-height: 1.8em;
}

[class*='window'] {
  display: none;
  position: absolute;
  background: #c0c0c0;
  /* border: 5px solid #c0c0c0;
  border-style: ridge; */
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  padding: 5px;
  z-index: 99;
}

[class*='window']:hover {
  z-index: 100;
}

.window4 {
  height: 600px;
}

.taskbar {
  background: #c0c0c0;
  display: block;
  height: 40px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 101;
}

.winMenu {
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  width: fit-content;
  margin-top: 3px;
  height: 90%;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  float: left;
}

.winMenu:hover {
  cursor: pointer;
}

.winMenu img {
  padding-right: 5px;
  padding-top: 2px;
}

.taskbarItem {
  display: none;
  align-items: center;
  /* border: 5px solid #c0c0c0;
  border-style: ridge; */
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  width: 200px;
  margin-top: 3px;
  height: 90%;
  padding: 0 10px;
  cursor: pointer;
  outline: none;
  float: left;
}

.clock {
  border: 5px solid #c0c0c0;
  border-style: ridge;
  width: fit-content;
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  float: right;
}

.searchLogo {
  width: 50%;
  display: block;
  margin: 3em auto 0 auto;
}

.searchQuote {
  display: block;
  text-align: center;
}

.searchInput {
  width: 50%;
  display: block;
  margin: 0 auto 1em auto;
  padding: 5px;
  outline: none;
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
}

.searchButtons {
  transform: translateX(-50%);
  position: absolute;
  left: 50%;
}

.searchButtons input {
  padding: 5px 7px;
  margin: 0 .5em;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  outline: none;
}

.searchButtons input:active {
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
}

.workExample {
  float: left;
  width: 50%;
  margin-bottom: 2em;
}

a:visited {
  color: #0000ee;
}

#network p {
  margin-bottom: 1em;
}

#menu {
  width: fit-content;
  border: none;
  bottom: 40px;
  padding: 0;
  top: inherit;
  left: 0;
  transform: none;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

#menu:hover {
  display: block;
}

#menu .winContent {
  padding: 0px;
  line-height: normal;
  background: #c0c0c0;
}

#menu span {
  writing-mode: tb;
  transform: rotate(180deg);
  background: #808080;
  padding: 10px 5px;
  height: 257px;
  color: #fff;
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: -3px;
}

#menu ul {
  float: right;
}

#menu li {
  padding: 10px 55px 10px 10px;
  list-style: none;
  display: flex;
  line-height: 32px;
}

#menu li:hover {
  cursor: pointer;
}

#menu li::before {
  height: 16px;
  width: 16px;
  margin-right: 30px;
}

#menu li:nth-child(1)::before {
  content: url(./ico/calculator.ico);
}

#menu li:nth-child(2)::before {
  content: url(./img/internet.png);
}

#menu li:nth-child(3)::before {
  content: url(./img/snake.png);
}

#menu li:nth-child(4)::before {
  content: url(./ico/notepad.ico);
}

#menu li:nth-child(5)::before {
  content: url(./ico/shutdown.ico);
}

#menu li:hover {
  color: #fff;
  background: #000080;
}

#calculator {
  width: fit-content;
}

#calculator .winContent {
  background: #e6e6e6;
}

#calculator .numbers div:active, #calculator .operators div:active, .equal {
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
}

#snake {
  width: fit-content;
  height: fit-content;
}

#snake .winContent {
  padding: 0;
  background: #c0c0c0;
}

#notepad {
  height: 600px;
}

#notepad .winContent {
  padding: 0;
}

#shutdown {
  height: 100vh;
  width: 100vw;
  background: black;
  border: 0;
  z-index: 200;
}

.shutdownAnimation {
  display: block;
  opacity: 0;
  animation-name: shutdown;
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes shutdown {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.loginscreen {
  height: 100vh;
  width: 100vw;
  background: #028181;
  z-index: 150;
  position: absolute;
  top: 0;
  left: 0;
}

#login {
  display: block;
  background: #c0c0c0;
  width: 700px;
}

.one-four {
  width: 15%;
  height: 100px;
}

#login .winContent div:nth-child(odd) {
  float: left;
}

#login .winContent div:nth-child(even) {
  float: right;
}

.two-four {
  width: 70%;
  height: 100px;
}

.two-four span {
  display: block;
  width: 20%;
  float: left;
}

.two-four input {
  width: 70%;
}

#login img {
  display: block;
  margin: 0 auto;
}

#login p {
  margin-bottom: 1em;
}

#login input {
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
  outline: none;
}

#login .winContent {
  background: #c0c0c0;
}

#login .winContent button {
  width: 100%;
  padding: 3px;
  margin-bottom: 1em;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

#login .winContent button:active {
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
}

.loginAnimation {
  opacity: 1;
  animation-name: login;
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes login {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* calculator */
.input {
  border-bottom: 2px solid #e2e2e2;
  border-right: 2px solid #e2e2e2;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
  border-radius: 1px;
  height: 60px;
  padding-right: 15px;
  padding-top: 10px;
  text-align: right;
  margin-right: 6px;
  font-size: 2.5rem;
  overflow-x: auto;
  transition: all .2s ease-in-out;
}

.operators div {
  display: inline-block;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 1px;
  width: 80px;
  text-align: center;
  padding: 10px;
  margin: 20px 4px 10px 0;
  cursor: pointer;
  background-color: #ddd;
  transition: border-color .2s ease-in-out, background-color .2s, box-shadow .2s;
}

.operators div:active {
  font-weight: bold;
}

.leftPanel {
  display: inline-block;
}

.numbers div {
  display: inline-block;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 1px;
  width: 80px;
  text-align: center;
  padding: 10px;
  margin: 10px 4px 10px 0;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: border-color .2s ease-in-out, background-color .2s, box-shadow .2s;
}

.numbers div:active {
  font-weight: bold;
}

div.equal {
  display: inline-block;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 1px;
  text-align: center;
  padding: 118px 35px;
  margin: 10px 6px 10px 0;
  vertical-align: top;
  cursor: pointer;
  color: #FFF;
  background-color: #000080;
  transition: all .2s ease-in-out;
}

div.equal:active {
  font-weight: bold;
}

/* scrollbars */
::-webkit-scrollbar-button:increment,
::-webkit-scrollbar-button:decrement,
::-webkit-scrollbar-thumb {
  background-size:
    100% 1px,
    1px 100%,
    100% 100%,
    100% 100%;
  background-position:
    left 1px bottom 0,
    right 0 top 1px,
    left 2px top 2px,
    left 1px top 1px;
  background-repeat: no-repeat;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

::-webkit-scrollbar-thumb {
  background-color: #c0c0c0;
  background-image:
    linear-gradient(#808080, #808080),
    linear-gradient(#808080, #808080),
    linear-gradient(#c0c0c0, #c0c0c0),
    linear-gradient(#fff, #fff);
  border-color: black;
  padding: 4px 3px 3px 4px;
}

::-webkit-scrollbar-button:vertical:decrement {
  background-color: #c0c0c0;
  background-image:
    url(data:image/bmp;base64,Qk0YAQAAAAAAADYAAAAoAAAADgAAAAgAAAABABAAAAAAAOIAAAASCwAAEgsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAAAAAAAAAAAAD3Xvde9173XgAAAAAAAAAAAAAAAAAAAAAAAAAA9173Xvde9173XvdeAAAAAAAAAAAAAAAA9173Xvde9173Xvde9173XgAAAAAAAAAAAAAAAPde9173Xvde9173Xvde9173XvdeAAAAAPde9173Xvde9173Xvde9173Xvde9173XgAAAAD3Xvde9173Xvde914AAA==),
    linear-gradient(#808080, #808080),
    linear-gradient(#808080, #808080),
    linear-gradient(#c0c0c0, #c0c0c0),
    linear-gradient(#fff, #fff);
  border-color: black;
  background-size:
    7px 4px,
    100% 1px,
    1px 100%,
    100% 100%,
    100% 100%;
  background-position:
    left 4px top 6px,
    left 1px bottom 0,
    right 0 top 1px,
    left 2px top 2px,
    left 1px top 1px;
  background-repeat: no-repeat;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

::-webkit-scrollbar-button:vertical:increment {
  background-color: #c0c0c0;
  background-image:
    url(data:image/bmp;base64,Qk0YAQAAAAAAADYAAAAoAAAADgAAAAgAAAABABAAAAAAAOIAAAASCwAAEgsAAAAAAAAAAAAA9173Xvde9173XvdeAAAAAPde9173Xvde9173Xvde9173Xvde9173XgAAAAD3Xvde9173Xvde9173Xvde9173XgAAAAAAAAAAAAAAAPde9173Xvde9173Xvde914AAAAAAAAAAAAAAAD3Xvde9173Xvde914AAAAAAAAAAAAAAAAAAAAAAAAAAPde9173XvdeAAAAAAAAAAAAAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==),
    linear-gradient(#808080, #808080),
    linear-gradient(#808080, #808080),
    linear-gradient(#c0c0c0, #c0c0c0),
    linear-gradient(#fff, #fff);
  border-color: black;
  background-size:
    7px 4px,
    100% 1px,
    1px 100%,
    100% 100%,
    100% 100%;
  background-position:
    left 4px top 6px,
    left 1px bottom 0,
    right 0 top 1px,
    left 2px top 2px,
    left 1px top 1px;
  background-repeat: no-repeat;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

::-webkit-scrollbar-button:horizontal:decrement {
  background-color: #c0c0c0;
  background-image:
    url(data:image/bmp;base64,Qk0YAQAAAAAAADYAAAAoAAAACAAAAA4AAAABABAAAAAAAOIAAAASCwAAEgsAAAAAAAAAAAAA9173Xvde9173XvdeAAAAAPde9173Xvde9173XgAAAAD3Xvde9173XgAAAAAAAAAA9173Xvde914AAAAAAAAAAPde914AAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAA9173XgAAAAAAAAAAAAAAAPde9173XvdeAAAAAAAAAAD3Xvde9173XgAAAAAAAAAA9173Xvde9173XvdeAAAAAPde9173Xvde9173XgAAAAAAAA==),
    linear-gradient(#808080, #808080),
    linear-gradient(#808080, #808080),
    linear-gradient(#c0c0c0, #c0c0c0),
    linear-gradient(#fff, #fff);
  border-color: black;
  background-size:
    4px 7px,
    100% 1px,
    1px 100%,
    100% 100%,
    100% 100%;
  background-position:
    left 5px top 4px,
    left 1px bottom 0,
    right 0 top 1px,
    left 2px top 2px,
    left 1px top 1px;
  background-repeat: no-repeat;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

::-webkit-scrollbar-button:horizontal:increment {
  background-color: #c0c0c0;
  background-image:
    url(data:image/bmp;base64,Qk0YAQAAAAAAADYAAAAoAAAACAAAAA4AAAABABAAAAAAAOIAAAASCwAAEgsAAAAAAAAAAAAAAAAAAPde9173Xvde9173XgAAAAD3Xvde9173Xvde914AAAAAAAAAAPde9173XvdeAAAAAAAAAAD3Xvde9173XgAAAAAAAAAAAAAAAPde914AAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3XvdeAAAAAAAAAAAAAAAA9173XgAAAAAAAAAA9173Xvde914AAAAAAAAAAPde9173XvdeAAAAAPde9173Xvde9173XgAAAAD3Xvde9173Xvde914AAA==),
    linear-gradient(#808080, #808080),
    linear-gradient(#808080, #808080),
    linear-gradient(#c0c0c0, #c0c0c0),
    linear-gradient(#fff, #fff);
  border-color: black;
  background-size:
    4px 7px,
    100% 1px,
    1px 100%,
    100% 100%,
    100% 100%;
  background-position:
    left 6px top 4px,
    left 1px bottom 0,
    right 0 top 1px,
    left 2px top 2px,
    left 1px top 1px;
  background-repeat: no-repeat;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

::-webkit-scrollbar {
  width: 16px;
  background: #c0c0c0;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 16px;
  width: 16px;
}

::-webkit-scrollbar-track-piece {
  background-color: #fff;
  background-image: linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%, #c0c0c0),
    linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%, #c0c0c0);
  background-size: 2px 2px;
}

::-webkit-scrollbar-track-piece:horizontal:start {
  background-position: 0 0, 1px 1px;
}

::-webkit-scrollbar-track-piece:vertical:start {
  background-position: 0 0, 1px 1px;
}

::-webkit-scrollbar-track-piece:horizontal:end {
  background-position: top right, top 1px right 1px;
}

::-webkit-scrollbar-track-piece:vertical:end {
  background-position: bottom left, bottom 1px left 1px;
}

::-webkit-scrollbar-corner {
  background: #c0c0c0;
}

#tv-screen {
  top: 0;
  position: absolute;
  z-index: -1;
}