:root {
  --main-color: #eee2dc;
  --navbar-color: #edc7b7;
}

/*LOGO*/
.logo {
  padding: 2vh;
  align-self: center;
  margin: 0 auto;
  background-color: #edc7b7;
  transition: 0.3s;
}

#homepage {
  font-family: "Noto Serif Display", serif;
  font-size: 5vw;
  text-decoration: none;
  color: black;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

#homepage:hover {
  border-bottom: 1px solid black;
}

/* NAVIGATION BAR */
nav {
  background-color: #bab2b5;
}

.navigationbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.navigationbar a {
  height: 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: vw;
}

.nav-container {
  display: flex;
  background-color: #edc7b7;
}

#mobileLinks {
  display: none;
  background-color: #edc7b7;
  text-align: center;
}

.mobilenav a {
  color: black;
  text-decoration: none;
  font-family: "Oswald";
  font-size: 2vw;
  display: grid;
  grid-template-columns: 1fr;
  padding: 12px;
  border-bottom: 0.5px solid rgba(50, 50, 50, 0.1);
}

.burger {
  color: black;
  position: relative;
  align-self: center;
  display: none;
}


@media screen and (max-width:800px) {
  .navigationbar {
    display: none;
  }

  .burger {
    display: block;
  }

  .logo {
    padding: 2vw 2vw 2vw 10vw;
  }
}

/*remove space between nav bar and body*/
body {
  margin: 0;
  background-color: #eee2dc;
}

/*header styles*/
nav a {
  color: black;
  text-decoration: none;
  font-family: "Oswald";
  font-weight: lighter;
  font-size: 1.5em;
}

/*highlight button when hovering*/
nav a:hover {
  background-color: #ac3b61;
  color: white;
}

/* Add a background color to the top navigation */
.navigationbar {
  background-color: var(--navbar-color);
  overflow: hidden;
}

/*===================================================*/

/*FOOTER*/
footer {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #123c69;
  color: white;
  font-family: "Oswald";
  padding: 2em 0;
}

#footer-logo {
  font-family: "Noto Serif Display", serif;
  font-size: 2em;
  text-decoration: none;
  margin: 0;
}

footer ul {
  list-style: none;
}

footer ul a {
  color: white;
}

footer li {
  padding: 5px 0;
}

@media screen and (max-width:800px) {
  footer {
    display: block;
  }
}

/* social media icons */

.fa {
  padding: 15px;
  font-size: 30px;
  width: 15px;
  text-align: center;
  text-decoration: none;
  margin: 0px 2px;
  border-radius: 50%;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

/* remove underline for all links */
a {
  text-decoration: none;
}

/*PODCAST BANNER*/

.banner {
  position: relative;
  overflow: hidden;
}

.thatsfood {
  transition: ease-in-out 0.3s;
}

.banner:hover .thatsfood {
  transform: scale(1.02);
}

.banner-text {
  font-family: "Oswald", sans-serif;
  font-weight: lighter;
  color: white;
  font-size: 2vw;
  position: absolute;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  bottom: 0;
  padding: 3vw 0;
  background-color: rgba(0, 0, 0, .8);
  opacity: 0;
  transition: 0.5s ease;
  visibility: hidden;
}

/* Show text when hover */
.banner:hover .banner-text {
  visibility: visible;
  opacity: 1;
}

/*MORE ARTICLES*/

.more-articles {
  font-family: "Noto Serif Display";
  color: white;
  text-align: center;
  width: 100%;
  margin-top: 3vw;
  padding: 2vw 0;
  background-color: #bab2b5;
}

.more-articles h2 {
  font-weight: lighter;
  font-size: 4vw;
}

.wrapper {
  margin: 5%;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
  grid-template-rows: 1fr 1fr;
  column-gap: 8%;
  row-gap: 5vw;
  justify-items: center;
  justify-content: center;
}

.article-image {
  position: relative;
  padding-top: 56.25%;
}

.article-image img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  left: 0;
  right: 0;
}

.article {
  display: flex;
  flex-direction: column;
}

.item {
  background-color: #edc7b7;
  transition: box-shadow .3s;
}

.item:hover {
  background-color: #bab2b5;
  box-shadow: 0 0 20px rgba(50, 50, 50, .7);
}

.article-title {
  padding: 0 5%;
  color: black;
  font-family: "Noto Serif Display";
  font-weight: bold;
}

/* MEDIA QUERIES FOR MOBILE DEVICES */
/* IPHONE 12 PRO, SAMSUNG GALAXY S20 ULTRA */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .container {
    display: block;
    width: 100%;
  }

  .banner-text {
    opacity: 1;
    visibility: visible;
    font-size: 4vw;
  }

  .article-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  .article-image {
    width: 100%;
    height: 80%;
  }

  .item {
    margin: 10px 0;
  }

}

/* IPHONE SE, IPHONE XR, PIXEL 5 */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .container {
    display: block;
  }

  .banner-text {
    opacity: 1;
    visibility: visible;
    font-size: 4vw;
  }

  .article-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  .article-image {
    width: 100%;
    height: 80%;
  }

  .item {
    margin: 10px 0;
  }
}

/* SAMSUNG GALAXY S8+ */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .container {
    display: block;
  }

  .banner-text {
    opacity: 1;
    visibility: visible;
    font-size: 4vw;
  }

  .article-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  .article-image {
    width: 100%;
    height: 100%;
  }

  .item {
    margin: 10px 0;
  }
}

@media screen and (max-width:320px) {
  .container {
    display: block;
  }s

  .item {
    margin: 10px 0;
  }
}