* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: #303433;
}

body {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.5fr;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.box{
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */  
}

/* Position text in the middle of the page/image */
/* Position text in the middle of the page/image */
.bg-text {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 1px solid #a58f8f;
  position: absolute;
  top: 70%;
  left: 25%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 40%;
  padding: 40px;
  text-align: center;
}

@supports(object-fit: cover){
    .box img{
      width: 100%;
      height: 100%;
      object-fit: content;
      object-position: center center;
    }
}

.login-container {
  max-width: 450px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main{
  background: #f3f3f3;  
}

.title {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
}

.separator {
  width: 150px;
  height: 4px;
  background-color: #843bc7;
  margin: 24px;
}

.welcome-message {
  text-align: center;
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 30px;
  color: #696969;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-control {
  width: 100%;
  position: relative;
  margin-bottom: 24px;
  font-size: 13px;
}

input,
button {
  border: none;
  outline: none;
  border-radius: 30px;
  font-size: 12px;
}

input {
  width: 100%;
  background: #e6e6e6;
  color: #333;
  letter-spacing: 0.5px;
  padding: 14px 64px;
}

input ~ i {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  transition: color 0.4s;
}

input:focus ~ i {
  color: #843bc7;
}

button.submit {
  color: #fff;
  padding: 14px 64px;
  margin: 32px auto;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  background-image: linear-gradient(to right, #8b33c5, #15a0e1);
  cursor: pointer;
  transition: opacity 0.4s;
}

button.submit:hover {
  opacity: 0.9;
}

/* ----  Responsiveness   ----  */
@media (max-width: 780px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .box {
    display: none;
  }
}
