@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --color-white: hsl(0, 0%, 100%);
    --color-gray-light: hsl(0, 0%, 81%);
    --color-violet: hsl(263, 55%, 52%);
    --color-blue-grayish-ligh: hsl(210, 46%, 95%);
    --color-blue-grayish-dark: hsl(217, 19%, 35%);
    --color-blue-blackish-dark: hsl(219, 29%, 14%);
    --color-box-shadow: rgba(0,0,0,.1);

    --font-main: 'Barlow Semi Condensed', sans-serif;

    --fs-xl: 2rem;
    --fs-600: 1.2rem;
    --fs-500: 1.1rem;
    --fs-400: .7rem;

}
html, body{
    min-height: 100vh;
    width: 100%;
}
body, input, textarea{
    font-family: var(--font-main);
}
body{
    position: relative;
    background-color: var(--color-blue-grayish-ligh);
    font-size: 13px;
    line-height: 1.3;
}
#body-content{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
section{
    margin: 50px 20px;
    max-width: 950px;
    display: grid;
    grid-auto-columns: 1fr;
    gap: 20px;
    grid-template-areas: 
    "one one two five"
    "three four four five"
}
article{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 var(--color-box-shadow);
}
article header{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
article img{
    height: 30px;
    width: 30px;
    border-radius: 50%;
}
article.purple-border img{
    box-shadow: 0 0 0 2px hsl(263, 70%, 65%);;
}
article hgroup{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
article :is(h1, h2, q){
    font-size: var(--fs-400);
    font-weight: normal;
}
article.light-text{
    color: var(--color-white);
}
article.dark-text{
    color: var(--color-blue-grayish-dark);
}
article header h2{
    opacity: .5;
}
article p{
    font-size: var(--fs-600);
    font-weight: bold;
}
article.light-text p{
    color: var(--color-white);
}
article q{
    quotes: "“ " " ”" "‘" "’";
    opacity: .7;
}
article:nth-child(1){
    background-image: url('./images/bg-pattern-quotation.svg');
    background-repeat: no-repeat;
    background-position-x: 80%;
    background-color: var(--color-violet);
    grid-area: one;
}
article:nth-child(2){
    background-color: var(--color-blue-grayish-dark);
    grid-area: two;
}
article:nth-child(3){
    background-color: var(--color-white);
    grid-area: three;
}
article:nth-child(4){
    background-color: var(--color-blue-blackish-dark);
    grid-area: four;
}
article:nth-child(5){
    background-color: var(--color-white);
    grid-area: five;
}
@media (max-width: 850px){
    section{
        grid-template-areas: 
        "one one"
        "two five"
        "three five"
        "four four"
    }
}
@media (max-width: 550px){
    section{
        grid-template-areas: 
        "one"
        "two"
        "three"
        "four"
        "five"
    }
}
