* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --Bright-orange: hsl(31, 77%, 52%);
    --Dark-cyan: hsl(184, 100%, 22%);
    --Very-dark-cyan: hsl(179, 100%, 13%);
    --Transparent-white: hsla(0, 0%, 100%, 0.75);
    --Very-light-gray: hsl(0, 0%, 95%);
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--Very-light-gray);
    font-size: 15px;
}
main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 7px;
    margin: 2rem;
    overflow: hidden;
    width: 900px;
    height: 500px;
}

.sedan {
    background-color: var(--Bright-orange);
    padding: 40px;
}
h1 {
    font-family: 'Big Shoulders Display';
    color: var(--Very-light-gray);
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.7rem;
    letter-spacing: 1px;

}
 p {
    font-family: 'Lexend Deca';
    color: var(--Transparent-white);
    line-height: 1.5;
    font-weight: 400;
    font-size: 0.96rem;
    opacity: 0.8;
}
button {
    background-color: var(--Very-light-gray);
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    cursor: pointer;
    font-weight: 400;
    margin-top: 6.5rem;
    transition: all 0.5s ease;
    border: 1px solid var(--Very-light-gray);
    font-family: 'Lexend Deca';
}
.suv button {
    color: var(--Dark-cyan);
}
.luxury button {
    color: var(--Very-dark-cyan);
}
.sedan button {
    color: var(--Bright-orange);
}
button:hover {
    background-color: transparent;
    color: var(--Very-light-gray);
}


.suv {
    background-color: var(--Dark-cyan);
    padding: 40px;
}

.luxury {
    background-color: var(--Very-dark-cyan);
    padding: 40px;
}
@media (max-width: 668px) {
  body {
    height: auto;
  }

  main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    max-width: 400px;
    overflow: visible;
    height: auto;
  }
  button {
    margin-top: 2rem;
  }
  .sedan{
    border-radius: 10px 10px 0 0;
  }
  .luxury {
    border-radius: 0 0 10px 10px;
  }
}