body{
    margin: 0;
    background-color: hsl(235, 18%, 26%);
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: hsl(234, 29%, 20%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 100vh;
}
#illustration{
    max-width: 100%;
    width: auto;
    height: auto;
}
article{
    max-height: fit-content;
    box-sizing: border-box;
    background-color: hsl(0, 0%, 100%);
    max-width: 375px;
}
form{
    box-sizing: border-box;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
h1{
    font-weight: 700;
}
ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    padding-left: 25px;
    list-style-image: url(./assets/images/icon-list.svg);
}
li{
    padding-left: 10px;
    padding-bottom: 10px;
}
label{
    font-weight: 700;
    font-size: 12px;
}
input{
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid hsl(0, 0%,58%);
    cursor: pointer;
}
input:focus, input:active{
    border: 2px solid hsl(234, 29%, 20%);
    outline: none;
}
button{
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
    color: hsl(0, 0%, 100%);
    background-color: hsl(234, 29%, 20%);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}
button:hover{
    background-image: linear-gradient(to right, hsl(339, 75%, 49%), rgb(255, 85, 0));
    box-shadow: 5px 5px 10px hsla(339, 75%, 49%, 0.482) ;
}
footer{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin: 5px;
    padding-top: 5px;
    border-top: 1px solid black;
    color: white;
}
footer a {
    color: grey;
}
#success-layout {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 40px;
    padding-bottom: 30px;
    max-height: 100vh;
    
}
#success-layout h1{
    font-size: 30px;
    font-weight: 700;
}
#success-layout img{
    width: 50px;
}

.hidden{
    display: none !important;
}
#email-labels{
    display: flex;
    justify-content: space-between;
}
#not-valid{
    color: red;
    font-weight: 400;
}

@media only screen and (min-width: 760px){
    #illustration{
        order: 2;
        margin: 10px;
        height: 350px;
        box-sizing: border-box;
    }
    form{
        order: 1;
        max-width: 375px;
        padding-bottom: 0;
    }
    #starter-layout{
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        border-radius: 10px;
        max-width: none;
        max-height: fit-content;
        justify-content: center;
        align-items: center;
    }
    #success-layout{
        border-radius: 15px;
    }
}
