* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    background-color: #F7F1E8;
    color: #2E261C;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 700px;
    flex-wrap: wrap;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playwrite US Trad", cursive;
    font-size: 125%;
    color: #A8570C;
    width: inherit;
}

img {
    display: flex;
    height: 8.5rem;
    width: 8.5rem;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: #8B5E34 solid 3px;
    padding-top: 0.25rem;
}

header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: stretch;
}

main {
    display: flex;
    background-color: #FFF9F1;
    flex-direction: column;
    border-radius: 1em;
    border-style: solid;
    border-color: #2E261C;
    border-width: 1px;
    max-width: inherit;
    padding: 1rem;
    align-self: stretch;
}

ul {list-style: none;}

strong {font-weight: 600;}

dt {
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: #8B5E34;
    text-decoration: none;
}

input {
    color: #2E261C;
    padding: 0.25rem;
}

button {padding: 0.25rem;}

output {
    display: flex;
    background-color: red;
}

article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-radius: 1em;
    padding: 0.5rem;
    border-color: inherit;
    border-style: inherit;
    background-color: inherit;
    box-shadow: 1px 1px 2px 1px #888;
    max-width: 180px;
    max-height: fit-content;
}

.TitleHeader {
    display: flex;
    flex-direction: row;
    justify-content: start;
    font-size: 1.8rem;
    gap: 1rem;
}

input#titleHeaderModifiable {
    font-family: "Playwrite US Trad", cursive;
    color: #A8570C;
}

.PageHeaderItemGroupOne {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


input.BasicLineInputField{
    max-width: 5rem;
}

input.BasicLineInputField::placeholder {
    padding: inherit;
    color: inherit;
    font-weight: 585;
}

.HeaderItemGroupTwo {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.RecipeTagList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
}

.PseudoButton {
    background-color: #8B5E34;
    color: #F7F1E8;
    padding: .5em 1em;
    border-radius: 1em;
}

.IngredientEditWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: .25rem;
    gap: 1rem;
}

.IngredientEditWrapperItem {
    gap: 1rem;
    display: flex;
    flex-shrink: 1;
    flex-direction: column;
    flex-wrap: nowrap;
}

.BasicRowContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.BasicRowContainerAlt {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#passwordCheckContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

#passwordInput {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0.5rem;
}

.DivisorRowContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.CardContainer {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    flex-direction: row;
    justify-content: stretch;
    flex-wrap: wrap;
}

.LoginInputAssembly {
    display: flex;
    flex-direction: column;
    padding: 0.65rem;
}

#loginForm {
    display: flex;
    flex-direction: column;
    font-size: 125%;
    padding: 1rem;
}

#rotate {
    transform: rotate(2deg);
    border: 5px;
    border-color: #FFF;
    border-radius: 3px;
}

#displayedUserName {
    align-self: end;
}

#profileLink {
    align-self: end;
}

#profileImage {
    display: flex;
    width: 100px;
    height: 100px;
    flex-direction: row;
    justify-self: start;
}

#inputPlaceholder {
    display: flex;
    width: 100%;
    padding: 0.25rem;
    font-weight: 600;
    text-decoration: solid;
    color: #2E261C;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0.25rem;
}

#headerSearchBox {
    padding-left: 2rem;
}

#recipeTopContainer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0.25rem;
}

#bottomSignInButton {
    width: 94%;
    align-self: center;
}

#recipeMetaDataContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
}

#ingredientsAndStepsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 1.5rem;
}

#recipeDescriptionModifiable {
    display: flex;
    width: 100%;
    padding: 0.25rem;
    font-weight: 600;
    text-decoration: solid;
}

#ingredientsList {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-left: 1rem;
    text-indent: -1rem;
}

#cookStatsContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .25rem;
}

#stepsList {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

a:hover {
    color: #A8570C;
    text-decoration: underline;
}

.PseudoButton:hover {
    background-color: #A8570C;
    color: #FFF9F1;
}
