@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
/* font-family: 'Poppins', sans-serif; */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    background-image: url("images/bg-intro-desktop.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: hsl(0, 100%, 74%);
    color: white;
    font-family: 'Poppins', sans-serif;
}
.outerCon{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 20px;
}
.outerCon > div{
    display: flex;
    flex: 1;
    flex-direction: column;
}
.con1{
    padding: 20px 20px 20px 120px;
}
.heading{
    font-size: 44px;
    line-height: 50px;
    margin: 0 0 30px 0;
}
.para{
    font-size: 16px;
    opacity: 0.8;
}
.con2{
    padding: 20px 120px 20px 20px;
}
.trial{
    align-items: center;
    background-color: hsl(248, 32%, 49%);
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px hsla(0, 0%, 0%,0.2);
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    height:60px;
    justify-content: center;
    margin: 0 0 30px 30px;
    text-align: center;
    width: 100%;
}
form{
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px hsla(0, 0%, 0%,0.2);
    display: flex;
    flex-direction: column;
    margin: 0 0 0 30px;
    padding: 30px;
    width: 100%;
}
.formControl{
    margin: 0 0 30px 0;
    position: relative;
    width: 100%;
}
input{
    border: 1px solid hsl(246, 25%, 77%);
    border-radius: 5px;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    height: 60px;
    outline: none;
    padding: 0 0 0 30px;
    width: 100%;
}
input:focus{
    border: 2px solid hsl(248, 32%, 49%);
}
.error{
    position: absolute;
    top: 19px;
    right: 25px;
    opacity: 0;
}
.smallError{
    color: hsl(0, 100%, 74%);
    position: absolute;
    bottom: -18px;
    right: 0;
    font-weight: 500;
    opacity: 0;
}
.formBtn{
    background-color:  hsl(154, 59%, 51%);
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px hsl(154, 70%, 45%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    height: 60px;
    margin: 0 0 15px 0;
    width: 100%;
}
.formBtn:hover{
    cursor: pointer;
}
.formBtn:focus{
    outline: none;
}
.formBtn:active{
    border-bottom-width: 4px;
    box-shadow: 0 0;
    transform: translateY(4px);
}
small{
    align-self: center;
    color: hsl(246, 25%, 77%);
    font-size: 11px;
}
small a{
    color: hsl(0, 100%, 74%);
    font-weight: bold;
    text-decoration: none;
}

/* ========================================================================================================================================== */

@media only screen and (max-width: 1000px){
    .outerCon{
        flex-direction: column;
    }
    .outerCon > div{
        align-items: center;
        justify-content: center;
    }
    .con1{
        padding: 20px;
    }
    .heading{
        text-align: center;
    }
    .para{
        text-align: center;
    }
    .con2{
        padding: 0 30px 0 0;
    }
} 
@media only screen and (max-width: 375px){
    body{
        background-image: url("images/bg-intro-mobile.png");
        background-size: cover;
    }
    .outerCon{
        padding: 0;
    }
}