* {
box-sizing: border-box;


}

body {
font-family: "Poppins", sans-serif;
background-image: url(./images/bg-intro-desktop.png);
background-size: cover;
background-color: hsl(0, 100%, 74%);
margin: 0;
}




.hero {
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding-right: 6rem;
padding-left: 6rem;
padding-top: 5rem;
}

.hero_text {
flex: 1 1 0;
}

.container {
flex: 1 1 0;
margin-left: 50px;
margin-right: 50px;
}

.hero_text--heading {
color: white;
}

.hero_text--paragraph {
color: white;
font-weight: 400;
text-align: left;
font-size: 14px;
max-width: 550px;
}

.formcard {
width: 100%;
height: auto;
background-color: white;
border-radius: 5px;
padding: 10px 30px;
box-shadow: 1px 5px 2px 0px rgba(0, 0, 0, 0.20);
}

.container_button--purple {
border: none;
margin-bottom: 15px;
background-color: hsl(248, 32%, 49%);
border-radius: 5px;
width: 100%;
height: auto;
box-shadow: 1px 6px 2px 0px rgba(0, 0, 0, 0.20);
}

.container_button--purple > p {
color: white;
}

.labels {
visibility: hidden;
}


/* ***************** */

/* success states */
/* #firstname {
border: 2px solid hsl(154, 59%, 51%);
} */
/* error states */
/* #lastname {
border: 2px solid hsl(0, 100%, 74%);
} */

/* .formcard_field--lastname i {
visibility: visible;
} */

/* ******************** */

#firstname:focus-visible, #lastname:focus-visible, #email:focus-visible, #password:focus-visible {
outline: 2px dashed hsla(248, 32%, 49%, 0.864);
}

#firstname {
width: 100%;
padding: 15px;
border: 1px solid hsla(249, 10%, 26%, 0.816)  ; 
border-radius:3px;
font-weight: 600;
}

#lastname {
width: 100%;
padding: 15px;
border: 1px solid hsla(249, 10%, 26%, 0.816); 
border-radius:3px;
font-weight: 600;
}

#email {
width: 100%;
padding: 15px;
border: 1px solid hsla(249, 10%, 26%, 0.816)  ;
border-radius:3px;
font-weight: 600;

}

#password {
width: 100%;
padding: 15px;
border: 1px solid hsla(249, 10%, 26%, 0.816)  ;
border-radius:3px;
font-weight: 600;

}

.formcard_button--green {
border: none;
margin-bottom: 5px;
margin-top: 35px;
border-radius: 3px;
width: 100%;
height: auto;
background-color: hsl(154, 59%, 51%);
}


.formcard_button--green > p {
color: white;
font-weight: 600;
}


#formcard_erroricon--firstname {
visibility: hidden;
}

#formcard_erroricon--lastname {
visibility: hidden;
}

#formcard_erroricon--email {
visibility: hidden;
}

#formcard_erroricon--password {
visibility: hidden;
}



.formcard_field--firstname {
max-height: 80px;
}


.formcard_field--lastname {
max-height: 80px;
}


.formcard_field--email {
max-height: 80px;
}

.formcard_field--password {
max-height: 80px;
}


.formcard_field--hidden {
max-height: 80px;
}


/* media queries */

@media screen and (max-width:850px){

body{
background-image: url(./images/bg-intro-mobile.png);
}

.hero {
display: flex;
flex-direction: column;
padding-right: 2rem;
padding-left: 2rem;
padding-top: 1rem;
align-items: center;
justify-content: center;
}
.hero_text--heading {
text-align: center;
}
.hero_text--paragraph {
text-align: center;
}

.container {
margin-left: 0;
margin-right: 0;
}

}


@media screen and (min-width:1700px) and (max-width:3000px) {
.hero{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.hero_text--heading {
text-align: center;
}
.hero_text--paragraph {
text-align: center;
}

.container {
margin-left: 0;
}
}