@import "./resert.css";

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;500&display=swap');

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  display: flex;
  font-family: 'Roboto Slab', serif;
  font: 15px/2;
  text-indent: 40px;
}

.bubbles {
  height: 100%;
  width: 100%;
  position: absolute;
}

.bubbles div {
  height: 60px;
  width: 60px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  position: absolute;
  top: 10%;
  left: 10%;
  animation: 4s linear infinite;
}

div .bubble {
  height: 10px;
  width: 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 20%;
  right: 20%;
}

.bubbles div:nth-child(1) {
  top: 20%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.bubbles div:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: animate 10s linear infinite;
}

.bubbles div:nth-child(3) {
  top: 40%;
  left: 40%;
  animation: animate 3s linear infinite;
}

.bubbles div:nth-child(4) {
  top: 66%;
  left: 30%;
  animation: animate 7s linear infinite;
}

.bubbles div:nth-child(5) {
  top: 90%;
  left: 10%;
  animation: animate 9s linear infinite;
}

.bubbles div:nth-child(6) {
  top: 30%;
  left: 60%;
  animation: animate 5s linear infinite;
}

.bubbles div:nth-child(7) {
  top: 70%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.bubbles div:nth-child(8) {
  top: 75%;
  left: 60%;
  animation: animate 10s linear infinite;
}

.bubbles div:nth-child(9) {
  top: 50%;
  left: 50%;
  animation: animate 6s linear infinite;
}

.bubbles div:nth-child(10) {
  top: 45%;
  left: 20%;
  animation: animate 10s linear infinite;
}

.bubbles div:nth-child(11) {
  top: 10%;
  left: 90%;
  animation: animate 9s linear infinite;
}

.bubbles div:nth-child(12) {
  top: 20%;
  left: 70%;
  animation: animate 7s linear infinite;
}

.bubbles div:nth-child(13) {
  top: 20%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.bubbles div:nth-child(14) {
  top: 60%;
  left: 5%;
  animation: animate 6s linear infinite;
}

.bubbles div:nth-child(15) {
  top: 90%;
  left: 80%;
  animation: animate 9s linear infinite;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(0) rotate(70deg);
  }

  100% {
    transform: scale(1.3) translateY(-100px) rotate(360deg);
  }
}

.login {
  background: url(/img/fon/login.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.login .container {
  width: 400px;
}

.container {
  max-width: 1230px;
  margin: auto;
  padding: 20px;
  background: #05e2fe;
  border-radius: 10px;
  opacity: 0.7;
  -moz-box-shadow: 0 0 30px #ffc107;
  -webkit-box-shadow: 0 0 30px #ffc107;
  box-shadow: 0 0 30px #ffc107;
}

p {
  margin: 0 0 30px 0;
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  background-color: #3CBC8D;
  color: #ffeb00;
}

input::placeholder {
  color: white;
}

.btn {
  text-decoration: none;
  color: #ffcc00;
  background-image: linear-gradient(90deg, #17a614, #cd5b1d);
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid;
  position: relative;
  z-index: 0;
  border-radius: 5px;
  box-sizing: border-box;
  margin: 5% 5% 5% 26%;
  outline: none;
  cursor: pointer;
  user-select: none;
  appearance: none;
  touch-action: manipulation;
}

.btn:before {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(90deg, #fd7f34, #bd155b);
  z-index: -2;
  transition: .4s;
  border-radius: 5px;
}

.btn:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #fff, #fff);
  z-index: -1;
  transition: .4s;
  border-radius: 4px;
}

.btn:hover {
  color: #fff;
  transition: .3s;
}

.btn:hover:after {
  background: linear-gradient(90deg, #fd7f34, #bd155b);
}

.btn:active:after {
  background: linear-gradient(90deg, #d96d2d, #760f3a);
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px #fd7f34;
}

.btn:disabled {
  pointer-events: none;
}

.btn:disabled:before {
  filter: grayscale(100%);
}

#win {
  display: none;
}

.textCenter {
  text-align: center;
}

#timer {
  margin: 0;
  text-align: right;
  opacity: 1;
}