* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(0, 0%, 95%);
    font-family: "Lexend Deca", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
}

.card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card h2 {
    font-family: "Big Shoulders Display", cursive;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
}

.card p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: hsla(0, 0%, 100%, 0.75);
}

.icon {
    width: 4rem;
}

.sedan {
    background-color: hsl(31, 77%, 52%);
}

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

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

.btn {
    background-color: white;
    color: inherit;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: bold;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn.sedan {
    color: #ed9100;
}

.btn.suv {
    color: #39758d;
}

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

.btn:hover {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}



/* Desktop layout */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }

    .card {
        flex: 1;
    }
}
