/*! Version 22.11.17a */
@font-face {
  font-family: "w95font";
  src: url("../fonts/w95font.woff2") format("woff2"), url("../fonts/w95font.woff") format("woff");
  font-weight: normal;
}
@font-face {
  font-family: "w95font";
  src: url("../fonts/w95font-bold.woff2") format("woff2"), url("../fonts/w95font-bold.woff") format("woff");
  font-weight: bold;
}
html {
  font-size: 20px;
  --color-text: hsl(0, 0%, 8%);
  --color-title: hsl(0, 0%, 0%);
  --color-border: hsl(0, 0%, 98%) hsl(0, 0%, 20%) hsl(0, 0%, 20%) hsl(0, 0%, 98%);
  --color-border-reverse: hsl(0, 0%, 60%) hsl(0, 0%, 98%) hsl(0, 0%, 98%) hsl(0, 0%, 60%);
  --color-bg-windows: hsl(105, 0%, 78%);
  --color-bg-windows-reverse: hsl(105, 0%, 84%);
  --color-bg: hsl(180, 100%, 25%);
  --color-bg-header: hsl(242, 100%, 24%);
  --font: "w95font", -apple-system, system-ui, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  font-feature-settings: "tnum";
  overflow-x: hidden;
  position: relative;
  background: var(--color-bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  outline: none;
}

::selection {
  color: hsl(0deg, 0%, 95%);
  background: var(--c-text);
}

a {
  text-decoration: none;
  color: currentColor;
}
a.external::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M12,0V5.333H10.667V2.666H9.334V1.333H6.667V0H12ZM9.334,8v2.666h1.333v-4H9.334ZM8,4H9.334V2.666H8ZM6.667,10.667H1.333V12h8V10.667H6.667Zm0-5.334H8V4H6.667ZM5.333,6.667H6.667V5.333H5.333ZM4,2.666H5.333V1.333h-4V2.666H4ZM1.333,8V2.666H0v8H1.333V8Z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  display: inline-block;
  margin: 0 0.2rem;
  font-size: 0.8em;
  width: 12px;
  height: 12px;
}

h1, h2, h3, h4 {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.border2px, main .btn, main .inner::after, main .wndw, #header #w95start, #header {
  border: 2px solid;
  border-color: var(--color-border);
}

.border2px-reverse, main .inner, #header #author,
#header #w95clock {
  border: 2px solid;
  border-color: var(--color-border-reverse);
  background: var(--color-bg-windows-reverse);
}

.outline-dotted {
  outline: 1px dotted;
  outline-offset: -5px;
}

#header {
  z-index: 912;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  padding: 2px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-gap: 4px;
  align-items: stretch;
  background: var(--color-bg-windows);
}
#header #w95start {
  cursor: pointer;
  z-index: 999999;
  display: inline-flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  height: calc(100% - 4px);
  position: relative;
  background: url(../img/start.svg) no-repeat left 5px center;
  background-size: auto 80%;
  padding: 0.3rem 0.6rem 0.3rem 2.1rem;
  line-height: 1;
  font-size: 1rem;
  font-weight: bold;
}
#header #author,
#header #w95clock {
  font-size: 0.889rem;
  padding: 0 0.6rem;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

main {
  width: calc(100% - 4rem / 2);
  max-width: 600px;
  margin: 0 auto;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
main a.external {
  background: linear-gradient(to top, currentColor 1px, transparent 2px);
}
main .wndw {
  background: var(--color-bg-windows);
  position: relative;
  padding: 49px 22px 22px;
}
main .wndw::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 0;
  width: calc(100% - 6px);
  height: 24px;
  background: var(--color-bg-header);
}
main .wndw::after {
  content: attr(data-title);
  letter-spacing: 1px;
  position: absolute;
  left: 2px;
  top: 2px;
  margin: 0;
  padding: 0 5px;
  z-index: 13;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: hsl(0deg, 0%, 95%);
  font-weight: bold;
}
main .inner {
  padding: 1rem;
}
main .inner::after {
  border-width: 1px;
  content: "x";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--color-bg-windows);
  line-height: 1;
  font-size: 0.889rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .btn {
  display: inline-block;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 1px;
  margin: 0 0 2rem;
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
  main {
    width: calc(100% - 4rem / 4);
    justify-content: flex-start;
    align-items: flex-start;
  }
}
