body {
    margin: 0;
    background-color: hsl(0, 0%, 95%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 40px 20px;
}

main {
    max-width: 900px;
    display: flex;
    flex-direction: column;
}

.sedans, .suvs, .luxury {
    padding: 3.125rem;
}

.sedans {
    background-color: hsl(31, 77%, 52%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.sedans a {
    color: hsl(31, 77%, 52%);
}

.suvs {
    background-color: hsl(184, 100%, 22%);
}

.suvs a {
    color: hsl(184, 100%, 22%);
}

.luxury {
    background-color: hsl(179, 100%, 13%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.luxury a {
    color: hsl(179, 100%, 13%);
}

h1 {
    color: hsl(0, 0%, 95%);
    font-family: 'big shoulders display', sans-serif;
    font-size: 2rem;
}

p {
    color: hsla(0, 0%, 100%, 0.75);
    font-family: 'Lexend Deca', sans-serif;
    font-size: .938rem;
    font-weight: 400;
    line-height: 1.7rem;
    margin-bottom: 32px;

}

a {
    background-color: hsl(0, 0%, 95%);
    padding: 12px 25px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
}

.sedans a:hover {
    background-color: hsl(31, 77%, 52%);
    border: hsl(0, 0%, 95%) solid 1.5px;
    color: hsla(0, 0%, 100%, 0.75);
}

.suvs a:hover {
    background-color: hsl(184, 100%, 22%);
    border: hsl(0, 0%, 95%) solid 1.5px;
    color: hsla(0, 0%, 100%, 0.75);
}

.luxury a:hover {
    background-color: hsl(179, 100%, 13%);
    border: hsl(0, 0%, 95%) solid 1.5px;
    color: hsla(0, 0%, 100%, 0.75);
}

@media (min-width: 1300px) {
    main {
        flex-direction: row;
    }

    body {
        height: 100vh;
    }

    .sedans {
        border-top-right-radius: 0px;
        border-bottom-left-radius: 10px;
    }

    .sedans, .suvs, .luxury {
        display: flex;
        flex-direction: column;
    }

    .sedans img, .suvs img, .luxury img {
        width: 64px;
    }

    .sedans a, .suvs a, .luxury a {
        margin-top: auto;
        align-self: flex-start;
    }

    .luxury {
        border-bottom-left-radius: 0px;
        border-top-right-radius: 10px;
    }
}