* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

}
body{
    margin: 0;
    padding: 0;
    height: auto;
    width: auto;
    background-color: #f8f8f6;
    background: linear-gradient(
                180deg, 
                #ddf6c8 10%, 
                #eaf8da 45%, 
                #f5f4ed 100%);
}
/*Base Design: Mobile(320px) change container on desktop view*/
.container{
    width: 100%;
    min-width: 320px;
    min-height: 100dvh;
    margin: 0 auto;
}
/*Form view page*/
.form-view, .success-view{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.success-view.hidden{
    display: none;
}
.form-view.hidden{
    display: none;
}
/*hero img*/
#hero-img , #success-img{
    width: 80%;
    height: 50dvh;
    border-radius: 1rem;
    
}
/*Info container*/
.form-info, .success-info{
    width: 80%;
    display: flex;
    flex-direction: column; 
    margin-top: 0;
    padding: 0 0.5rem 0 0.5rem;
    justify-content: space-between;
}
/*features section*/
.updates-list{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0.5rem;
}

/* Form section*/
#singup-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#heading{
    font-weight: 700;
    font-size: 56px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: #033b22;
}
span{
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    color: #3e464f;
}
.updates-list i{
    color: #006d3c;
}
.updates-list li{
    color: #29312a;
    font-weight: 600;
    font-size: 20px;
}
label{
    font-weight: 600;
    font-size: 14px;
    color: #23342a;
}
#email{
    background-color: white;
    border: 2px solid #7fb98e;
    color: #374151;
    height: 50px;
    border-radius: 14px;
}
#email ::placeholder{
    color: #b7b7b7;
}
.subscribe-btn,.dismiss-btn{
    background-color: #006d3c;
    color: white;
    font-weight: 600;
    font-size: 22px;
    height: 50px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 109, 60, 0.25);
    transition: all 0.2s ease;
}
.subscribe-btn:hover,
.dismiss-btn:hover{
    background-color: #143d30;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#success-msg{
    font-size: 50px;
    font-weight: 800;
    line-height: 105%;
    color: #033b22;
}

#confirmation-msg{
    color: #23342a;
    font-weight: 500;
    font-size: 1rem;
}
/*JS will add this class in input element*/
.input-error{
    border-color: red;
}
/* Adding media Query(1024px only)*/
@media (min-width:1024px){
    .container{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .form-view, .success-view{
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        gap: 0;
    }
    #hero-img , #success-img{
        width: 50%;
        height: auto;
    }
    .form-info, .success-info{
        width: 50%;
        justify-content: center;
        padding: 2rem;
    }
}

