@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&display=swap");
:root{
    --Desaturated-red: hsl(0, 36%, 70%);
    --Soft-red: hsl(0, 93%, 68%);
    --Dark-grayish-red: hsl(0, 6%, 24%);

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Josefin Sans", sans-serif;
}
h1,h2,h3{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'JosefinSans-VariableFont_wght';
   position: relative;
   font-size: 16px;
}
.container{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
}
.content_box{
    position: relative;
    width: 60%;
    background:  url('images/bg-pattern-desktop.svg'), linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
    background-position: 0 -40px;
    background-size: cover; 
    background-repeat: no-repeat;
}
.hero_desktop{
    width: 40%;
    background: url('images/hero-desktop.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.content{
    padding: 50px 0px 0px 160px;
    width: 65%;
}
.content .hero_mobile{
    background: url('images/hero-mobile.jpg');
    width: 100%;
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
    
}
.content .content_items{
    padding-top: 130px;
}
.content .cta h1{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 50px;
    letter-spacing: 16px;
}
.content .cta h1 span{
    color: var(--Desaturated-red);
    font-weight: 400;
}
.content .intro p{
    color: var(--Desaturated-red);
    line-height: 1.8;
    font-size: 0.85em;
    font-weight: 300;
    padding: 30px 0px;
 
}
.content .newsletter{
    position: relative;
}
.content .email{
    width: 100%;
    border: 1px solid var(--Dark-grayish-red);
    opacity: 0.3;
    padding: 15px 30px;
    border-radius: 30px;
}
.content input[type = email]:focus{
    border: 1px solid var(--Soft-red);
    opacity: 1;
}
::placeholder{
    color: var(--Desaturated-red);
}
.content .arrow{
    position: absolute;
    top: 0;
    right: -25px;
    background: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
    box-shadow: 2px 15px 15px hsla(0, 36%, 70%, 0.3);
    border: none;
    box-sizing: content-box;
    padding: 18px 35px;
    border-radius: 30px;
   
}
.content .arrow:hover{
    background: linear-gradient(135deg, hsl(0, 80%, 90%), hsl(0, 80%, 90%));
}
.content .input_message{
    display: none;
    color: var(--Desaturated-red);
    font-size: 0.8em;
    padding-top: 10px;
    padding-left: 30px;  
} 
.content  #error_icon{
    position: absolute;
    top: 10px;
    right: 70px;
    display: none;
}   


.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@media screen and (min-width: 767px) and (max-width : 1024px){
    .content{
        padding: 50px 0px 0px 100px;
        width: 80%;
    }
    
}
@media screen and (min-width:375px) and (max-width: 767px){
    .hero_desktop{
        display: none;
    }
    .content .hero_mobile{
        display: block;
    }
    .content_box{
        width: 100%;
        background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
      
    }
    .content{
      padding: 0 70px;
      width: 100%;
    }
    .content header{
        padding: 30px;
    }
    .logo{
        width: 40%;
    }
    .content .content_items{
        padding: 40px 35px 0px 35px ;
        text-align: center;
    }
    .content .cta h1{
        font-size: 35px;
    }
    .content .intro p{
        padding: 20px 0;
    }
    .content .arrow{
        padding: 15px 30px;
    }
}

@media screen and (max-width: 375px){
    .hero_desktop{
        display: none;
    }
    .content .hero_mobile{
        display: block;
    }
    .content_box{
        width: 100%;
        background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
      
    }
    .content{
    padding: 0 ;
      width: 100%;
    }
    .content header{
        padding: 30px;
    }
    .logo{
        width: 40%;
    }
    .content .content_items{
        padding: 40px 35px 0px 35px ;
        text-align: center;
    }
    .content .cta h1{
        font-size: 35px;
    }
    .content .intro p{
        padding: 20px 0;
    }
    .content .arrow{
        padding: 15px 30px;
    }
}



