/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic (CALLED IN ANOTHER FILE)
	- Normalize
	- Box sizing
	- Media width
# Base
	- Typography
	- Elements
	- Links
# Layouts
# Components
	- Header
	- Main
	- Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Typography
--------------------------------------------- */
body {}

h1,
h2,
h3,
h4,
h5,
h6 {}

p {}


/* Elements
--------------------------------------------- */
ul {}

ol {}

dl {}

figure {}

table {}

/* Links
--------------------------------------------- */
a {}

a:visited {}

a:hover {}

a:focus {}

a:active {}


/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/


/* Header
--------------------------------------------- */

.navbar-custom {
	background-color: #b8d5cd;
}

/* Index
--------------------------------------------- */
#image-container {
    max-width: 100vw;
    overflow: hidden;
}



#image-container img {
    width: 150%;
    display: block;
    margin: 0 auto;
    height: auto;
}

.text-center {
    width: 90vw;
    margin: 20px auto;
    color: #42b26f;
}

#index-page {
    font-family: "work sans", sans-serif;
}


/* Main
--------------------------------------------- */



#headerIngredients {
    display: flex;
    margin: 0 auto;
    display: block;
    text-align: center;
    justify-content: center;
}


h3 p{
    text-align: center;
    color: black;
    font-size: 25px;
    margin: 0px;
    padding-top: 5px;
    font-family: "work sans", sans-serif;
}

#ingredientsForm{
    width: 90vw; 
    height: 38px; 
    margin: 0px auto;
}

div label input {
    margin-right: 100px;
}

#dairy, #meat, #vegetable{
    border-radius: 4px;
    border: 10px solid #fff;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}


#meat label,
#vegetable label,
#dairy label {
    float: left;
    line-height: 3.0em;
    width: 40vw;
    height: 3.0em;
    font-size: 14px;
    font-family: "work sans", sans-serif;
}


.container span {
    text-align: center;
    display: block;
    border: 1px solid #fff;
    background-color: #91dac5 ;
    border-radius: 10px;
}


#meat input,
#vegetable input,
#dairy input {
    position: absolute;
    display: none;
    color: #fff !important;
    background-color: #b8d5cd;
    
}

#vegetable label input + span{color: #fff;}
#dairy label input + span{color: #fff;}
#meat label input + span{color: #fff;}

input:checked + span {
    color: #ffffff;
    text-shadow: 0 0  6px rgba(0, 0, 0, 0.8);
}

.container input:checked + span{background-color: #42b26f;} 

.form-choice {
    margin: 10px 0;
}
/* Results
--------------------------------------------- */
#results-page {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 85vw;
    font-family: "work sans", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-top: 20px;

}

.recipe-card {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 20px auto;
    max-width: 85vw;
    background-color: #b8d5cd;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
        
.recipe-img {
    max-width: 95%;
    height: auto;
    margin: 10px auto;
    display: block;
}

.recipe-text {
    max-width: 95%;
    margin: 20px auto;
    display: block;
    color: #2c3b8d;
}

.recipe-text h3 {
    font-family: "work sans", sans-serif;
    font-size: 20px;
}

.recipe-text p {
    font-family: "work sans", sans-serif;
    font-size: 12px;
}

.recipe-text button {
    background-color: #B8D6C4;
    border-radius: 5px;
    font-family: "work sans", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px rgba(0, 0, 0, 0.6) solid;
}


/* Details
--------------------------------------------- */
#recipe-detail {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 85vw;
    font-family: "work sans", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin: 20px auto;
    color: #2c3b8d;

}

#recipeDetailsContainer {
    width: 90vw;
    margin: 0 auto;

}

#recipeDetailsContainer img {
    width: 100%;
    display: block;
    margin: 0 auto;

}

#recipeDetailsContainer iframe {
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 250px;
}

#recipeDetailsContainer h3 {
    font-family: "work sans", sans-serif;
    font-size: 20px;
    margin: 20px auto;
    color: #2c3b8d;
}

#recipeDetailsContainer p {
    font-family: "work sans", sans-serif;
    font-size: 12px;
    margin: 20px auto;
    color: #2c3b8d;
}








/* Footer
--------------------------------------------- */
#seeAllRecipesButton {
    background-color: #B8D6C4;
    border-radius: 15px;
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    width: 250px;
    height: 38px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}
#seeAllRecipesButton p{
    color: white;
    text-align: center;
    font-size: large;

}