*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body{
  background: url('images/bg-pattern-desktop.svg');
  background-repeat: no-repeat;
  background-position: left;
  font-family: 'Josefin Sans', sans-serif;
  Font-size: 16px;
}
.container{
  width: 100vw;
  height:100vh;
  display: grid;
  padding-left: 130px;
  grid-template-columns: 50% 50%;
  grid-template-rows: 150px 300px auto;
}

.image{
  grid-column: 2/3;
  grid-row: 1/4;
  background: url('images/hero-desktop.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 70px;
}


.head1{
  font-weight: 300;
}
span{
  display: block;
}
.content{
  display: flex;
  flex-direction: column;
}
.content h1{
  font-size: 50px;
  color: hsl(0, 6%, 24%);
  line-height: 4rem;
}
.content p{
  width: 400px;
  line-height: 1.5rem;
}
.logo{
  padding-top: 50px;
}

.email input[type='text'], button{
  outline: none;
  border:none;
  height: 40px;
  border-radius: 30px;
  display: inline-block;
}
.mail{
  margin-top: 30px;
  height: 40px;
  position: relative;
  width: 350px;
}

.email input[type='text']{
  border: solid 0.5px rgba(206, 152, 152, 0.5);
  width: 350px;
  background-image: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
  font-family: 'Josefin Sans', sans-serif;
  padding-left: 10px;

}
.email input[type='text']::placeholder, .head1, p{
  color:hsl(0, 36%, 70%);
}
.email button{
  background-image: linear-gradient(135deg, hsl(0, 80%, 86%),  hsl(0, 74%, 74%));
  width: 60px;
  position: absolute;
  right:0px;
}
button:hover{
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.error-box {
    border: 2px solid #F96464;
}
.error-msg,.error-icon{
  opacity:0;
}
.error-icon{
  position: absolute;
  top:8px;
  right: 65px;
}
@media(max-width : 900px) {
  .container{
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    padding:0;

  }
  .logo{
    padding: 20px;
  }
  .image{
    background: url('images/hero-mobile.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height:200px;
    margin:0;
  }
  .content{
    margin-top: 30px;
    text-align: center;
  }
  .content p{
    width: auto;
    padding: 20px;
  }
  .mail{
    text-align: center;
    margin: auto auto 70px;

    width: 300px;
  }
  .email input[type='text']{
    width: 300px;
  }
.email{
  text-align: center;

}
.email p{
  padding:5px;
}
}
