* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  touch-action: manipulation
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

html {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

button,input {
  border: none;
  outline: none;
}

.selector {
   touch-action: manipulation;
}

.disable-doubletap-to-zoom {
    touch-action: none;
}

body {
  background-image: url('./images/fon.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-top: 42px;
  position: relative;
}

.console {
  width: 400px; 
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.console-img {
  width: 400px;
  position: absolute;
  z-index: 0;
}

/*.abs1 {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 205px;
  opacity: 0.5;
  background: #FFF;
  mix-blend-mode: multiply;
  box-shadow: 0px 94px 40px 0px rgba(0, 0, 0, 0.75);
  width: 982px;
  height: 509px;
}

.abs2 {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 205px;
  opacity: 0.1;
  background: #FFF;
  mix-blend-mode: overlay;
  filter: blur(93px);
  width: 1186px;
  height: 574px;
}*/

#iframe {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  border: none;
}

#result-block {
  display: none;
  width: 642px;
  height: 480px;
  position: absolute;
  top: 0px;
  left: 52.4%;
  transform: translateX(-50%);
  padding: 16px 0 34px;
/*  background-image: url('./images/final-screen1.png');*/
  background-repeat: no-repeat;
  background-size: cover;
}

.winner-img {
  width: 254px;
  height: 49px;
  margin: 0 auto;
  display: block;
  margin-top: 20px;
  margin-bottom: 48px;
}

.winner-img.form {
  margin-bottom: 24px;
}

#result-block.show {
  display: block;
}

p {
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h2 {
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin-top: 35px;
}

h2#time2 {
  margin-top: 10px;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #7A1414;
  color: #FFF;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  width: 111px;
  height: 44px;
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.button.submit {
  width: 137px;
}

.restart:hover {
  opacity: 0.9;
}

#form {
  display: none;
  width: 642px;
  height: 480px;
  position: absolute;
  top: 62px;
  left: 52.4%;
  transform: translateX(-50%);
  padding: 16px 0 34px;
  background-image: url('./images/final-screen1.png');
  background-repeat: no-repeat;
  background-size: cover;
}

#form.show {
  display: block;
}

.fields {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  border: none;
  border-bottom: 1px solid #ffffff;
  width: 307px;
  min-width: 307px;
  margin-bottom: 20px;
  background-color: transparent;
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

input:last-of-type {
  margin-bottom: 0;
}

input::placeholder {
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
