@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&display=swap');
:root{
    --bright-orange:hsl(31, 77%, 52%);
    --dark-cyan: hsl(184, 100%, 22%);
    --very-dark-cyan:hsl(179, 100%, 13%);
    /* paragraphs */
    --transparent-white:hsla(0, 0%, 100%, 0.75);
    /* (background, headings, buttons) */
    --very-light-gray:hsl(0, 0%, 95%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-size: 15px;
    font-family: "Lexend", sans-serif;
    background: var(--very-light-gray);
   

}
.container{
    max-width: 900px;
    margin: auto;
    padding: 0 2rem;

}
#cars-type .row{
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(3 ,1fr);
    justify-content: center;
    align-items: center;
}
#cars-type .row .col:first-child{
    background-color: var(--bright-orange);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
#cars-type .row .col:nth-child(2){
    background-color: var(--dark-cyan);
}
#cars-type .row .col:last-child{
    background-color: var(--very-dark-cyan);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*btn*/
#cars-type .row .col:first-child .btn{
    color: var(--bright-orange);

}
#cars-type .row .col:nth-child(2) .btn{
    color: var(--dark-cyan);
}
#cars-type .row .col:last-child .btn{
    color: var(--very-dark-cyan);
}


#cars-type .row .col{
    padding: 45px;

}
#cars-type .row .col h2{
    font-size: 30px;
     font-family: "Big Shoulders", sans-serif;
     margin: 30px 0;
     color: var(--very-light-gray);
    
}
#cars-type .row .col p{
    margin-bottom: 6rem;
    line-height: 1.6;
    color: var(--transparent-white);
}

#cars-type .row .col .btn{
    background-color: var(--very-light-gray);
    padding: 12px 25px ;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid var(--transparent-white);
}
#cars-type .row .col .btn:hover{
    background-color: transparent;
    color: var(--transparent-white);
}

/* responsive */
@media (max-width :800px) {
    #cars-type .row{
        grid-template-columns: 1fr;
    }

    .container{
        padding: 5rem 2rem;
    }
    #cars-type .row .col:first-child{
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
    }
    #cars-type .row .col:last-child{
        border-bottom-left-radius: 10px;
        border-top-right-radius: 0;
    }

}