
ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    padding:0;
    list-style: none;
    margin-bottom: 30px;
}

.list-item{
    padding: 10px 0;
    align-items: center;
}

.icon{
    padding-right: 15px;
}

form{
    display: flex;
    flex-direction: column;
    width: 400px;
}

input, button{
    padding: 20px 20px;
    margin: 10px 0;
    border-radius: 5px;
}

button{
    color: white;
    font-weight: bolder;
    background-color: hsl(234, 29%, 20%);
}
input{
    border: 1px solid hsl(231, 7%, 60%);
}

label{
    font-size: .8rem;
    font-weight: bold;
}

button:hover{
    background: linear-gradient(to right, #ff586a, #ff6841); 
    border: none;
}

#form > #error{
    color: #ff586a;
    font-size: 10px;
    height: 10px;
}

@media (min-width: 550px)and (max-width: 2000px) {
    
    body{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: hsl(235, 18%, 26%);
        font-family: 'Roboto', sans-serif;
    }

    .main-container{
        display: flex;
        background-color: white;
        gap: 40px;
        min-width: 300px;
        padding: 20px;
        border-radius: 20px;
    }

    .right-container{
        padding-right: 35px;
        margin-left: 30px;
        width: 45%;
        color: hsl(234, 29%, 20%);
    }

    h1{
        margin-bottom: 10px;
        font-size: 3.5rem;
        font-weight: 1000;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .left-container{
        width: 45%;
    }

    .left-container > img{
        width: 100%;
    }
}


@media (min-width: 10px) and (max-width: 549px) {
    body{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .main-container{
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }   

    .left-container{
        height: 20%;
        width: 100%;
    }
    .left-container > img {
        content: url("./assets/images/illustration-sign-up-mobile.svg");
        width: 100%;
        object-fit: cover;
    }

    .right-container{
        padding: 10px;
        color: hsl(234, 29%, 20%);
    }

    form{
        width: 100%;
    }
    
}
.main-container.is-success{width:min(440px,calc(100% - 32px));min-width:0;display:block;padding:30px;box-sizing:border-box}.newsletter-success h1{font-size:2.2rem}.newsletter-success p{line-height:1.7;overflow-wrap:anywhere}.newsletter-success button{width:100%;margin-top:20px}[aria-invalid=true]{outline:2px solid #be3939}#error{display:block;color:#be3939}
