@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
main{
    height: 100vh;
    display: grid;
    place-content: center;
}
h1{
    font-family: 'Big Shoulders Display', sans-serif;
    color: hsl(0, 0%, 95%);
}
p{
    font-family: 'Lexend Deca', sans-serif;
    font-size: 12px;
    color: hsla(0, 0%, 100%, 0.75);
    line-height: 1.5rem;
}
.container{
    display: flex;
    width: 830px;
    border-radius: .5rem;

}
.confContainer{
    height: 440px;
    width: 350px;
    padding: 35px;
}
.config{
    padding: 0 40px 0 0;
}
.config img{
    margin: 10px 0 20px 0;
}
.config h1{
    margin-bottom: 20px;
}
.config p{
    margin-bottom: 40px;
}
.sedans{
    background-color: hsl(31, 77%, 52%);
    border-radius: .5rem 0 0 .5rem;
}
.sedans button{
    color: hsl(31, 77%, 52%);
    background-color: hsl(0, 0%, 95%);

}
.suvs{
    background-color: hsl(184, 100%, 22%);
}
.suvs button{
    color: hsl(184, 100%, 22%);
    background-color: hsl(0, 0%, 95%);

}
.luxury{
    background-color: hsl(179, 100%, 13%);
    border-radius: 0 .5rem .5rem 0;
}
.luxury button{
    color: hsl(179, 100%, 13%);
    background-color: hsl(0, 0%, 95%);
}
button{
    margin-top: 35px;
    padding: 10px 25px;
    border-radius: 1.5rem;
    border: none;
    
}
button:hover{
    cursor: pointer;
    color: hsl(0, 0%, 95%);
    background-color: hsla(0, 0%, 100%, 0);
    border: 1px solid hsl(0, 0%, 95%);
}
/*Footer*/
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@media screen and (max-width: 375px){
    main{
        height: 100%;
        display: grid;
        place-content: center;
    }
    .container{
        display: flex;
        flex-direction: column;
        width: 300px;
        margin: 30px 0;
    }
    .confContainer{
        height: 390px;
        width: 300px;
        padding: 35px;
    }
    .config img{
        margin: 10px 0 20px 0;
    }
    .config h1{
        margin-bottom: 20px;
    }
    .config p{
        margin-bottom: 10px;
    }
    .sedans{
        border-radius: .5rem .5rem 0 0;
    }
    .luxury{
        border-radius: 0 0 .5rem .5rem;
    }
    button{
        margin-top: 10px;
        padding: 10px 25px;
        border-radius: 1.5rem;
        border: none;
        
    }
}