*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    background-color: hsl(0, 0%, 98%);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    font-family: "Poppins", sans-serif;
}
.header-section{
    margin: 50px 400px 0;
    text-align: center;
}
h1{
    color: hsl(234, 12%, 34%);
    font-size: 30px;
    font-weight: 200;
}
h2{
    color: hsl(234, 12%, 34%);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}
.header-section p{
    color: hsl(229, 6%, 66%);
    font-size: 16px;
}
.boxes-section{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin: 40px 150px 60px;
}
.box{
    background-color: #fff;
    border-top: 5px solid var(--clr);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 2px 8px 16px hsla(229, 6%, 66%, 0.5);
}

.two-boxes:nth-child(1){
    align-self: center;
    grid-column: 1;
    background-color: aquamarine;
}
.two-boxes:nth-child(2){
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    grid-column: 2;
}
.two-boxes:nth-child(3){
    align-self: center;
    grid-column: 3;
}
h3{
    color: hsl(234, 12%, 34%);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.box p{
    color: hsl(229, 6%, 66%);
    font-size: 14px;
    line-height: 22px;
}
.box img{
    margin: 30px 0 0 76%;
}

@media screen and (max-width: 768px) {
    body{
        display: flex;
        flex-direction: column;
        height: fit-content;
    }
    .header-section{
        margin: 50px 35px 0;
    }
    h1, h2{
        font-size: 26px;
    }
    .boxes-section{
        display: grid;
        grid-template-columns: 1fr;
        margin: 60px 30px;
    
    }
    .two-boxes:nth-child(2), .two-boxes:nth-child(3){
        grid-column: 1;
    }
}