/* === the stuff we use 100% of the time - good for a template === */
*   {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}
img, video, figure {
    max-width: 100%;
}




body {
    background-color: pink;
    min-height: 100vh;
    background-image: repeating-linear-gradient(145deg, rgb(56, 58, 56) 1px, rgb(56, 58, 56) 2px, rgb(84, 88, 84) 2px, rgb(84, 88, 84) 50px);
}
h1 {
    background-color: white;
    text-align: center;
    font-size: 60px;
    text-shadow: 2px 1px 2px rgb(36, 169, 21);
    padding: 20px 0px;
    margin-bottom: 40px;
}
h1 > span::after {
    content: "Phone Users";
}
.primary_image {
    /* border: 2px solid red; */
    min-height: 50vh;
}
/* .primary_image .img1 {

} */
.primary_image .img2 {
    display: none;
}
.primary_image figure {
    /* border: 2px solid yellow; */
    min-height: 40vh;
    background-image: url(/images/gardeningHands.jpg);
    background-size: cover;
    background-position: center;
    margin: 0 10px;
}
.primary_image figcaption {
    color: white; font-size: 20px;
    padding: 10px;
    line-height: 1.4;
    border-bottom: 2px solid black;
}
p {
    color: white; font-size: 22px;
    padding: 10px;
    line-height: 1.4;
    margin-bottom: 10px;
    text-indent: 5vw;
}




/* ====== Responsive design with a mobile-first philosophy ====== */
/*====== stylig our pages first, for phone users. Then, style for the bigger screen users.
- focus our attention on what is MOST important to the user. 
- help us keep our file sizes smaller, which saves data plans. 
- ackknowledges that phone/mobile users are a growing segment and sometimes bigger segment ====== 
*/


/* media query for TABLET users ====== 768px x 1024px */
@media screen and (min-width: 750px) {

    /* styles here are for tablet useres and bigger */

    body {
        background-image: none;
        background-color: sandybrown;
    }
    h1 > span::after {
        content: "Tablet Users";
    }

    .primary_image {
        min-height: initial; /* setting min-height to default */
        display: flex;
        flex-flow: row wrap;
    }
    .primary_image figure {
        min-height: 330px;
        background-position: center 30%;
        flex: 1 0 60%;
        margin: 10px;
    }
    .primary_image figcaption {
        color: black;
        border-bottom: 0px solid black;
        background-color: #EEC;
        flex: 1 0 30%;
        margin: 10px 10px 10px 0px;
    }

}

/* media query for DESKTOP/LAPTOP users ====== */
@media screen and (min-width: 1100px) {

    body {
        background-color: skyblue;
    }
    h1 > span::after {
        content: "Desktop/Laptop Users";
    }
    p {
        color: black;
    }



}
/* media query for full screen DESKTOP and TV users ====== */
@media screen and (min-width: 1900px) {

    body {
        background-color: black;
    }
    h1 > span::after {
        content: "TV / Wide-screen PC Users";
    }
    p {
        color: white;
    }
    .primary_image .img2 {
        display: block;
        background-image: url(../images/girlCone.jpg);
        background-size: cover;
        background-position: center 20%;
    }
    .primary_image figcaption {
        font-size: 40px;
    }
    p {
        font-size: 24px;
        color: pink;
        padding: 10px;
        max-width: 80ch;
    }



    }