* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}
:root {
  --main-color: #0343c1;
  --accent-color: #8672ff;
  --base-color: white;
  --text-color: #2e2b41;
  --input-color: #f3f0ff;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  position: relative;
}

.form-box-Login {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 550px;
  margin-top: 30px;
  box-shadow: -1px 0px 18px 0px #c0c0c0;
  border-radius: 10px;
  z-index: 99;
  position: absolute;
  left: 5rem;
  background: var(--base-color);
}

form {
  display: block;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

form h2 {
  color: var(--main-color);
}

.inputs-container {
  margin: 20px;
  gap: 2rem;
}

.check {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  font-size: 14px;
}

.check a {
  color: black;
}

.input-con1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  padding: 1em;
  width: 100%;
  border-left: 7px solid var(--main-color);
  box-shadow: 5px 5px 20px #c0c0c0;
}

.input-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
}

.input-1 input {
  padding: 10px 20px;
  border: none;
  outline: none;
}

.input-con1 .input-1 .img img {
  width: 18px;
  margin-top: 5px;
}

.btn {
  width: 100%;
  padding: 10px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 15px;
  width: 100%;
  border: none;
  font-size: 12px;
  background-color: var(--main-color);
  font-weight: 600;
  color: var(--base-color);
}

.bg {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 70%;
  height: 100%;
  font-size: 14px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.617),
      rgba(0, 0, 0, 0.51)
    ),
    url("../img/bg-img.jpg");
  background-size: cover;
  background-position: center;
  color: var(--base-color);
  z-index: -1;
}

#error-massage {
  color: #f06;
}

@media (max-width: 1200px) {
  .form-box-Login {
    justify-content: center;
    width: 70%;
    height: auto;
  }

  .bg {
    display: none;
  }

  .input-con1 .input-1 .img img {
    width: 10px;
  }

  .input-con1 {
    padding: 0.4rem;
  }

  .check {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
    .form-box-Login {
        left: 9 rem;
      }
}

@media (max-width: 820px) {
  .form-box-Login {
    left: 7.5rem;
  }
}

@media (max-width: 800px) {
  .form-box-Login {
    left: 6.5rem;
  }
}

@media (max-width: 600px) {
  .form-box-Login {
    left: 5rem;
  }
}

@media (max-width: 414px) {
  .input-1 input {
    padding: 10px 10px;
  }

  .form-box-Login {
    left: 3rem;
  }

  ::placeholder {
    font-size: 10px;
  }

  .check p {
    font-size: 10px;
  }
}
