*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    font-family: "Poppins";
    background-image:url("images/bg-intro-desktop.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255,121,120,25);
    
}
.reg{
    display: grid;
    grid-template-columns: auto auto ;
    column-gap: 20px;
    padding: 0 150px ;
    
}
.form{
    margin-top: 7rem;
}
form{
    width: 25rem;
    background-color: white;
    padding:2rem 0;
    border-radius: 7px;
    box-shadow: 0px 6px rgba(0, 0, 0, 0.1);
}
.head{
    margin: auto;
    padding-top: 6rem;
    color: white;
    font-family:"Poppins";
}
.head h1{
    font-size: 4rem;
    font-weight: 900;
}
.free span{
    opacity:calc(0.7);
}
.head p{
    font-size:1.5rem;
    margin-top: 20px;
    opacity: calc(0.8);
}
div input{
    width:300px;
    padding: 15px 12px;
    margin:5px 0px;
    border-radius: 5px;
    border: 1.5px solid  hsl(246, 25%, 77%);
}
input:valid{
    border:1px solid hsl(248, 32%, 49%);
}
input:focus:invalid{
    border: 1px solid hsl(0, 100%, 74%);
    background-image: url('images/icon-error.svg');
    background-position: right;
    background-repeat: no-repeat;
    
    
}

button{
    width:300px;
    padding: 15px 12px;
    margin:10px 0;
    border-radius: 5px;
    text-align: center;
    background-color: hsl(154, 59%, 51%);
    border: none;
    color: white;
    word-spacing: 4px;
}
.click p{
    text-align: center;
    font-size: x-small;
    color: hsl(246, 25%, 77%);
    
}
.click span{
    color:hsl(0, 100%, 74%) ;
    font-weight: 700;
}
.d-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.free{
    color: white;
    background-color: hsl(248, 32%, 49%);
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 20px;
    border-radius: 7px;
    box-shadow: 0px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width:1200px){
    .head h1{
        font-size: 3rem;
    }
    .reg{
         padding: 0 5rem ;   
    }
    .form{
        margin-top: 5rem;
    }
    
    .head p{
        font-size: 1rem;
    }
    
}
@media (max-width:900px){
    .head h1{
        font-size: 2rem;
    }
    .reg{
         padding: 0 3rem ;   
    }
    
    .head p{
        font-size: 1rem;
    }
    form{
        width: 19rem;
    }
    div input{
        width:16rem;
    }
    button{
        width: 16rem;
    }
    .click p{
        font-size:0.8rem;
        width: 16rem;
    }
}
@media (max-width:600px){
    body{
        background-image:url("images/bg-intro-mobile.png");
    }
    .reg{
       display: flex;
       flex-direction: column;
       align-items: center;
       padding-bottom: 50px;
    }
    .head h1{
        text-align: center;
        font-size: 1.9rem;
        
    }
    .head p{
        text-align: center;
        font-size: 1.1rem;
    }
    .free{
        padding:1rem 4rem;
        width: 19rem;
    }
    .click p{
        font-size:11px;
        width: 12rem;
    }
}
