@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;     
}

body {
    /* /* font-family: 'Big Shoulders Display', cursive; */
    /* font-family: 'Lexend Deca', sans-serif;  */
    min-height: 100vh;
    display: flex;
    background-color: hsl(0, 0%, 95%);
    align-items: center;
    font-size: 3.0rem;
    font-weight: 400;
}

.container {
    margin: 0 auto;
    max-width: 960px;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0.625rem;
    overflow: hidden;
    margin: 3rem;
}

.wrapper img {
    display: block;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.wrapper p {
    line-height: 2.6rem;
    font-weight: 400;
    font-size: 1.5rem;
    font-family: 'Lexend Deca', sans-serif;
    color: hsla(0, 0%, 100%, 0.75);
    padding-bottom: 8rem;
    padding-right: 3rem;
}


.sedan {
    background: hsl(31, 77%, 52%);
    color: hsl(0, 0%, 95%);
    padding: 2.875rem 3.937rem 4rem 2.875rem;
}

.sedan h1 {
    padding: 2.5rem 0;
    font-family: 'Big Shoulders Display', cursive;
    font-size: 3rem;
}

.suv {
    background: hsl(184, 100%, 22%);
    color: hsl(0, 0%, 95%);
    padding: 2.875rem 3.9375rem 4rem 2.875rem;
}

.suv h1 {
    padding: 2.5rem 0;
    font-family: 'Big Shoulders Display', cursive;
    font-size: 3rem;
}


.luxury {
    background: hsl(179, 100%, 13%);
    color: hsl(0, 0%, 95%);
    padding: 2.875rem 3.9375rem 6rem 2.875rem;
}

.luxury h1 {
    padding: 2.5rem 0;
    font-family: 'Big Shoulders Display', cursive;
    font-size: 3rem;
}


.btn {
    background: hsl(0, 0%, 95%);
    padding: 1.4rem 2.7rem;
    border-radius: 3rem;
    margin-bottom: 1rem;
    border: 2px solid hsl(0, 0%, 95%);
    font-weight: 400;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.btn {
    text-decoration: none;
    font-family: 'Lexend Deca', sans-serif;
}

.sedan a {
    color: hsl(31, 77%, 52%);
}

.suv a {
    color: hsl(184, 100%, 22%);
}

.luxury a {
    color: hsl(179, 100%, 13%);
}

.btn:hover {
    color: hsl(0, 0%, 95%);
    background: transparent;
}

footer {
    position:absolute;
    bottom:0;
    width:100%;
    height:60px;   /* Height of the footer */
}

.attribution {
    font-family: 'Lexend Deca', sans-serif;
    color: hsl(179, 100%, 13%);
}

.attribution a {
    text-decoration: none;
    color: hsl(31, 77%, 52%);
}

@media only screen and (max-width: 48em) {
    .wrapper {
        grid-template-columns: 1fr;
        margin: 12rem 2rem;
    }

    .wrapper h1 {
        font-size: 4rem;
    }

    footer {
        display: none;
    }
}











