.header{
  background-color: rgb(241, 241, 241);
  text-align: center;
  justify-content: center;
}

.body-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: rgb(241, 241, 241);
  height: 90vh;
}

.left-container, .right-container {
  display: flex;
  width: 300px;
  justify-content: center;
  align-items: center;
}

.center-container {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.center-container form {
  display: flex;
  flex-direction: column;
  width: 350px;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

.center-container h2 {
  align-items: center;
  text-align: center;
  margin-top: 0;
  font-size: 24px;
}

.center-container form input {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.center-container form button {
  padding: 12px;
  font-size: 16px;
  border: none;
  background-color: #3810ee;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 10px;
}

.center-container form button:hover {
  background-color: #2805c5;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.eye-icon-wrapper {
  position: absolute;
  right: 10px;
  top: 37%;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.eye-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: url('data:image/svg+xml;utf8,<svg fill="gray" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm0-8.5c-1.9 0-3.5 1.6-3.5 3.5s1.6 3.5 3.5 3.5 3.5-1.6 3.5-3.5-1.6-3.5-3.5-3.5z"/></svg>') no-repeat center;
  background-size: contain;
  animation: blink-roll 3s infinite;
}


@keyframes blink-roll {
  0%, 100% {
    transform: rotate(0deg);
    opacity: 1;
  }
  10% {
    transform: rotate(20deg);
  }
  20% {
    transform: rotate(-20deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(0deg);
  }
  50% {
    opacity: 0.2;
  }
  52% {
    opacity: 1;
  }
}

.footer {
  display: flex;
  height: 55px;
  background-color: rgb(241, 241, 241);
  justify-content: center;
  align-items: center;
  margin-top: auto;
}


@media (max-width: 480px) {

  body{
    background-color: rgb(241, 241, 241);
  }

  .header{
    background-color: rgb(241, 241, 241);
    text-align: center;
    justify-content: center;
    font-size: medium;
  }
  
   .header h1{
    font-size: 20px;
  }

  .body-container {
    height: auto;
    padding: 20px;
    background-color: rgb(241, 241, 241);
  }

  .center-container form {
    width: 100%;
    padding: 15px;
    margin: 0 10px;
    margin-top: 100px;
  }

  .footer {
    display: flex;
    height: 55px;
    background-color: rgb(241, 241, 241);
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    font-size: 10px;
  }
}

/*
.error{
  background-color: ivory;
  border: none;
  outline: 1px solid red;
}*/