
/*THE PROJECT DESIGN*/
:root{
    --clr-Primary-box1: hsl(31, 77%, 52%);
    --clr-Primary-box2: hsl(184, 100%, 22%);
    --clr-Primary-box3:hsl(179, 100%, 13%);

    --clr-Neutral-100:hsl(0, 0%, 95%);
    --clr-Neutral-200:hsla(0, 0%, 100%, 0.75);

    --fw-regular:400;
    --fw-bold:700;

    --ff-Primary:'Big Shoulders Display', cursive;
    --ff-secondary:'Lexend Deca', sans-serif;
}




/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
    color: hsl(179, 100%, 13%);
  }
  /*
    2. Remove default margin
  */
  * {
    margin: 0;
  }
  /*
    3. Allow percentage-based heights in the application
  */
  html, body {
    height: 100%;
  }
  /*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  /*
    6. Improve media defaults
  */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  /*
    7. Remove built-in form typography styles
  */
  input, button, textarea, select {
    font: inherit;
  }
  /*
    8. Avoid text overflows
  */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  /*
    9. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }


  .box{
    display: grid;
    gap: 2rem;
    padding: 3rem;
    margin: auto 1rem ;
  }
  .sedans-box1{
    border-radius: 10px 10px 0 0;
    margin-top: 4rem ;
  }

  .luxury-box3{
    border-radius: 0 0 10px 10px;
    margin-bottom: 3rem ;

  }

  .title{
    font-size: 3rem;
    text-transform: uppercase;
    font-family: var(--ff-Primary);
    font-weight: var(--fw-bold);
    color: var(--clr-Neutral-100);
  }
  .description{
    font-weight: var(--ff-secondary);
    color: var(--clr-Neutral-200);
    line-height: 1.5rem;
    opacity: 0.8;
    font-family: var(--ff-secondary);
  }
  button{
    cursor: pointer;
    width: 8rem;
    padding: 0.7rem 0.5rem;
    border-radius: 20px;
    border: 0;
    font-family: var(--ff-secondary);
    font-size: 0.8rem;
    background-color: var(--clr-Neutral-100);
    transition:  0.15s ease-in-out;
  }

  .sedans__btn{
    color: var(--clr-Primary-box1);
  }
  .suvs__btn{
    color: var(--clr-Primary-box2);

  }
  .luxury__btn{
    color: var(--clr-Primary-box3);
  }

  button:hover{
    background: none;
    border: 2px solid var(--clr-Neutral-100);
    color: var(--clr-Neutral-100);
  }

  .sedans-box1{
    background-color: var(--clr-Primary-box1);
  }
  .suvs-box2{
    background-color: var(--clr-Primary-box2);
  }

  .luxury-box3{
  background-color: var(--clr-Primary-box3);

  }

    /*Set the design for deffrent screen sizes*/

    
  @media (min-width:950px){
    article{
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      max-width: 850px;
      margin: auto;
    }
    .box{
       max-width: 650px;
       margin: 0;
     }
     .sedans-box1{
       border-radius: 10px 0 0 10px;
       margin-top: 0 ;
     }
   
     .luxury-box3{
       border-radius: 0 10px 10px 0;
       margin-bottom: 0 ;
   
     }
  }

 