* {
  transition: 0.3s;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
}

body {
  
}

.container {
margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: #f4f5f6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

input {
  width: 100%;
  border: 2px solid rgb(194, 194, 194);
  padding: 10px 10px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}

input:focus {
  border: 2px solid #001a72;
  outline: none;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.grid-line {
  stroke: #8996a0;
  stroke-width: 1;
  opacity: 0.3;
}

.point {
  fill: #d6001c;
}

.orbit {
  stroke: #001a72;
  stroke-width: 1.5;
  fill: none;
  opacity: 0.5;
}

/* анимируемый фон */
#bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #001a72, #8996a0, #f3f3f1);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 16px;
  padding: 20px;
  background-color: white;
  width: 50%;
  gap: 15px;
}

.login-container img {
  width: 40%;
}

.login-container form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-direction: column;
  width: 100%;
}

.forget-pass {
  border-bottom: #001a72 1px solid;
  color: #001a72;
  font-size: 12px;
}

button[type="submit"] {
  width: 100%;
  padding: 4px 0px;
  border-radius: 8px;
  background-color: #001a72;
  color: #ebefff;
  border: none;
  font-size: 16px;
  box-sizing: border-box;
}

.underline-animation {
  font-weight: 500;
  font-size: 45px;
  text-align: center;
  position: relative;
  display: inline-block;
  color: #001a72;
  padding-bottom: 10px;
  margin: 0.5rem 0;
}

.logo-svg {
  width: 300px;
  display: block;
  margin: 30px auto;
}

.logo-svg path,
.logo-svg circle,
.logo-svg rect,
.logo-svg polygon {
  transition: none !important;
}

.st0,
.st1,
.st2 {
  fill-opacity: 0;
}

.st3 {
  display: inline;
}

@media (max-width: 900px) {
  .login-container {
    width: 85%;
  }
}

@media (max-width: 500px) {
  .login-container {
    padding: 5px;
  }

  .underline-animation {
    font-size: 25px;
  }
}
