@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: "Roboto";
}

:root{
  --dark-slate-grey:  hsl(234, 29%, 20%);
  --Charcoal-grey:  hsl(235, 18%, 26%);
  --Grey:  hsl(235, 18%, 26%);
  --White: hsl(0, 0%, 100%);
}

body{
    height: 100vh;
    background-color: var(--Charcoal-grey);
    display: grid;
    place-items: center;
}

.box{
    
    background-color: var(--White);
    -webkit-box-shadow: 31px 31px 51px -37px var(--dark-slate-grey);
    -moz-box-shadow: 31px 31px 51px -37px var(--dark-slate-grey);
    box-shadow: 31px 31px 51px -37px vra(--dark-slate-grey);
}

main{

    width: 60%;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    padding: 20px;
}


.text-section{
  padding: 30px;
  padding-right: 50px;

}
.title{
    margin: 20px 0px ;
    color: var(--Charcoal-grey);
    font-size: 2.5rem;
}

p{
    color: var(--dark-slate-grey);
    font-size: 16px;
    margin-bottom: 20px;
}

.succes-list{

    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

}

li{
    color: var(--dark-slate-grey);
    font-size: 16px;
}



.footer{
    display: none;
    flex-direction: column;
    border-radius: 20px;
    padding: 40px;
    width: 300px;
}

.list{
    display: flex;
    flex-direction: row;
    align-content: center;
}

.icon-list{
    bottom: 10px;
    position: relative;
    margin-right: 15px;
}

label{
    display: block;
    color: var(--Grey);
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: bold;
}

.input{
    opacity: 0.3;
    padding-left: 20px;
    width: calc(100% - 20px);
    height: 50px;
    border-radius: 7px;
    border: var(--Grey) 1px solid;
    margin-bottom: 20px;
}


.button{
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 7px;
    background: var(--Charcoal-grey);
    color: var(--White);
    border: none;
    font-size: 16px;
    cursor: pointer;

}

.button:hover{
    background: rgb(250,84,123);
    background: linear-gradient(90deg, rgba(250,84,123,1) 0%, rgba(250,106,61,1) 100%);
    -webkit-box-shadow: 0px 16px 36px -5px rgba(250,84,123,1); 
    box-shadow: 0px 16px 36px -5px rgba(250,84,123,1);
}

        



input:focus{
    opacity: 1;
}

:focus-visible{
    outline: unset;
}

.input::placeholder{

    color:var(--dark-slate-grey);
}

.icon-validate{
    width: 13%;
}

.need-valid-email{
    border :  rgb(250,84,123) 2px solid;
}

.notification::after{
    content: "You need to insert a valid email.";
    color: rgb(250,84,123);
    font-size: 10px;
    position: relative;
    top: 15px;
    left: -80px;
}

span{
    font-weight: bold;
}

.img-section{
    background-image: url('assets/images/illustration-sign-up-desktop.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 400px;
    overflow: hidden;
    border-radius: 20px;
}

@media screen and (max-width : 800px){
    main{
        width: 90%;
    }
    
}

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

    main{
        flex-direction: column-reverse;
        width: 100%;
        padding: 2px;
        border-radius: unset;
    }
    

    .img-section{
        background-image: url('assets/images/illustration-sign-up-mobile.svg');
        height: 150px;
        width: auto;
        border-radius: unset;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .footer{
        height: auto;
        width: auto;
        padding-top: 15%;

    }

    .icon-validate{
        margin-top: 20%;
    }

    .responsive{
        margin-top: 50%;
    }
}