*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

.left-col {
  background: #5200ff;
  color: white;
  text-align: center;
  position: relative;
}

.left-col:after {
  content: "";
  background-image: url(bg.jpg);
  background-size: cover;
  background-position: 100%;
  opacity: 22%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content {
  position: relative;
}

.left-col,
.right-col {
  padding: 6.75rem 8vw;
}

h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: normal;
  font-size: 4rem;
  line-height: 1.2em;
}

p {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.77rem;
}

input {
  width: 100%;
  background-color: #ededed;
  border: 1px solid #c7c7c7;
  font-size: 1rem;
  padding: 0.75rem;
  outline: none;
  margin-bottom: 2.5rem;
}

input[type="text"]:focus {
  border: 1px solid black;
}

button {
  width: 100%;
  background-color: #5200ff;
  color: white;
  border: none;
  font-size: 1rem;
  padding: 0.75rem;
  margin-bottom: 6.563rem;
}

@media only screen and (min-width: 770px) {
  .form {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 2.438rem;
  }

  button {
    width: auto;
    padding: 1rem 2.5rem;
  }
}

@media only screen and (min-width: 1260px) {
  .container {
    display: flex;
  }

  .left-col,
  .right-col {
    flex-grow: 1;
    flex-basis: 0;
    height: 100vh;
    display: grid;
    place-items: center;
  }

  .left-col {
    text-align: right;
  }

  .form {
    display: flex;
    flex-direction: column;
  }

  input {
    width: 26.375rem;
  }
}
