@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Lexend+Deca:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: hsl(0, 0%, 95%);
    font-size: 15px;
    font-family: "Lexend Deca", serif;
    font-weight: 400;
}

.container {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.content {
    border-radius: 0.5rem;
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: row;
}

.sedans, .suvs, .luxury {
    padding: 3rem 3.7rem 3rem 3rem;
}

.sedans {
    background-color: hsl(31, 77%, 52%);
    border-radius: 0.5rem 0 0 0.5rem;
}

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

.luxury {
    background-color: hsl(179, 100%, 13%);
    border-radius: 0 0.5rem 0.5rem 0;
}

img {
    height: 40px;
}

header h2 {
    color: hsl(0, 0%, 95%);
    margin: 1.8rem 0;
    font-family: "Big Shoulders Display", serif;
    font-weight: 700;
    font-size: 2.3rem;
}

.main p {
    color: hsla(0, 0%, 100%, 0.75);
    line-height: 1.8;
}

.main button {
    padding: 0.9rem 1.7rem;
    border: none;
    border-radius: 1.5rem;
    margin-top: 5rem;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    background-color: hsl(0, 0%, 95%);
}

.sedans button {
    color: hsl(31, 77%, 52%);
}

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

.luxury button {
    color:  hsl(179, 100%, 13%);
}

.attribution { 
    font-size: 11px; 
    text-align: center; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}

@media (max-width: 1200px) {
    .container {
        height: auto;
    }
    .content {
        width: 100%;
        max-width: 480px;
        margin: 5rem 1.5rem;
        display: block;
    }
    .sedans, .suvs, .luxury {
        padding: 2rem;
    }
    .sedans {
        border-top-right-radius: 0.5rem;
        border-bottom-left-radius: 0;
    }
    .luxury {
        border-top-right-radius: 0;
        border-bottom-left-radius: 0.5rem;
    }
    .main button {
        margin-top: 2rem;
    }
}