@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Josefin+Sans:wght@300;400;600&family=Montserrat:wght@500;700&family=Open+Sans&display=swap');
:root{
    --Desaturated-Red: hsl(0, 36%, 70%);
    --Soft-Red: hsl(0, 93%, 68%);
    --Dark-Grayish-Red: hsl(0, 6%, 24%);
    --Linear-135deg-from1:hsl(0, 0%, 100%);
    --to1: hsl(0, 100%, 98%);
--Linear-135deg-from:hsl(0, 80%, 86%);
--to :hsl(0, 74%, 74%);

/*font*/

--font-family2: 'Josefin Sans';
font-size: 16px;
--font-weight1:300;
--font-weight2:400;
--font-weight3:600;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: url(./images/bg-pattern-desktop.svg);
}
.container{
    display: grid;
  
}
.box1{
    margin-left: 17%;
    grid-column: 1/3;
}
.logo{
    margin:8% 0 14.5% 0 ;
}
.title{
    font-family: var(--font-family2);
    display: flex;
    flex-direction: column;
    gap:5%;
}
.title-span{
    color: var(--Desaturated-Red);
    font-size:50px;
    font-weight: var(--font-weight1);
}
.title-black{
    color: var(--Dark-Grayish-Red);
    font-size:50px;
    font-weight: var(--font-weight3)
}
.paragrafh p{
    margin-top: 4%;
    color: var(--Desaturated-Red);
    font-weight: var(--font-weight2);
    font-family: var(--font-family2);
    font-size: 16px;
    width: 450px;    
    line-height: 24px;
  
}
.box2{
grid-column: 3/4;
}
.button-email{
    display: flex;
    
}
.cont1 .input-email{
    width: 400px;
    height: 45px;
    border-radius: 2rem;
    margin-top: 10%;
    border:1px solid var(--Desaturated-Red);

    
}

.cont2 {
   background-image:linear-gradient(135deg,var(--Linear-135deg-from),var(--to));
   border-radius: 2rem;
   height: 45px;
   margin-top: 4%;
   margin-left: -4%;
   padding:13px 40px ;
   box-shadow: 0px 10px 20px var(--Desaturated-Red);
   width: 90px;   
}
.cont2:hover{
    background-image:linear-gradient(135deg,var(--to1),var(--Linear-135deg-from1)) ;
    cursor: pointer; 
}
::placeholder {
    color: hsl(0, 36%, 70%);
    font-size:0.8rem;
    padding: 0 2rem;
  }
.box2 img{
width: 45%;
 position: absolute;
 right: 0;

}
.Erroure{
    position: absolute;
    margin-left:21% ; 
    top: 76%;
    display: none;
}
.Eroure1Eamil{
    color: var(--Soft-Red);
    margin:  15% 5%;
}
.mobile{
    display: none;
}
@media (max-width:550px) {
body{
    background-image: none;
}
.desktop{
    display: none;

}
.mobile{
    display: block;
    margin-top: 20%;
  
}
.box2 img{
   width: 375px;
}
.box1{
    margin-top: 78%;
    text-align: center;
    margin-left: 0;
    
}
.logo{
    position: absolute;
    top: 0;
    width: 100px;
    left: 25px;
}
.title{
   
    text-align: center;
   margin-right: 5%;
    margin-top: 135px;
}
.title-span{
    font-size: 40px;
}
.title-black{
    font-size: 40px;
}
.paragrafh p{
    width: 320px;
    font-size: 15px;
    margin-left: 2%;
}
.cont1 .input-email{
    width: 280px;
}
.cont2 {
    width: 25px; 
    margin-top: 7%;
    margin-left: -9%;
}
}