@import "./fonts.css";
@import "./reset.css";

/* 
COLORS
======
#d62300 Fiery Red
#ff8732 Flaming Orange
#502314 BBQ Brown
#f5ebdc Mayo Egg White
#198737 Crunchy Green
#ffaa00 Melty Yellow

#d7c7b5 border when using mayo

*/

body {
  size: 16px;
  width: 100%;

}
.home-subtext {
  color: #502314;
  font-family: Flame-Sans;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.41;
  letter-spacing: -.41px;
}
a {
  text-decoration: none;
}

.content-grid {
  display: grid;
  min-height: 100vh;
  grid-template-columns: none;
  grid-template-rows: 74px 1fr auto;
}
.content-grid header {
  grid-row-start: 1;
}
.content-grid main {
  grid-row-start: 2;
}
.content-grid footer {
  grid-row-start: 3;
}

a {
  font-family: Flame-Regular;
  font-weight: bold;
}







.header {
  font-family: Flame-Regular, sans-serif;
  color: #f5ebdc;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  z-index: 8;
}

.header_container {
  position: fixed;
  top: 0;
}

.header_container .mainnav {
  height: 76px;
  padding: 0;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  position: fixed;
  width: 100%;
  background-color: #502314;
  letter-spacing: .7px;
  line-height: 32px;
  font-size: 17px;
}

@media screen and (min-width: 769px) {
  .header_container .mainnav {
    height: 76px;
  }
}



.header-section {
  width: 100%;
  margin-bottom: 0;
}
.page-section {
  max-width: 1128px;
  margin: 0 auto 48px;
}

@media (min-width: 1024px) {
  .page-section {
      margin-bottom: 64px;
  }
}
@media (min-width: 768px) {
  .page-section {
      padding: 0 24px;
  }
}

.header_container .mainnav_container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 74px auto 74px;
  grid-template-rows: 74px auto;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -moz-box-align: center;
  align-items: center;
}

.header_container .BK-Logo-container {
  display: grid;
  justify-self: center;
  align-self: center;
}
.header_container .BK-Logo-container a {
  height: 64px;
}
.header_container .BK-Logo {
  width: 64px;
  height: 64px;
  justify-self: center;
  align-self: center;
  cursor: pointer;
}

.header_container .mainnav_mobile-menu-button {
  justify-self: center;
  grid-column-start: 3;
  grid-column-end: 4;
  display: flex;
}

.header_container .mainnav_menu {
  justify-self: left;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-start: 2;
  display: none;
}
.header_container .mainnav_menu_link {
  padding: 0 12px;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  flex-direction: column;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  justify-content: center;
  font-size: 2em;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .header_container .mainnav_container {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .header_container .mainnav_mobile-menu-button {
    grid-column-start: 3;
    grid-column-end: 4;
  }
  
  .header_container .mainnav_menu {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    justify-self: left;
    display: flex;
  }

  .header_container .mainnav_menu_link {
    font-size: 17px;
  }
}

.header_container a {
  color: inherit;
  text-decoration: inherit;
}
.header_container .mainnav_menu_link a {
  display: block;
}
@media screen and (min-width: 769px) {
  .header_container .mainnav_menu_link a:hover {
    color: #ff8732;
  }
}




.header_container .mainnav_container img {
  cursor: pointer;
}

.header_container .mainnav_mobile-menu-button .menu-icon_image {
  width: 24px;
  height: 24px;
}
.menu-icon_open {
  content: url("data:image/svg+xml,%3Csvg height='32px' id='Layer_1' style='enable-background:new 0 0 32 32;fill:%23f5ebdc;' version='1.1' viewBox='0 0 32 32' width='32px' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z'/%3E%3C/svg%3E");
}
.menu-icon_close {
  content: url("data:image/svg+xml,%3Csvg fill='none' height='24' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cline style='stroke:%23f5ebdc;' x1='18' x2='6' y1='6' y2='18'/%3E%3Cline style='stroke:%23f5ebdc;' x1='6' x2='18' y1='6' y2='18'/%3E%3C/svg%3E");
}
@media screen and (min-width: 769px) {
  .header_container .menu-icon_image {
    display: none;
  }
}


/* MAIN */

.home-wrapper {
  background-color: #f5ebdc;
  height: 100%;
}



/* HERO */
.hero{
  height: 60vh;
  min-height: 400px;
  background-color: #502314;
}

.hero-section {
  position: relative;
  height: 100%;
}

.hero-img {
  max-width: 75%;
  min-width: 500px;
  position: absolute;
  /* top: 0; */
  right: 0;
  bottom: -5%;
  z-index: 5;
}

@media screen and (min-width: 769px) {
  .hero-img {
    max-width: 70%;
    bottom: -7%;
  }
}

@media screen and (min-width: 992px) { 
  .hero-img {
    top: 0;
  }
}

@media screen and (min-width: 1096px) { 
  .hero-img {
    max-width: 63%;
  }
}

.hero-title {
  position: absolute;
  color: #f5ebdc;
  width: 50%;
  height: auto;
  top: 25%;
  left: 15px;
  font-family: Flame-Bold;
  font-size: 3.8em;
  z-index: 6;
}

@media screen and (min-width: 992px) {
  .hero-title {
    font-size: 5em;
  }
}

.btn-hero-item {
  text-decoration: none;
  position: absolute;
  left: 15px;
  bottom: 10%;
  color: #d62300;
  padding: 8px 15px;
  background-color: #f5ebdc;
  border-radius: 20px;
  cursor: pointer;
  z-index: 6;
}
.btn-hero-item:hover {
  background-color: #f0cdbb;
}




/* OFFERS */
.section-offers {
  position: relative;
  /* min-height: 80vh; */
  background-color: #f5ebdc;
}

.section-header {
  position: relative;
  padding: 5% 0 0.5% 15px;
  color: #d62300;
  font-family: Flame-Regular;
  font-weight: bold;
  font-size: 1.5em;
}
.section-header-more {
  position: absolute;
  right: 0;
  color: #502314;
  bottom: 8%;
  padding-right: 17px;
  text-align: center;
  cursor: pointer;
}
.section-header-more a {
  text-decoration: none;
  color: #502314;
  font-family: Flame-Sans;
  font-size: 0.55em;
}

.offers-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  /* grid-gap: 5%; */
  /* padding-top: 10%; */
}
.offers-container a {
  cursor: pointer;
}
@media screen and (min-width: 617px) {
  .offers-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: repeat(6, auto);
  }
}

