@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    margin: 0;
    padding: 0;
    color: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}
:root{
    --black-op:0px 8px rgba(0, 0, 0 ,.2);
    --font-400:400;
    --font-500:500;
    --font-600:600;
    --font-700:700;
}
p{
    font-weight: var(--font-400);
    
}
body{
    width: 100%;
    min-height: 100vh;
    background-color: hsl(0, 100%, 74%) ;
    background-image: url(./images/bg-intro-mobile.png);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

.main-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin-top: 30px;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.top-p{
    padding: 20px;
    max-width: 440px;
    text-align: center;
}
.signup{
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.plan{
    background-color: hsl(248, 32%, 49%);
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow:  var(--black-op);
    padding: 5px 0px;
    margin-bottom: 20px
}
h2{
    font-size: 30px;
}
.try,h2{
    font-weight:var(--font-700);
}
.plan-p{
    width: 80%;
    text-align: center;
}
.details{
    height: 500px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--black-op);
}
.input-div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
input{
    color: black ;
    width: 85%;
    height: 45px;
    padding-left: 20px;
    border: 1px solid rgb(203, 203, 203);
    border-radius: 5px;
}

.btn{
    height: 50px;
    width: 90%;
    border-style: none;
    background-color: hsl(154, 59%, 51%);
    border-radius: 8px;
    box-shadow: 0px 4px hsl(154, 100%, 33%);
    transition: .2s;
}
.btn:hover{
    transition: .4s;
    background-color: hsl(154, 82%, 76%);
}


.error{
    visibility: hidden;
    position:absolute;
    top: 20%;
    right: 8%;
}

.error-msg{
    visibility: hidden;
    margin-right: 5%;
    align-self: flex-end;
    font-size: 13px;
    color:hsl(0, 100%, 74%) ;
    
}
.error-vis{
    visibility: visible;
}
.inp-vis{
    border: 2px solid hsl(0, 100%, 74%) ;
}
.bac-col{
    background-color: white;
}
.em-text{
    color: hsl(0, 100%, 74%);
}
.condition{
    width: 90%;
    font-size: 10px;
}
.terms{
    
    text-align: center;
    color: hsl(246, 25%, 77%);
}
.tands{
    color:hsl(0, 100%, 74%);
}
@media(min-width:634px){
    body{
        height: 100vh;
        background-image: url(./images/bg-intro-desktop.png);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .main-container{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 90%;
        height: 90%;
        margin-top: 0px;
    }
    .content{
        width: 45%;
        margin-right: 5%;
    }
    .signup{
        max-width: 70%;
    }
    h2{
        align-self: flex-start;
        text-align: left;
        font-size: 3rem;
    }
    .top-p{
        max-width: 100%;
        padding: 20px 0px;
        text-align: left;
    }
}