*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    padding: 20px;
    display: flex;
    min-height: 100vh;
    background-color: hsl(0, 0%, 100%);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: hsl(212, 6%, 44%);
    justify-content: center;
    align-items: center;
}
.container {
    width: 100%;
    max-width: 260px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.intro{
    text-align: center; 
    margin-top: 40px;
    margin-bottom: 20px;   
}
.intro h2{
    font-weight: 200;
    color: hsl(234, 12%, 34%);
    margin-bottom: 10px;
}
.intro h1{
    font-weight: 600;
    color: hsl(234, 12%, 34%);
    margin-bottom: 15px;
}
.intro p{
    margin-bottom: 30px;
}
.cards{
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}
.card{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 18px -11px hsl(212, 86%, 64%);
}
.middle-cards{
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.card img{
    align-self: flex-end;
    width: 50px;
    height: 50px;
    margin-top: 30px;
}
.card h3{
    color: hsl(234, 12%, 34%);
}
.card p{
    font-weight: 200;
}

.card.box1{
    border-top: 4px solid hsl(180, 62%, 55%);
}
.card.box2{
    border-top: 4px solid hsl(0, 78%, 62%); 
}
.card.box3{
    border-top: 4px solid hsl(34, 97%, 64%);    
}
.card.box4{
    border-top: 4px solid hsl(212, 86%, 64%);    
}


@media (min-width: 1024px) {
  body {
    max-width: 1440px;
    padding: 60px 100px;
    font-size: 16px;
    align-items: flex-start;
  }

  .container {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .intro {
    max-width: 600px;
    margin-bottom: 60px;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
  }

  .middle-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .box1 {
    grid-column: 1;
    grid-row: 2;
  }

  .middle-cards {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .box4 {
    grid-column: 3;
    grid-row: 2;
  }
}


