:root {
    --lime: #c3f700;
    --blue: #4983d0;
}

// allows me to include the padding and border in an element's total width and height
* {
    box-sizing: border-box;
} 

.hidden {
    display: none;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    border: 1px solid grey;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: lightgrey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

body {
    margin: 0;
}

#head {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    background-color: white;
    transition: 0.1s;
    border-bottom: 1px solid black;
    z-index: 1000000;

    #logo {
        width: 200px;
        height: 60px;
        background-image: url("images/yum. (1).png");
        background-size: cover;
        background-repeat: no-repeat;
    }

    #headerRight {
        height: 60px;
        width: 175px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;

        #acount {
            background-color: lightblue;
            height: 50px;
            width: 50px;
            border-radius: 100px;
        }

        #LogIn {
            width: 70%;
            height: 70%;
            background-color: grey;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
        }

        .loggedIn {
            display: none;
        }
    }
}

#body {
    width: 100%;
    padding-top: 100px;

    #featured {
        width: 100%;
        height: 500px;
        background-color: var(--lime);
        display: flex;
        justify-content: center;
        align-items: center;

        #featuredCarousel {
            width: 60%;
            height: 90%;
            display: flex;
            flex-direction: row;
            align-items: center;

            .CarouselButton {
                height: 100%;
                width: 100px;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: #eeeeee;
                
                i {
                    color: white;
                    height: 50px;
                    width: 50px;
                    background-color: var(--blue);
                    border-radius: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 40px;
                    cursor: pointer;
                }
            }

            #CarouselContent{
                display: flex;
                flex-direction:  column;
                align-items: center;
                justify-content: space-between;
                height: 100%;
                width: 100%;
                background-image: url(images/french-onion-chicken-salad.jpg);
                background-repeat: no-repeat;
                background-size: cover;

                #FeaturedTitle {
                    width: 100%;
                    height: 10%;
                    background-color: black;
                    opacity: 25%;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    span {
                        font-family: roboto, sans-serif;
                        text-transform: uppercase;
                        font-size: 20px;
                        opacity: 100%;
                    }
                }

                #FeaturedInfo {
                    width: 100%;
                    height: 20%;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-around;

                    #FeaturedServes, #FeaturedTime{
                        height: 70%;
                        width: 7%;
                        background-color: yellow;
                    }
                    #FeaturedAuthor{
                        width: 50%;
                        height: 70%;
                        background-color: blue;
                    }
                    #FeaturedDifficulty{
                        width: 25%;
                        height: 70%;
                        background-color: lightblue;
                    }
                }
            }
        }
    }

    #narrowDown {
        width: 100%;
        height: 40px;
        background-color: grey;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-left: 175px;

        #filter {
            width: 200px;
            height: 30px;
            background-color: white;
        }
        
        #searchBar {
            width: 200px;
            height: 30px;
            background-color: white;
            margin-left: 15px;
        }
    }

    #contentWrapper {
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: orange;
        padding: 15px;
        padding-left: 150px;
        padding-right: 150px;

        .product {
            background-color: lime;
            width: 250px;
            height: 350px;
            margin: 35px;
            cursor: pointer;
            transition: 0.5s;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 5px;

            #RecipeTitle {
                width: 95%;
                height: 10%;
                background-color: blue;
            }

            #RecipeImage{
                width: 95%;
                height: 60%;
                background-color: purple;
            }

            #RecipeRating{
                width: 95%;
                height: 10%;
                background-color: hotpink;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-end;

                .Star {
                    height: 70%;
                    width: 10%;
                    background-color: yellow;
                    margin: 3px;
                }
            }

            #RecipeAuthor{
                width: 95%;
                height: 20%;
                background-color: grey;
            }
        }

        .product:hover {
            width: 300px;
            height: 400px;
            margin: 10px;
        }
    }
}

#foot {
    width: 100%;
    height: 75px;
    background-color: green;
}