/*____Global____*/
:root{
    /*Primary*/
--VeryDarkMagenta: hsl(300, 43%, 22%);
--SoftPink: hsl(333, 80%, 67%);

    /*Neutral*/
--DarkGrayishMagenta: hsl(303, 10%, 53%);
--LightGrayishMagenta: hsl(300, 24%, 96%);
--White: hsl(0, 0%, 100%);
}

body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 15px;
    font-family: 'Spartan', sans-serif;
    text-align: center;
}
main{
    width: min(90vw ,1300px);
    height: auto;
    margin: auto;
}
.bgMobile, .bgDesktop, .bgMobileBtm, .bgDesktopBtm{
    display: block;
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.bgDesktop, .bgDesktopBtm{
    display: none;   
}
@media only screen and (min-width : 576px){
    .bgDesktop, .bgDesktopBtm{
        display: block;
    }
    .bgMobile, .bgMobileBtm{
        display: none;
    }
}
@media only screen and (min-width: 950px) {
    .topDesktopSection{
        display: flex;
        justify-content: space-between;
    }
    main{
        position: fixed;
        top: 50%;
        left: 50%;
  /* bring your own prefixes */
        transform: translate(-50%, -50%);
    }
}



/*____Introductions____*/
.intro{
    width: min(350px, 100%);
    margin: auto;
}
h1{
    color: var(--VeryDarkMagenta);
    font-size: 2rem;
}
.intro p{
    font-size: max(1.4vw, 1rem);
}
@media only screen and (min-width : 576px){
    .intro{
        text-align: left;
        margin: 0;
    }
    
}

/*____Ratings Section____*/
.ratings{
    width: min(750px, 100%);
}
.ratings div{
    background-color: var(--LightGrayishMagenta);
    color: var(--VeryDarkMagenta);
    max-width: 350px;
    width: 100%;
    margin: 15px auto;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}
.ratings div > p{
    margin: 3px;
}
@media only screen and (min-width: 576px) {
    .ratings div{
        max-width: 650px;
        margin: 10px;
        padding: 15px 10px;
        display: flex;
        align-items: center;
    }
    .ratings div:nth-child(2){
        transform: translateX(3em);
    }
    .ratings div:nth-child(3){
        transform: translateX(6em);
    }
    .ratings{
        display: flex;
        flex-direction: column;
        align-self: center;
    }
    .ratings div > p, .starContainer{
        margin: 3px 2em;
    }
}

/*____Comments Section____*/
.comments{
    color: white;
}
.commentsDiv{
    background-color: var(--VeryDarkMagenta);
    padding: 2em;
    margin: 1.5em auto;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    border-radius: 10px;
}
.peopleNames{
    display: flex;
}
.peopleNames img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: auto 0;
}
.name p{
    margin: 0.5em auto 0 0.75em;
}
.name p:nth-child(2){
    color: var(--SoftPink);
}
blockquote{
    text-align: left;
    margin: 2em 0;
}
@media only screen and (min-width: 950px){
    .comments{
        display: flex;
        justify-content: space-between;
    }
    .commentsDiv{
        margin:1.5em 1em;
    }
    .commentsDiv:nth-child(2){
        transform: translateY(3em);
    }
    .commentsDiv:nth-child(3){
        transform: translateY(5em);
    }
}

.bgMobileBtm, .bgDesktopBtm{
    bottom: 0;
    right: 0;
}

/*____Signature____*/
.attribution {
    font-size: 11px;
    text-align: center;
}
  .attribution a {
    color: hsl(228, 45%, 44%);
}