@font-face {
  font-family: "w95fa";
  src: url("w95fa.woff2");
}
:root {
  --green: #45a646;
  --blue: #245edc;
  --red: tomato;
}
html,
body {
  touch-action: none;
  user-select: none !important;
  overflow: hidden;
  height: 100%;
  width: 100%;
  padding: 0;
  font-family: "w95fa";
  font-size: 20px;
}
#main {
  height: calc(100vh - 35px);
  width: 100%;
  box-sizing: border-box !important;
}
#desktop {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background: rgb(103, 149, 250);
  background: linear-gradient(
    0deg,
    rgba(103, 149, 250, 1) 0%,
    rgba(36, 94, 220, 1) 53%,
    rgba(24, 69, 168, 1) 100%
  );
}
.window {
  width: 60vh;
  height: 60vh;
  position: fixed;
  top: calc(15vh);
  left: calc(50vw - 30vh);
  border: 5px solid var(--blue);
  box-sizing: border-box;
  z-index: 100;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  display: none;
}
[drag="true"] {
  border: 5px solid #222;
}
[active="false"] {
  display: none;
}
.window-top {
  height: 35px;
  width: 100%;
  padding: 0px 0 5px 35px;
  background: var(--blue);
  box-sizing: border-box;
  color: #fff;
  background-image: url("../img/doc.png");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 5px 5px;
}
.window-top-title {
  float: left;
  margin-top: 4px;
}
.close-window {
  font-size: 13px;
  float: right;
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
  background: var(--red);
  height: 100%;
  padding: 2px 8px 0;
  cursor: pointer;
  border-radius: 3px;
}
.close-window:hover {
  opacity: 0.9;
}

textarea {
  width: 100%;
  height: calc(60vh - 46px);
  outline: none;
  box-shadow: none;
  resize: none;
  box-sizing: border-box;
  display: block;
  border: 0;
  padding: 20px 15px;
  font-size: 18px;
}
textarea[complete="true"] {
  background-image: url("../img/stick.gif");
  background-repeat: no-repeat;
  background-size: 100px;
  background-position: bottom;
  background-position: right 0px bottom -20px;
}

.icon {
  position: fixed;
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  background-repeat: no-repeat !important;
  background-size: 45px auto !important;
  background-position: 6px 6px !important;
  padding: 28px;
  border: 1px solid transparent;
  cursor: pointer;
}
#document {
  background: url("../img/doc.png");
  left: 40px;
  top: 40px;
}
.icon::after {
  content: attr(name);
  color: #fff;
  font-size: 13px;
  display: block;
  margin-top: 30px;
  width: 100px;
  box-sizing: border-box;
  text-align: center;
  margin-left: -50px;
}
#bin {
  left: 40px;
  bottom: calc(35px + 40px);
  z-index: 1000;
  background: url("../img/bin.png");
}
#mine {
  left: 40px;
  top: calc(40px + 100px);
  z-index: 1000;
  background: url("../img/mine.png");
}

#taskbar {
  background: var(--blue);
  background: radial-gradient(
    circle,
    rgba(36, 94, 220, 1) 0%,
    rgba(23, 66, 159, 1) 100%
  );
  height: 40px;
  width: 100vw;
  display: block;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  box-sizing: border-box;
}
#start-button {
  box-sizing: border-box;
  background: var(--green);
  background: rgb(93, 190, 94);
  background: radial-gradient(
    circle,
    rgba(93, 190, 94, 1) 0%,
    rgba(69, 166, 70, 1) 33%,
    rgba(36, 112, 36, 1) 100%
  );
  border-top: 2px solid rgb(57, 148, 57);
  border-right: 2px solid rgb(29, 71, 29);
  border-radius: 0 10px 10px 0;
  height: 100%;
  width: 10vw;
  padding: 6px 0;
  text-align: center;
  cursor: pointer;
}
#start-button-text {
  color: #fff;
  font-style: italic;
  font-weight: bold;
  font-size: 25px;
}

#hillside {
  height: 40vh;
  width: 120vw;
  display: block;
  background: var(--green);
  position: fixed;
  bottom: 0;
  left: -10vw;
  border-radius: 400px 400px 0 0;
  background: rgb(37, 102, 37);
  background: linear-gradient(
    0deg,
    rgba(37, 102, 37, 1) 0%,
    rgba(67, 140, 68, 1) 53%,
    rgba(101, 195, 102, 1) 100%
  );
}

.cloud {
  border-radius: 100px;
  height: 200px;
  width: 500px;
  display: block;
  position: fixed;
  background: #fff;
}
#time {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 40px;
  width: 10vw;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  box-sizing: border-box;
  background: var(--blue);
  background: radial-gradient(
    circle,
    rgb(70, 133, 224) 0%,
    rgb(56, 172, 238) 100%
  );
}

#start-menu {
  position: fixed;
  bottom: 40px;
  background: #fff;
  border-top: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  width: 30vw;
  height: 75vh;
  border-radius: 0 10px 0 0;
  display: none;
}
#start-menu-top {
  box-sizing: border-box;
  background: var(--blue);
  background: radial-gradient(
    circle,
    rgba(36, 94, 220, 1) 0%,
    rgba(23, 66, 159, 1) 100%
  );
  height: 70px;
  width: 30vw;
  display: block;
  padding: 5px;
  border-radius: 0 2px 0 0;
}
#start-menu-top > img {
  pointer-events: none;
  box-sizing: border-box;
  display: block;
  height: 100%;
  border-radius: 5px;
  border: 2px solid #fff;
}
#start-menu-top > img,
#start-menu-top > span {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  margin-right: 20px;
}
#start-menu-bottom {
  box-sizing: border-box;
  background: var(--blue);
  background: radial-gradient(
    circle,
    rgba(36, 94, 220, 1) 0%,
    rgba(23, 66, 159, 1) 100%
  );
  height: 50px;
  width: 30vw;
  display: block;
  padding: 5px;
  position: fixed;
  bottom: 40px;
}
#taskbar-content-text {
  background: var(--blue);
  background: radial-gradient(
    circle,
    rgba(36, 94, 220, 1) 0%,
    rgba(23, 66, 159, 1) 100%
  );
  position: fixed;
  left: 12vw;
  bottom: 0;
  height: 40px;
  width: 15vw;
  text-align: center;
  padding: 11px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
}
#start-button:hover,
#taskbar-content-text:hover {
  opacity: 0.7;
}
#minespanker {
  background: #eee;
  width: calc(240px + 10px);
  height: calc(30px + 240px);
  left: calc(50vw - 135px);
}
#minespanker {
  height: calc(240px + 40px + 50px);
}
#game-status {
  height: 35px;
  width: 35px;
  box-sizing: border-box;
  background: #eee;
  text-align: center;
  padding-top: 5px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid gray;
  border-bottom: 2px solid gray;
  margin: 5px auto;
}

#game-status::before,
#game-status::after {
  color: red;
  background: #000;
  box-sizing: border-box;
  position: absolute;
  padding: 2px 2px 0 2px;
}
#game-status::before {
  content: attr(timer);
  margin-left: -95px;
}
#game-status::after {
  content: "000";
  margin-left: 61px;
}
