
:root {
    --Purple50: hsl(260, 100%, 95%);
    --Purple300: hsl(264, 82%, 80%);
    --Purple500: hsl(263, 55%, 52%);

    --White: hsl(0, 0%, 100%);
    --Grey100: hsl(214, 17%, 92%);
    --Grey200: hsl(0, 0%, 81%);
    --Grey400: hsl(224, 10%, 45%);
    --Grey500: hsl(217, 19%, 35%);
    --Darkblue: hsl(219, 29%, 14%);
    --Black: hsl(0, 0%, 7%);
}

@font-face {
    font-family: ComicSans;
    src: url('comic-sans.woff');
}

* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Comic Sans MS', ComicSans;
}
body {
    min-height: 100vh;
    padding-left: 10%;
    padding-right: 10%;
    background: #eeeaea;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
#the-whole-thing {
    margin-top: 30px;
    display: grid;
    gap: 30px;
}
section {
    display: grid;
    gap: 20px;
    padding: 2em;
    border-radius: .8em;
    box-shadow: 20px 20px 20px var(--Grey200);
}
#profile {
    display: flex;
    align-items: center;
    gap: 1em;
}
#profile span {
    display: block;
    font-size: .82em;
}
img {
    display: block;
    width: 2.5em;
    height: auto;
    border-radius: 100%;
}
#Name-and-status {
    display: flex;
    gap: 5px;
    flex-direction: column;
}
p {
    font-size: .82em;
}
/* Stylinq each section*/
#daniel {
    background: var(--Purple500);
    color: white;
}
#daniel img {
    border: 2px solid var(--Purple300);
}
#daniel span {
    color: var(--Purple300);
}
#daniel p {
    color: var(--Purple50);
}

#jonathan {
    background: var(--Grey500);
    color: white;
}
#jonathan span {
    color: var(--Grey200);
} 
#jonathan p {
    color: var(--Grey100);
}

#jeanette, #kira {
    background: #fff;
    color: var(--Grey500);
}
#jeanette span, #kira span {
    color: var(--Grey400);
} 
#jeanette p, #kira p {
    color: var(--Grey400);
}

#patrick {
    background: var(--Darkblue);
    color: var(--Grey100);
}
#patrick img {
    border: 2px solid var(--Purple500);
}
#patrick span {
    color: var(--Grey200);
} 
#patrick p {
    color: var(--Grey200);
}
@media (min-width: 800px) {
    #the-whole-thing {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-auto-flow: dense;
    }
    #daniel {
        background-image: url('images/bg-pattern-quotation.svg');
        background-repeat: no-repeat;
        background-position: 500px 0px;
        background-size: 18%;
        grid-column: span 2;
    }
    #patrick,#kira {
        grid-column: span 2;
    }
}
@media (min-width: 1350px) {
    #the-whole-thing {
        grid-auto-flow: dense;
    }
    section {
        box-shadow: 30px 30px 20px 20px var(--Grey200), 30px 30px 20px 20px var(--Grey100);
    }
    #kira {
        grid-column: -1 / 4;
        grid-row: 1/3;
    }
    
}


.attribution {
    font-size: 11px; text-align: center;
}.attribution a {
    color: hsl(228, 45%, 44%);
}