.offer-item {
  background-color: transparent;
  padding: 15px;
  max-height: 300px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.offer-item:not(:nth-child(1)):not(:nth-child(2)) {
  display: none;
}
.offer-item img {
  width: auto;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}
@media screen and (min-width: 617px) {
  .offer-item {
    max-height: 100%;
  }
  .offer-item:not(:nth-child(1)):not(:nth-child(2)) {
    display: flex;
  }
  .offer-item img {
    width: 100%;
    height: auto;
  }
  .offer-item img:hover {
    box-shadow: 0 4px 16px rgb(44 44 49 / 12%), 0 2px 8px rgb(44 44 49 / 8%);
    cursor: pointer;
  }
}

/* LOCATIONS */
.section-locations .page-section {
  display: none;
  margin-bottom: 0;
}
.locations-search {
  padding: 0 15px 0 15px;
  display: grid;
  justify-items: center;
  gap: 15px;
  background-color: #efe0cc;
}
/* .locations-search .section-locations-illustration-container {
  grid-row-start: 4;
  grid-row-end: 5;
}
.locations-search .location-search-dropdown {
  grid-row-start: 3;
  grid-row-end: 4;
} */
@media screen and (min-width:768px) {
  .locations-search {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .section-locations .page-section {
    margin-bottom: 48px;
  }
  .locations-search {
    border-radius: 16px;
  }
}

.locations-search .section-locations-header-container {
  grid-column-start: 0;
  grid-row-start: 0;
  display: grid;
  gap: 15px;
  justify-items: left;
  width: 90%;
}
.locations-search .section-locations-header-container>* {
  padding-left: 0; /* removes padding of section header */
}

.location-search-dropdown {
  width: 90%;
  justify-self: center;
  position: relative;
  display: flex;
}
.location-search-dropdown-content {
  /* display: none; */
  position: absolute;
  top: 60px;
  width: 100%;
  border-radius: 7px;
  background-color: #fff;
  /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
  /* z-index: 1; */
}
.location-search-list-item {
  height: 40px;
}
.location-search-list-item>a {
  color: #502314;
  padding: 6px 8px;
  line-height: 40px;
  font-size: 0.8em;
}
.location-search-list-item~li {
  border-top: 1px solid #f5ebdc;
}
.location-search-list-item:hover {
  background-color: #d7c7b5;
}
.location-search-list-item:hover>a {
  color: #d62300;
}

#input-locations-search:hover~.location-search-dropdown-content {
  display: block;
  /* border: 5px solid red; */
}

.locations-search #input-locations-search {
  width: 100%;
  height: 50px;
  padding: 0px 15px;
  border-radius: 7px;
  border: 1px solid #bba391;
  font-family: Flame-Sans;
  font-size: 1em;
  color: #502314;
}
.locations-search #input-locations-search:focus {
  border: 1px solid #d62300;
}
.locations-search #input-locations-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius:10px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='24' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cline style='stroke:%23502314;' x1='18' x2='6' y1='6' y2='18'/%3E%3Cline style='stroke:%23502314;' x1='6' x2='18' y1='6' y2='18'/%3E%3C/svg%3E");
  background-repeat:no-repeat;  
  background-size: auto 89%;
  background-position: center center;
  cursor: pointer;
}

