@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');

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

/* Color classes for cards*/ 

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

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

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

.text-bright-orange {
    color: hsl(31, 77%, 52%);
}

.text-dark-cyan {
    color: hsl(184, 100%, 22%);
}

.text-very-dark-cyan {
    color: hsl(179, 100%, 13%);
}

body {
    background-color: #f2f2f2;
    font-family: 'Big Shoulders Display', 'Lexend Deca', sans-serif;
}

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-container {
    display: flex;
    width: 920px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.container-content { 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 48px;
    width: 210.67px;
    height: 404px;
}

.content-group * { 
    margin-bottom: 32px;
}

.card-item-sedans .container-content .container-icon {
    background: url("images/icon-sedans.svg") no-repeat;
    background-size: contain;
    width: 64px;
    height: 40px;
}

.card-item-suvs .container-content .container-icon {
    background: url("images/icon-suvs.svg") no-repeat;
    background-size: contain;
    width: 64px;
    height: 40px;
}

.card-item-luxury .container-content .container-icon {
    background: url("images/icon-luxury.svg") no-repeat;
    background-size: contain;
    width: 64px;
    height: 40px;
}

h1 {
    font-size: 40px;
    color: white;
}

p {
    font-size: 15px;
    color: white;
    opacity: 0.75;
    font-family: 'Lexend Deca', sans-serif;
    line-height: 160%;
    font-weight: 400;
}

.button-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 48px;
    background-color: white;
    border-radius: 40px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
}

.button-more:hover {
    cursor: pointer;
    background-color: transparent;
    border: solid 3px white;
    color: white;
}

@media screen and (max-width: 375px) {

    .card-container{
        flex-direction: column;
        width: 328px;
        height: 1326px;
    }

    .card-item-sedans, .card-item-suvs, .card-item-luxury {
        width: 328px;
        height: 442px;
    }

    .container-content { 
        width: auto;
        height: auto;
    }
    
}