@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');

:root {
    --Purple-50: hsl(260, 100%, 95%);
    --Purple-300: hsl(264, 82%, 80%);
    --Purple-500: hsl(263, 55%, 52%);

    --White: hsl(0, 0%, 100%);
    --Grey-100: hsl(214, 17%, 92%);
    --Grey-200: hsl(0, 0%, 81%);
    --Grey-400: hsl(224, 10%, 45%);
    --Grey-500: hsl(217, 19%, 35%);
    --Dark-blue: hsl(219, 29%, 14%);
    --Black: hsl(0, 0%, 7%);

    --font: "Barlow Semi Condensed", sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}



body {
    font-size: 13px;
    font-family: var(--font);
    background-color: hsl(300,5%,96%);
}




.card {
    background: var(--Grey-100);
    border-radius: 10px ;
    padding: 1.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.user {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;

}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-picture {
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 1px solid var(--Grey-100);
}

.body-text {
    font-weight: 300;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0 7.3rem;
}

.heading {
    position: relative;
    z-index: 2;
}

.heading h3 {
    margin-bottom: 1rem;
    line-height: 120%;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;

    
}


.box1 {
    grid-column: 1/3;
    background: var(--Purple-500);
    position: relative;
    color: var(--White);

}

.box1 .quote {
    color: var(--Purple-300);
    position: absolute;
    top: 0;
    right: 7rem;
    z-index: 1;
}

.verification {
    font-size: 0.65rem;
    font-weight: 100;
}

.box2{
    background-color: var(--Grey-500);
    color: var(--White);
}

.box3 {
    grid-column: 1/2;
    grid-row: 2/3;
    background-color: var(--White);
    color: var(--Black);
}


.box4 {
    grid-column: 2/4;
    background-color: var(--Dark-blue);
    color: var(--White);
}

.box5 {
    grid-column: 4/5;
    grid-row: 1/3;
    background-color: var(--White);
    color: var(--Black);
}

/* Media Queries */
@media screen and (max-width: 1100px) {
    .flex-container {
        margin: 2rem;
        height: auto;
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .box5 {
        grid-column: 3/4;
        grid-row: 1/3;
    }
    
    .box4 {
        grid-column: 1/4;
    }

}

@media screen and (max-width: 768px) {
 
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }

    .box1 {
        grid-column: 1/3;
        grid-row: 1;
    }

    .box2 {
        grid-column: 1/2;
        grid-row: 2;
    }

    .box3 {
        grid-column: 2/3;
        grid-row: 2;
    }

    .box4 {
        grid-column: 1/3;
        grid-row: 3;
    }

    .box5 {
        grid-column: 1/3;
        grid-row: 4;
    }

    .box1 .quote {
        right: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .flex-container {
        margin: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .box1, .box2, .box3, .box4, .box5 {
        grid-column: 1;
    }

    .box1 {
        grid-row: 1;
    }

    .box2 {
        grid-row: 2;
    }

    .box3 {
        grid-row: 3;
    }

    .box4 {
        grid-row: 4;
    }

    .box5 {
        grid-row: 5;
    }

    .heading h3 {
        font-size: 1.1rem;
    }

    .body-text {
        font-size: 0.9rem;
    }
}

