@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

::-webkit-scrollbar {
  border-radius: 125px;
  width: 5px;
  background: #e6edfc;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-thumb {
  border-radius: 125px;
  background-color: #b7bac2;
}

* {
  z-index: 0;
  margin: 0;
  padding: 0;
  font-family: "Nunito";
  text-decoration: none;
  list-style: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

@media screen and (max-width: 600px) {
  header {
    -webkit-animation: headerAnim 888ms ease 0s 1 normal forwards;
            animation: headerAnim 888ms ease 0s 1 normal forwards;
    z-index: 1;
    background-color: #75a0b2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  body {
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
    background-color: #ebf2fa;
    -webkit-animation: RightAnim 888ms linear 1 normal forwards;
            animation: RightAnim 888ms linear 1 normal forwards;
  }
  h1 {
    font-weight: 200;
    text-align: right;
    padding-right: 5%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }
  form {
    max-width: 250px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    -webkit-box-shadow: 0px 0px 70px gray;
            box-shadow: 0px 0px 70px gray; /* Горизонтальное смещение, вертикальное смещение, размытие, цвет */
  }
  .main-game {
    border: 2px solid rgb(255, 255, 255);
    -webkit-animation: borderAnimation 3s infinite alternate;
            animation: borderAnimation 3s infinite alternate;
    border: 0.3em solid none;
    border-radius: 20px;
    width: 90%;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 23px 18px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 0px 23px 18px rgba(0, 0, 0, 0.2);
  }
  .main-game p {
    color: #75a0b2;
    padding-top: 3%;
    padding-bottom: 5%;
    font-size: 150%;
    text-align: center;
  }
  .main-game a {
    outline: none;
  }
  label {
    display: block;
    margin-bottom: 5px;
  }
  input[type=text],
  input[type=password],
  input[type=email] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 20px;
  }
  input[type=submit] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #75a0b2;
    color: white;
    font-size: 16px;
    cursor: pointer;
  }
  input[type=submit]:hover {
    background-color: #75a0b2;
  }
  form {
    max-width: 80%;
    border-radius: 15px;
  }
  input[type=submit] {
    width: 100%;
  }
  .form-div {
    padding-top: 25%;
  }
  #home {
    width: 41.5%;
  }
  #authors {
    margin: 0 auto;
    width: 95%;
    text-align: center;
    padding-top: 5%;
  }
  #authors p {
    padding-top: 2%;
  }
}
@media screen and (min-width: 1100px) {
  header {
    -webkit-animation: headerAnim 888ms ease 0s 1 normal forwards;
            animation: headerAnim 888ms ease 0s 1 normal forwards;
    z-index: 1;
    background-color: #75a0b2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  body {
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
    background-color: #ebf2fa;
    -webkit-animation: RightAnim 888ms linear 1 normal forwards;
            animation: RightAnim 888ms linear 1 normal forwards;
  }
  h1 {
    font-weight: 200;
    text-align: right;
    padding-right: 5%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }
  form {
    max-width: 375px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    -webkit-box-shadow: 0px 0px 70px gray;
            box-shadow: 0px 0px 70px gray; /* Горизонтальное смещение, вертикальное смещение, размытие, цвет */
  }
  label {
    display: block;
    margin-bottom: 5px;
  }
  input[type=text],
  input[type=password],
  input[type=email] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 20px;
  }
  input[type=submit] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #75a0b2;
    color: white;
    font-size: 16px;
    cursor: pointer;
  }
  input[type=submit]:hover {
    background-color: #75a0b2;
  }
  form {
    border-radius: 15px;
  }
  input[type=submit] {
    width: 100%;
  }
  .form-div {
    padding-top: 5%;
  }
  #home {
    width: 12%;
  }
  #authors {
    margin: 0 auto;
    width: 95%;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 5%;
  }
  #authors p {
    padding-top: 0.55%;
  }
}