@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Barlow Semi Condensed", sans-serif;
    background-color: hsl(214, 17%, 92%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: auto;
    gap: 3em;
    max-width: 70%;
    grid-template-areas:
    "box-1 box-1 box-2 box-3"
    "box-4 box-5 box-5 box-3";

    font-size:0.7em;
}

.box {
    background-color: blue;
    border-radius: 10px;
    color: white;
    padding: 25px;
    box-shadow: 30px 40px 30px 5px hsl(0, 0%, 81%);
}

.profile {
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.profile img {
    max-width: 25px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid hsl(264, 82%, 80%);
}

.name {
    font-size: 1em;
    margin-bottom: 3px;
}

.description {
    font-size: 0.8em;
}

.comment-1 {
    font-size: 1.5em;
    font-weight: 500;
}

.comment-2 {
    line-height: 1.5;
}

.box-1 {
    background-color: hsl(263, 55%, 52%);
}

.box-2 {
    background-color: hsl(217, 19%, 35%);
}

.box-3 {
    background-color: white;
    color: hsl(219, 29%, 14%);
    z-index: 1;
}

.box-4 {
    background-color: white;
    color: hsl(219, 29%, 14%);
}

.box-5 {
    background-color: hsl(219, 29%, 14%);
}

@media(max-width:1250px) {
    body {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-auto-rows: auto;
        gap: 3em;
        max-width: 70%;
        grid-template-areas:
        "box-1 box-1 box-2 "
        "box-4 box-5 box-5"
        "box-3 box-3 box-3";
    
        font-size:0.6em;
    }

    .box-3 {
        order: 1;
    }
}

@media(max-width:800px) {

    body {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: auto;
        gap: 3em;
        max-width: 70%;
        grid-template-areas:
        "box-1 box-1"
        "box-2 box-4"
        "box-5 box-5"
        "box-3 box-3";
    
        font-size:0.6em;
    }

    .box-3 {
        order: 1;
    }
}

@media(max-width:600px) {
    body {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 3em;
        max-width: 70%;
        grid-template-areas:
        "box-1"
        "box-2"
        "box-4"
        "box-5"
        "box-3";
    
        font-size:0.6em;
    }

    .box-3 {
        order: 1;
    }
}



