@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vibur&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000517;
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1e3c72, #2a5298, #1e3c72, #2a5298);
  background-size: 300% 300%;
  animation: gradient-animation 15s ease infinite;
  z-index: -2;
}

@keyframes gradient-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

/* Floating Particles */
.animated-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.419) 10%, transparent 20%);
  background-size: 5% 5%;
  opacity: 0.3;
  animation: particles-animation 20s linear infinite;
  z-index: -1;
}

@keyframes particles-animation {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-300px);
  }
}
.ring {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ring i {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  transition: 0.5s;
}
.ring i:nth-child(1) {
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: animate 6s linear infinite;
}
.ring i:nth-child(2) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate 4s linear infinite;
}
.ring i:nth-child(3) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate2 10s linear infinite;
}
.ring:hover i {
  border: 6px solid var(--clr);
  filter: drop-shadow(0 0 20px var(--clr));
}
@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.login {
  position: absolute;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.login h2 {
  font-size: 4em;
  color: #fff;
  font-family: 'Vibur', sans-serif;
}
.login .inputBx {
  position: relative;
  width: 100%;
}
.login .inputBx button {
  position: relative;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 40px;
  font-size: 1.2em;
  color: #fff;
  box-shadow: none;
  outline: none;
}
.login .inputBx button[type="submit"] {
  width: 100%;
  background: #0078ff;
  background: linear-gradient(to bottom, #ffe282, #ff6f00);
  border: none;
  cursor: pointer;
  font-size: 1.5  em;
  font-family: 'Vibur', sans-serif;
  border: 3px solid #9f6b3a;
}
.login .inputBx button::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.login .links {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.login .links a {
  color: #fff;
  text-decoration: none;
}


h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Input styling */
form input {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

form input:focus {
    outline: none;
    border-color: #eb984e;
}

/* Button styling */
form button {
    width: 100%;
    padding: 12px;
    background-color: #eb984e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

form button:hover {
    background-color: #ec852b;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Adjustments for a smoother look */
form input::placeholder {
    color: #bbb;
    font-weight: 300;
}

.error-message {
  margin: 20px 0;
  padding: 10px;
  color: #fff;
  background-color: #e74c3c;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

.left-panel {
  width: 40%;
  height: 100vh;
  background: linear-gradient(to bottom, #ffe282, #ff8c00);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /*border-top-right-radius: 30%; /* Adjust radius as needed */
  border-bottom-right-radius: 30%; /* Adjust radius as needed */
  border-right: 8px solid #9f6b3a; /* Brown border */
}
.left-panel img {
  max-width: 450px;
  top: 0;
}
.left-panel h1 {
  margin-top: 20px;
  font-size: 6em;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-family: 'Vibur', sans-serif;
}


.right-panel {
  width: 60%;  
  background-color: #ececec00;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
