/* global tags */

h2 {
    line-height:0.1;
}

h3 {
    line-height:0.1;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
}

/* nav and footer */

.navbar {
    z-index: 1;
    top: 0; /* Stay at the top */
    background: #e3d8c1; 
    font-weight: bold;
    margin-bottom: 20px;
    position: sticky;
    border-bottom: 2px double #464141;
    display: flex; 
    justify-content: space-between;
}

.navbar a {
    padding: 10px 15px;
    font-size: 16px;
    color: #464141;
}

.navbar a:hover{
    background-color: #8a806b;
    color: #ffffff;
}

#navHomepage {
    color: white; /* main colour of title nav */
    font-size: 30px;
    float: left;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #464141; /* the outline of title nav */
}

.dropdownMenu {
    justify-content: flex-end;
    overflow: hidden;
    float: right;
}

.dropdownMenu:hover {
    background-color: #8a806b;
}

.dropdownMenu #dropdownBtn {
    font-size: 30px;  
    border: none;
    outline: none;
    color: #464141; /* the colour of the icon */
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdownContent {
    display: none;
    position: absolute;
    right: 0px;
    background-color: #e7decb; /* background colour of dropdown content menu */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdownContent a {
    float: none;
    color: black; /* the colour of the text in dropdown content menu */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdownContent a:hover {
    background-color: #8a806b; /* background colour of dropdown item when hovered */
    border: 2px double #464141; /* border of dropdown item when hovered */
}


.dropdownMenu:hover .dropdownContent {
    display: block;

}

#footerNav {
    background: #e3d8c1;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-top: 0px;
    width: 100%;
    font-weight: bold;
    text-align: center;
    position: fixed;
    bottom: 0;
}

#footerNav a {
    color: #464141;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    vertical-align: auto;
}

#footerNav a:hover {
    color: #000000;
    text-decoration: none;
}

#copyrightDisclaimer {
    padding: 0px 15px;
    float: right;
    font-size: 12px;
    line-height: 0px;
}

#footerCredit {
    padding: 0px 15px;
    float: left;
    font-size: 14px;
    line-height: 0px;
}

/* classes and ids */



.featuredTitle { /* the heading */
    color: #000000; 
    text-decoration: none;
    text-align: center;
    font-size: 36px;
    margin-bottom: 5px;
    text-decoration: none;
    background-color: #dfd3b9;
    line-height: 90px;

}

.featuredTitle:hover { 
    color: #464141; 
    text-decoration: none;
}

#featuredArticleContainer {

    border-style: double none double;
    border-width: 2px;
    display: flex;
    justify-content: center;
    margin: auto;
}

.featuredArticleItem {
    padding: 10px 10px;
    background-color: #efe9dc;

}

.featuredArticleItem img {
    object-fit: cover;
    width: 100%;
    height: 350px;
}

#recipeDetailsItem {
    width: 45%;
}

#homeRecipeTitle { /* Rhonda’s Famous Spicy Mango Chutney */
    font-size: 30px;
    font-weight: bold;
    color: #000000; 
    text-decoration: none;

}

#homeRecipeTitle:hover{ 
    font-size: 30px;
    font-weight: bold;
    color: #464141; 
    text-decoration: none;

}

#homeRecipeDetails { /* Created by Rhonda Wise, 1994, Northern Territory */
    font-size: 20px;
    font-weight: 500;
    margin: 0%;
    line-height: normal;
}

#awardsWon {
    line-height: 20px;
    color: black;
}

.homeRecipeTime { /* prep, cooking, and total time */
    font-size: 19px;
    padding: 10px 40px;
    background-color: #dfd3b9;
    margin: 2px;
    height: 33%;
    display: inline-flex;
    justify-content: center; /* Align horizontal */
    align-items: center; /* Align vertical */
}

#allHomeRecipeTime {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Align horizontal */

    }