@charset "UTF-8";
/* * * * * * * * * * * * * * * *
 * Author: VLAD GOHN
 * URL: http://vladgohn.com
 *
 * Project Name: ALPHA HUMAN
 * Version: 1.0
 * URL: http://alpha-human.org/
 * * * * * * * * * * * * * * * */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Varela+Round&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #F1F1F1;
  font-family: "DM Sans", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  opacity: 1;
  transition: 2s ease;
}
body.loading {
  opacity: 0;
}
body * {
  transition: 0;
}

ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

h1 {
  letter-spacing: -0.05em;
  line-height: 1em;
}
h1::after {
  content: "Ⓖ";
  position: relative;
  vertical-align: super;
  margin-left: 0.2em;
  font-size: 0.5em;
}

button {
  cursor: pointer;
  color: #36804d;
  font-weight: 600;
  font-size: 1.1em;
  margin-top: 1em;
  width: 100%;
  outline: none;
  border: 0;
  background-color: #6cff9a;
  border-radius: 6px;
  padding: 0.5em 0.8em;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  top: 0px;
  padding: 3px 6px;
}
button:hover {
  background-color: #39ff77;
  color: #4cb36c;
}
button:active {
  background-color: #20ff65;
  color: #56cc7b;
  top: 1px;
}

.no-select {
  user-select: none;
}

input {
  width: 100%;
}

canvas {
  image-rendering: pixelated;
  position: absolute;
}

main {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .desk {
  display: flex;
  justify-content: center;
  position: relative;
  width: 800px;
  height: 800px;
}

.panel {
  background-image: url("../i/panel.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 300px;
  height: 300px;
  position: relative;
  top: 550px;
}
.panel .mark {
  width: 23px;
  height: 23px;
  position: absolute;
  top: 130px;
  left: 151px;
  background-image: url("../i/mark.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.digits {
  background-repeat: no-repeat;
  position: absolute;
  top: 160px;
  left: 170px;
}
.digits .digit {
  display: inline-block;
  background-image: url("../i/numbers2.png");
  background-repeat: no-repeat;
  width: 30px;
  height: 46px;
  transition: background-position 0.3s ease-out; /* добавляем переход */
}
