@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Lexend+Deca:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {position: relative;}
.attribution { font-size: 12px; text-align: center;position: absolute;bottom: 0;left: 50%;transform: translateX(-50%);width:80vw;font-family: "Roboto", sans-serif;}
.attribution:hover {font-size: 16px;transition: 0.5s;}
.attribution a { text-decoration: none;color: hsl(0, 0%, 0%); }

:root {
    --brightOrange: hsl(31, 77%, 52%);
    --DarkCyan: hsl(184, 100%, 22%);
    --VeryDarkCyan: hsl(179, 100%, 13%);
    --TransparentWhite : hsla(0, 0%, 100%, 0.75);
    --VeryLightGray : hsl(0, 0%, 95%);
}

body {
    background-color: var(--VeryLightGray);
}

.main {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    font-size: 16px;
    font-family: "Lexend Deca", serif;
    width: 325px;
    color: var(--TransparentWhite);
    margin: 80px auto;
}

.cols {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 400px;
    padding: 40px;
}

.cols * {
    margin-bottom: 30px;
}

img {
    width: 64px;
    height: 40px;
}

h2 {
    font-family: "Big Shoulders Display", serif;
    font-size: 32px;
    text-transform:uppercase;
    color: var(--VeryLightGray);
}

.sedan  {
    background-color:var(--brightOrange);
    border-radius: 10px 10px 0 0;
}
.sedan button {
    color: var(--brightOrange);
}
.sedan button:hover {
    color: var(--VeryLightGray);
    background-color: var(--brightOrange);
}

.suvs {
    background-color: var(--DarkCyan);
}
.suvs button {
    color: var(--DarkCyan);
}
.suvs button:hover {
    color: var(--VeryLightGray);
    background-color: var(--DarkCyan);
}

.luxury {
    background-color: var(--VeryDarkCyan);
    border-radius: 0 0 10px 10px;
}
.luxury button {
    columns: var(--VeryDarkCyan);
}
.luxury button:hover {
    color: var(--VeryLightGray);
    background-color: var(--VeryDarkCyan);
}

button {
    border:none;
    padding: 16px 40px;
    border-radius: 25px;
    font-weight: 700;
    border: solid 2px var(--VeryLightGray);
}
.button:hover {
    border: solid 2px var(--VeryLightGray);
}

@media (min-width: 950px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    .main {
        width: 900px;
        flex-direction: row;
        margin:0;
    }
    .h2 {font-size: 36px;}
    .cols {
        width: 300px;
        height: 500px;
        padding: 36px;
    }
    p {
        line-height: 1.5;
    }
    .sedan {
        border-radius: 10px 0 0 10px;
    }
    .luxury {
        border-radius: 0 10px 10px 0;
    }
    button {
        margin-top: 4rem;
    }
}