* {
  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;
  --hover-color: #2e70f5;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
}

.form-box-Login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 550px;
  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: 10px 15px;
}

form h2 {
  color: var(--main-color);
}

.inputs-container {
  margin: 20px;
  gap: 2rem;
}

.btn {
  width: 100%;
  padding: 10px;
}

button {
  padding: 10px 20px;
  border-radius: 15px;
  width: 90%;
  border: none;
  font-size: 15px;
  background-color: var(--main-color);
  font-weight: 600;
  color: var(--base-color);
  cursor: pointer;
  transition: all 0.5s ease;
}

button:hover {
  background: #2e70f5;
}

.input-con1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  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;
}

.check {
  font-size: 15px;
}

.check p,
.check a {
  color: black;
}

.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;
}

/* ==============RESPONSIVE ============= */

@media (max-width: 1200px) {
  .form-box-Login {
    width: 70%;
    height: auto;
    left: 3.3rem;
  }

  .bg {
    width: 0;
    height: 0;
    display: none;
  }

  form {
    padding: 5px 8px;
  }

  .inputs-container {
    margin: 10px;
    gap: 0.3rem;
  }

  .input-con1 {
    padding: 0.4rem;
  }

  .input-1 {
    font-size: 0.5rem;
  }

  .input-con1 .input-1 .img img {
    width: 14px;
  }

  .check {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
    .form-box-Login {
        left: 9rem;
    }
}

@media (max-width: 820px) {
    .form-box-Login {
        left: 8rem; 
    }
}

@media (max-width: 800px) {
  .form-box-Login {
    left: 6rem;
    right: 0;
  }
}

@media (max-width: 414px) {
  .input-1 input {
    padding: 10px 10px;
  }

  .form-box-Login {
    left: 3.3rem;
  }
}
