body {
  font-family: 'Poppins';
  background-color: #f0f0f0;
  color: #333;
  width: 80%;
  margin: 10px auto;
  padding: 20px;
}
h1 {
  font-size: 24px;
  font-family: 'Poppins';
  font-weight: 200;
  color: #333;
  margin-bottom: -25px;
  text-align: center;
}
h2 {
  font-size: 35px;
  font-weight: 600;
  color: #555;
  text-align: center;
}
header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #666;
  width: 45%;
  margin: 20px auto;
 text-align: center;
}
.card1, 
.card2, 
.card3, 
.card4 {
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto;
    width: 80%;
    max-width: 250px;
}
.right{
    width: 70%;
}
.cards{
   height:600px;
}
.card1, 
.card2, 
.card3, 
.card4 img{
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.card1, 
.card2, 
.card3, 
.card4 p{
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.card1 {
    border-top: hsl(180, 62%, 55%) solid 5px;
    height: 200px;
    transform: scale(1) translate(-95%, 100%);
}
.card2 {
    border-top: hsl(0, 78%, 62%) solid 5px;
    height: 200px;
    transform: scale(1) translate(10%, -80%);
}
.card3 {
    border-top: hsl(34, 97%, 64%) solid 5px;
    height: 200px;
    transform: scale(1) translate(10%, -70%);

}
.card4 {
    border-top: hsl(212, 86%, 64%) solid 5px;
    height: 200px;
    transform: scale(1) translate(115%, -220%);
}
.card h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
img{
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
@media (max-width: 999px) {
    body {
        width: 100%;
    }
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 28px;
    }
    header p {
        width: 75%;
    }
    .card1, .card2, .card3, .card4 {
        width: 100%;
        transform: none;
        position: relative;
    }
    .cards{
        width: 100%;
        display: flex;
        margin: 0 auto;
        height: 1000px;
        flex-direction: column;
        align-items: center;
    }
    .cards img{
        position: none;
    }
    img{
        position: absolute;
        bottom: 20px;
        right: 20px;
        height: 40px;
        width: 40px;
    }
    
}
@media (max-width: 480px) {
    body {
        width: 95%;
    }
    h1 {
        font-size: 18px;
    }
    h2 {
        font-size: 24px;
    }
    header p {
        width: 90%;
    }
    .card1, .card2, .card3, .card4 {
        width: 100%;
        transform: none;
        position: relative;
    }
    .cards{
        width: 100%;
        display: flex;
        margin: 0 auto;
        height: 800px;
        flex-direction: column;
        align-items: center;
    }
}

.attribution { 
    font-size: 11px; 
    text-align: center; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}