* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background-image: url("./assets/bg.jpg");
}

.container {
  background-color: rgba(234, 234, 234, 0.1);
  backdrop-filter: blur(7px);
  transform: translate3d(0, 0, 0);
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  width: 400px;
  padding: 25px 35px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
}

.title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: white;
}

.des {
  font-size: 15px;
  text-align: center;
  font-weight: 300;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

input {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: white;
  width: 100%;
  height: 50px;
  border: 0.5px solid rgba(0, 0, 0, 0.3);
  outline: 0;
  padding: 10px 20px;
  margin: 10px 0 20px;
  border-radius: 10px;
}

input::placeholder {
  font-weight: 300;
  opacity: 0.7;
  color: rgb(255, 255, 255);
}

input:focus {
  font-size: 16px;
    border-radius: 25px;
    transform: scale(1.05);
    transition: all 0.5s;
  }

button {
  font-size: 20px;
  font-weight: 600;
  width: 100%;
  height: 50px;
  padding: 5px 10px;
  color: rgb(34, 34, 34);
  background-color: rgb(255, 255, 255);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
}

.img-box {
  width: 200px;
  border-radius: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s;
}

.img-box img {
  width: 100%;
  padding: 15px;
}

.show-img {
  max-height: 300px;
  margin: 10px auto;
  border: 1px solid #000000;
  background-color: white;
}

.error {
  animation: shake 0.1s linear 10;
}

@keyframes shake {
  0% {
    transform: translate(0);
  }

  25% {
    transform: translateX(-2px);
  }

  50% {
    transform: translate(0);
  }

  75% {
    transform: translateX(2px);
  }
  100% {
    transform: translate(0);
  }
}


@media (max-width: 412px) {
  .container {
    width: 350px;
  }
}
