


*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'gibson';
  src: url('../fonts/Gibson.woff2') format('woff2'),
       url('../fonts/Gibson.woff') format('woff'),
       url('../fonts/Gibson.ttf') format('ttf'),
       url('../fonts/Gibson.svg') format('svg'),
       url('../fonts/Gibson.eot') format('eot');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --clr-primary: #ee6352;
  --clr-secondary: #e0e0e0;
  --clr-accent: #96f9b5;
  --clr-side-nav: #000000;
  --ff-title: bungee, sans-serif;
  --ff-body: gibson, sans-serif;
  --fw-body: 300;
  --fw-bold: 800;
  --fw-title: 400;
  --fw-number: 800;
}

body {
  background-color: #1f371f;
  min-height: 90vh;
  font-family: var(--ff-body);
  font-weight: var(--fw-body);
  font-size: 1.25rem;
}

.header-bg {
  color: #ffffff;
  background-image: url("../images/challah_cropped-header-image.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  justify-content: center;
  height: 175px;
  overflow: hidden;
  padding: 0;
}

.columns-index-page,
.columns,
.columns-Recipes {
  background-color: white;
  margin: 0rem auto;
  padding-inline: 15px;
  padding-bottom: 15px;
  width: min(100%, 100rem);
  display: grid;
  grid-auto-flow: row;
  gap: 1.5em;
  font-family: var(--ff-body);
  font-weight: var(--fw-body);
  font-size: .8em;
}

.columns-Recipes {
  display: grid;
  grid-template-columns: 3fr 2fr;
  padding-inline: 2px;
}

.Awesome-New-Recipes {
  margin-inline-start: -2.5rem;
  padding-inline-start: 0em;
  line-height: 1.5em;
}

@media (min-width: 55em) {
  .columns {
    grid-template-columns: 3fr 1fr;
  }

  .columns-index-page {
    grid-template-columns: 4fr 2fr 1fr;
  }
}

.main-content li {
  line-height: 1.5em;
}

.PotatoLatkes img {
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--clr-accent);
}

.side-nav {
  font-family: var(--ff-body);
}

.side-nav ul ul {
  margin-inline-start: -2.5rem;
  padding-inline-start: 0em;
  line-height: 1.5em;
  font-size: .75rem;
}

.side-nav a {
  color: var(--clr-side-nav);
}

.side-nav a:hover {
  outline: 3px solid var(--clr-accent);
  /* outline-offset: 3px; */
}

:focus {
  outline: 1px solid var(--clr-accent);
  /* outline-offset: 3px; */
}

.nav-next-previous ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: left;
}

.nav-next-previous li {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}

.nav-next-previous a {
  color: black;
  font-weight: bold;
}

.title {
  text-align: center;
  text-transform: uppercase;
  padding: 1em 0 2em;
  margin: 0;
  position: relative;
  z-index: 1000;
}

.title {
  font-size: calc(1rem + 3vw);
  font-family: var(--ff-title);
  font-weight: var(--fw-title);
  color: white;
  right: 125px;
  top: -12%;
}

.title span {
  font-weight: var(--fw-number);
  color: black;
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  font-size: 1.5em;
  top: 0;
  z-index: -1;
  opacity: .35;
}

.title-p {
  text-align: center;
  font-weight: var(--fw-title);
  color: white;
  display: inline-block;
  position: absolute;
  left: 0%;
  right: 2%;
  font-size: 1em;
  top: +10%;
}

@media (width < 46em) {
  .title-p {
    font-size: .7em;
  }
}

@media (width < 55em) {
  .Awesome-New-Recipes {
    margin-inline-start: .5rem;
    padding-inline-start: 1em;
    line-height: 1.5em;
  }

  .columns-Recipes {
    grid-auto-flow: row;
    /* grid-auto-flow: column; */
    grid-template-columns: 3fr;
  }

}

.page-footer {
  display: block;
  background-color: #222222;
  padding: 10px;
  color: #FFFFFF;
  text-align: center;
  font-family: var(--ff-body);
  font-weight: var(--fw-body);
  font-size: .7em;
}




/* NAV NAV NAV NAV NAV NAV NAV NAV NAV NAV NAV NAV NAV NAV  */

nav {
  display: flex;
  justify-content: center;
  margin: 0;
  background-color: #222222;
  padding: 10px;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

nav ul li {
  display: inline-block;
  background-color: #222222;
}

nav a {
  display: block;
  padding: 0 10px;
  color: #FFF;
  font-size: 16px;
  line-height: 35px;
  text-decoration: none;
}

nav a:hover {
  background-color: #402e2e;
}

/* Hide Dropdowns by Default */
nav ul ul {
  display: none;
  position: absolute;
  top: 35px;
  /* the height of the main nav */

}

/* Display Dropdowns on Hover */
nav ul li:hover>ul {
  display: inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
  width: 150px;
  float: none;
  display: list-item;
  position: relative;
}

/* Second, Third and more Tiers	*/
nav ul ul ul li {
  position: relative;
  top: -40px;
  left: 150px;
  width: 350px;

}

/* Change this in order to change the Dropdown symbol */
li>a:after {
  content: ' +';
}

li>a:only-child:after {
  content: '';
}