@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&display=swap");

* {
  box-sizing: border-box;
  font-size: 15px;
}

body {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  background-color: hsl(0, 0%, 98%);
  height: 100vh;
}

.container {
  min-height: 100vh;
  display: flex;
  margin: 0 auto;
}

.bg-mobile {
  display: none;
}

.left-side {
  background-image: url(./images/bg-pattern-desktop.svg);
  background-size: cover;
  background-position: center center;
  padding: 0 40px 40px;
  width: 60%;
}

.right-side {
  background-image: url(./images/hero-desktop.jpg);
  background-size: cover;
  background-position: center center;
  width: 40%;
}

.landing-info {
  max-width: 450px;
  margin: auto;
}

.landing-info .logo {
  margin: 60px 0;
  width: 200px;
}

.landing-info h2 {
  font-size: 60px;
  letter-spacing: 16px;
  line-height: 1.2;
}

.landing-info h2 span {
  font-size: 60px;
  letter-spacing: 16px;
  color: hsl(0, 36%, 70%);
  font-weight: 300;
}
.landing-info p {
  font-size: 16px;
  color: hsl(0, 36%, 70%);
  line-height: 1.6;
}
#form {
  position: relative;
  margin: 40px 0;
}

input {
  width: 100%;
  padding: 15px 30px;
  border: 1px solid hsl(0, 36%, 70%);
  border-radius: 30px;
  font-size: 16px;
  background-color: transparent;
  height: 55px;
}

input:focus {
  border-width: 2px;
  box-shadow: 0px 0px 10px hsla(0, 36%, 70%, 0.5);
  outline: none;
  background-color: #fff;
}

input::placeholder {
  color: hsl(0, 36%, 70%);
}

button {
  position: absolute;
  right: 0;
  top: 0;
  height: 55px;
  width: 100px;
  border-radius: 50px;
  background-image: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
  border: none;
  transition: 0.2s ease-in;
  outline: none;
  box-shadow: 2px 5px 10px hsla(0, 36%, 70%, 0.5);
}

button:hover {
  opacity: 0.6;
}

.error-icon {
  display: none;
  position: absolute;
  top: 15px;
  right: 110px;
}

small {
  color: hsl(0, 93%, 68%);
  display: none;
  margin-top: 15px;
  margin-left: 30px;
}

@media screen and (max-width: 400px) {
  .right-side {
    display: none;
  }
  .bg-mobile {
    display: block;
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
  }

  .left-side {
    width: 100%;
  }

  .landing-info .logo {
    margin: 30px 0;
    width: 108px;
  }

  .landing-info h2,
  .landing-info h2 span {
    font-size: 40px;
    text-align: center;
  }
}