.locations-search p.home-subtext {
  width: auto;
  justify-self: left;
}
.section-locations-illustration-container {
  height: 250px;
  overflow: hidden;
}
.locations-search .section-locations-illustration {
  max-height: 300px;
  width: auto;
}
@media screen and (min-width:768px) {
  .section-locations-illustration-container {
    grid-column-start: 2;
    grid-row-start: 1;
    grid-row-end: 3;
  }
}








/* DELIVERY SECTION */
.section-delivery {
  background-color: #d62300;
  background-image: url("../assets/img/bk-home-delivery-1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
}
.section-delivery .page-section {
  margin-bottom: 0;
}
.section-delivery-page-section {
  padding: 3em;
}
.section-delivery-container {
  max-width: 500px;
  padding: 2em;
  border-radius: 8px;
  background-color: #f5ebdc;
  display: grid;
  gap: 25px;
  justify-items: center;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-template-areas: 
      "head head"
      "glovo uber"
      "bolt ."
      "order order";
}
.section-delivery .section-delivery-header-container {
  grid-area: head;
  justify-self: left;
  padding-left: 15px;
  display: grid;
  gap: 15px;
}
.section-delivery .section-delivery-header {
  padding: 0;
  padding-bottom: 1em;
}
.section-delivery .home-subtext {
  text-align: center;
}

.section-delivery .section-delivery-glovo {
  grid-area: glovo;
}
.section-delivery .section-delivery-jumia {
  grid-area: jumia;
}
.section-delivery .section-delivery-bolt {
  grid-area: bolt;
}
.section-delivery .section-delivery-uber {
  grid-area: uber;
}
.section-delivery .section-delivery-btn-order {
  grid-area: order;
  padding-top: 2em;
}

.section-delivery .section-delivery-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 64px;
  background-color: transparent;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}
.section-delivery .section-delivery-pill.active img {
  border: 2px solid #d62300;
}

.section-delivery .section-delivery-glovo, 
.section-delivery .section-delivery-jumia,
.section-delivery .section-delivery-uber,
.section-delivery .section-delivery-bolt {
  display: grid;
  gap: 25px;
  width: 87%;
}
.section-delivery .section-delivery-pill img {
  width: 100%;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
}
@media screen and (min-width: 768px) {
  .section-delivery .section-delivery-pill img { 
    width: 50%;
    padding: 20px 25px;
  }
  .section-delivery-glovo {
    margin-left: 2em;
  }
  .section-delivery-jumia {
    margin-right: 2em;
  }
  .section-delivery-uber {
    margin-right: 2em;
  }
  .section-delivery-bolt {
    margin-left: 2em;
  }
}

.section-delivery-btn-order a {
  color: #f5ebdc;
  background-color: #d62300;
  text-decoration: none;
  text-align: center;
  padding: 8px 50px;
  border-radius: 20px;
  cursor: pointer;
}
.section-delivery-btn-order a:hover {
  background-color: #a71b00;
}



footer {
  min-height: 20vh;
  /* background-color: #198737; */
  background-color: #502314;
  padding: 2em 2em 0 2em;
  color: #f5ebdc;
}
footer .page-section {
  margin-bottom: 32px;
}

.footer-sect-1 {
  display: grid;
}
@media screen and (min-width: 992px) {
  .footer-sect-1 {
    grid-template-columns: 2fr 6fr;
  }
  .footer-sect-1 .footer-link-list {
    justify-self: end;
  }
}

.footer-logo {
  margin-bottom: 3em;
}
.footer-logo img {
  width: 166px;
  height: 20px;
}

.footer-link-list {
  padding-bottom: 1em;
}
.footer-link-list h3 {
  font-family: Flame-Regular;
  font-size: 1.5em;
  padding-bottom: 0.5em;
}
.footer-link-list li {
  padding: 0.5em 0;
}
.footer-link-list li a {
  text-decoration: none;
  color: #bba391;
}
.footer-link-list li a:hover {
  text-decoration: underline;
}



.footer-sect-2 {
  padding-top: 1em;
  display: grid;
  gap: 15px;
  border-top: 1px solid #ffffff4d;
}
@media screen and (min-width: 600px) {
  .footer-sect-2 {
    grid-template-columns: 2fr 6fr;
    grid-template-rows: 1fr;
  }
}

.footer-sect-2 .footer-social-media {
  grid-row-start: 1;
  display: flex;
}
@media screen and (min-width: 600px) {
  .footer-sect-2 .footer-social-media {
    grid-column-start: 2;
    justify-self: end;
  }
}
.footer-sect-2 .footer-social-media .footer-social-media-item {
  width: 40px;
}