article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
  display: block; }

audio, canvas, video {
  display: inline-block; }

audio:not([controls]) {
  display: none;
  height: 0; }

[hidden] {
  display: none; }

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

a:focus {
  outline: thin dotted; }

a:active, a:hover {
  outline: 0; }

h1 {
  font-size: 2em; }

abbr[title] {
  border-bottom: 1px dotted; }

b, strong {
  font-weight: 700; }

dfn {
  font-style: italic; }

mark {
  background: #ff0;
  color: #000; }

code, kbd, pre, samp {
  font-family: monospace, serif;
  font-size: 1em; }

pre {
  white-space: pre-wrap;
  word-wrap: break-word; }

q {
  quotes: \201C \201D \2018 \2019; }

small {
  font-size: 80%; }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -.5em; }

sub {
  bottom: -.25em; }

img {
  border: 0; }

svg:not(:root) {
  overflow: hidden; }

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0; }

button, input {
  line-height: normal; }

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer; }

button[disabled], input[disabled] {
  cursor: default; }

input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0; }

input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box; }

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none; }

textarea {
  overflow: auto;
  vertical-align: top; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

body, figure {
  margin: 0; }

legend, button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0; }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0; }

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

html {
  font-size: 62.5%;
  background: #f7ccdc; }

body {
  font-size: 1.6rem;
  font-family: 'Open Sans', sans-serif; }

main {
  min-height: calc(100vh - 224px - 64px); }

.wrapper {
  max-width: 900px;
  margin: 0 auto; }

header {
  background: #f75459; }

ul {
  list-style: none;
  margin: 0;
  padding: 0; }
  ul li {
    margin: 0;
    padding: 0; }

a {
  text-decoration: none;
  color: #000; }

.button {
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid #000;
  text-transform: uppercase;
  font-weight: bold;
  background: #fafafa;
  transition: all 0.3s; }
  .button:hover {
    background: #f75459; }

.button.navLink:hover {
  background: #f7ccdc; }

.visuallyhidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0);
  overflow: hidden; }

h1 {
  font-family: 'Pacifico', cursive; }

h2 {
  margin-bottom: 40px; }

h5 {
  font-size: 1.6rem; }

p {
  line-height: 2.4rem; }

header {
  margin-bottom: 60px; }
  header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center; }
  header h1 {
    width: 60%; }
  header nav {
    width: 40%;
    display: flex;
    justify-content: flex-end; }
    header nav a {
      margin-left: 20px; }

.signInOutLinks {
  text-decoration: underline;
  font-size: 1.8rem; }

.logIn form {
  display: flex; }
  .logIn form input {
    padding: 5px;
    margin-top: 10px; }
  .logIn form .email,
  .logIn form .password,
  .logIn form .confirm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px; }
  .logIn form input[type=submit] {
    align-self: flex-end; }

.recipe__image {
  width: 350px;
  float: right;
  margin: 0 0 40px 40px; }
  .recipe__image img {
    width: 100%;
    border-radius: 10px; }

.showRecipe h3 {
  margin: 30px 0; }

.showRecipe li {
  margin: 20px 0; }

.deleteRecipeContainer {
  border: 3px solid #f75459;
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  display: flex;
  flex-direction: column; }
  .deleteRecipeContainer span {
    font-weight: bold;
    text-transform: uppercase; }
  .deleteRecipeContainer .button {
    align-self: center; }

.addRecipeForm {
  display: flex;
  flex-direction: column; }
  .addRecipeForm .createRecipe {
    align-self: center;
    margin-top: 40px; }

.formSection {
  display: flex; }
  .formSection .sectionInput {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; }
  .formSection .inputPreview {
    padding: 20px;
    border: 2px dashed #000;
    border-radius: 10px;
    width: 50%; }
  .formSection h5 {
    margin: 0; }
  .formSection .button {
    margin-top: 20px; }
  .formSection .eachPreview {
    display: flex;
    justify-content: space-between; }
    .formSection .eachPreview p {
      width: 90%;
      margin: 0; }
    .formSection .eachPreview .deletePreview {
      width: 10%; }
  .formSection label {
    margin: 20px 0 10px 0; }

.imagePreview {
  width: 250px; }
  .imagePreview img {
    width: 100%;
    border-radius: 10px; }

.recipeTiles {
  display: flex;
  justify-content: space-between; }
  .recipeTiles h3 {
    text-align: center; }
  .recipeTiles li {
    width: 30%; }
  .recipeTiles a {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 10px; }
  .recipeTiles .tileImage {
    max-width: 200px; }
  .recipeTiles img {
    width: 100%;
    border-radius: 10px; }

footer {
  background: #f75459;
  margin-top: 40px; }
  footer p {
    margin: 0;
    padding: 20px 0;
    text-align: right; }
