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


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 2s;
}

:root{
    --background-color: whitesmoke;
    --font: white;
    --font-fam: 'Barlow Semi Condensed', sans-serif;
    --bg-one: hsl(263, 55%, 52%);
    --bg-two: hsl(217, 19%, 35%);
    --bg-three-five: hsl(214, 17%, 92%);
    --bg-four: hsl(219, 29%, 14%); 
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: red;
    background-color: whitesmoke;
    color: var(--font);
    font-family: var(--font-fam);
    color: hsl(214, 17%, 92%);
}

main{
    display: grid;
    grid-template-rows: repeat(auto-fill , 100px);
    grid-template-columns:repeat(auto-fill, 315px) ;
    grid-gap: 4rem;
    margin-top: 0.5rem;
    margin-left: 2rem;
    font-weight: 500;
} 

img{
    border-radius: 50%;
    border: 4px solid hsl(264, 82%, 80%);
}

.quotes{
    border: none;
    border-radius: 0;
    left: 30rem;
    position: absolute;
    visibility: hidden;
}

.small{
    width: 30%;
}

.one, .two, .three, .four, .five{
    border-radius: 0.5rem;
    box-shadow: 10px 10px 10px grey;
    padding: 1rem;
    height: 300px;
}

.one{
    background-color: var(--bg-one);
    grid-area: 1/ 1/ 3/ 3;
    height: 352px;
}

.two{
    background-color: var(--bg-two);
    grid-area: 1/ 3/ 3/ 4;
    height: 350px;
}

.three{
    background-color: white;
    grid-area: 3/1/5/2;
    color: black;
}

.four{
    background-color: var(--bg-four);
    grid-area: 3/2/5/4;
    height: 305px;
}

.five{
    background-color: white;
    grid-area: 1/4/5/5;
    height: 715px;
    color: black;
}

.five .par{
    font-size: 1.2rem;
}

.five .head{
    font-size: 1.5rem;
}

.profile{
    display: flex;
    /* background-color: orange; */
}

.test{
    margin-left: 20px;
    padding-top: 7px;
}

.name{
    font-size: 1.5rem;
    font-weight: 600;
}

.status{
    font-size: 1rem;
}

.text{
    /* background-color: peru; */
    padding: 0.5em;
}

.head  {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.4em;
}

.par{
    font-size: 1.2rem;
    margin-top: 1rem;
    color: hsl(224, 10%, 45%);
}

.par-one{
    color: white;
}

.par-two{
    color: hsl(0, 0%, 81%);
}

.par-three{
    font-size: 1rem;
}

.par-four{
    color: whitesmoke;
}


.attribution { 
    font-size: 20px; 
    text-align: center; 
    position: relative;
    top: 1rem;
    color: black;
    border: 2px solid black;
    max-width: 700px;
    margin: 0px auto;
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
    text-decoration: none;
    color: var(--bg-one);
}

.attribution a:hover{
    color: var(--bg-two);
}

@media (max-width:1300px) {
    main{
        display: flex;
        flex-direction: column;
    }

    .one,.two,.three,.four,.five{
        max-width: 50%;
        margin: 0px auto;
        height: 500px;
    }

    img{
        width: 15%;
    }

    .two img, .three img{
        width: 15%;
    }

    .two,.three{
        height: 300px;
    }

    .quotes{
        visibility: hidden;
    }

}

@media (max-width:1200px) {

    .one, .three, .five{
        height: 600px;
    }

    .two,.three{
        height: 300px;
    }

    .quotes{
        visibility: hidden;
        transition-delay: 0s;
    }
}

@media (max-width:700px){
    /* main{
        background-color: orange;
    } */
    .one,.two,.three,.four,.five{
        max-width: 60%;
        margin: 0px auto;
        height: 600px;
    }

    img{
        width: 10%;
        border-radius: 60%;
    }

    .two img, .three img{
        width: 10%;
    }

    .one, .three, .five{
        height: 700px;
    }

    .two,.three{
        height: 400px;
    }
}


@media (max-width:650px) {
    /* main{
        background-color: orange;
    } */

    img, .three img, .two img{
        width: 50px;
    }
}

@media (max-width:550px) {


    /* main{
        background-color: yellowgreen;
    } */

    .one,.two,.three,.four,.five{
        max-width: 70%;
        margin: 0px auto;
        height: 600px;
    }

    .two, .three{
        height: 300px;
    }

    .attribution { 
        font-size: 16px; 
        text-align: center; 
        position: relative;
        top: 1rem;
        color: black;
        border: 2px solid black;
        max-width: 400px;
    }
}

@media (max-width:500px) {
    /* main{
        background-color: orangered;
    } */

    .one,.two,.three,.four,.five{
        max-width: 70%;
        margin: 0px auto;
        height: 700px;
    }    

    .three{
        height: 300px;
    }

    .two{
        height: 400px;
    }
}