body {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    color: hsla(0, 0%, 100%, 0.75);
    background-color: hsl(0, 0%, 95%); 
}

/* Fonts */
h1 {
    font-family: 'Big Shoulders Display', cursive;
    color: hsl(0, 0%, 95%);
}

p {
    width: 70%;
    font-weight: 400;
    font-size: smaller;
    line-height: 2;
}

/* Main card container */
.container {
    max-width: 60vw;
    border-radius: 15px;
}

/*  Cars Description Section */
.card {    
    display: flex;
    align-items: center;
    justify-content: center;    
    margin: 1rem 2rem 1rem 2rem;
}

.cars {
    height: 75vh;
    display: flex;
    align-items: flex-start;
    justify-content: center; 
    flex-direction: column;
    
}

img {margin: 6rem 2rem 1rem 2rem;} 


h1, p {
    margin: 1rem 2rem 1rem 2rem;
}

.sedan-section {
    background-color: hsl(31, 77%, 52%);
    border-radius: 15px 0 0 15px;
}

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

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

/*  Buttons for Car Section*/
button {
    background-color: hsl(0, 0%, 95%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Lexend Deca', sans-serif;
    justify-content: center;  
    width: 50%; 
    padding: 1rem;
    margin: 3rem 2rem 6rem 2rem; 
}

.sedan-btn {
    color: hsl(31, 77%, 52%);
}
.suv-btn {
    color: hsl(184, 100%, 22%);
}
.luxury-btn {
    color: hsl(179, 100%, 13%);
}

/* Footer */
.attribution {
    font-size: 11px; 
    text-align: center;
}

.attribution-text {
    color: hsl(228, 45%, 44%);
}

.attribution a { 
    color: hsl(228, 45%, 44%);
}

/* Media Queries */
@media screen and (max-width: 992px) {

    /* Main card container */
    .container {
        max-width: 100vw;
    }

    /* Cars Description Section */
     .card {  
        flex-direction: column;
    }

    .cars {
        height: 100vh;
    }

    .sedan-section {
        border-radius: 15px 15px 0 0;
    }

    .luxury-section {
        border-radius: 0 0 15px 15px;
    }

    img {
        margin-top: 7rem;
    } 

    button {
        width: 40%;
        margin-bottom: 7rem;
    }
}