:root {
  /* ========= TEXT ========= */

  --text-dark: #16181d;
  --text-light: #ffffff;

  --text-muted: #6f7682;

  /* ========= BACKGROUNDS ========= */

 /*  --foreground-color: #ffffff;
  --background-color: #f4f2ee;
  --midground-color: #f8f6f3;
  --subground-color: #ece8e1; */

  --foreground-color: #ffffff;
  /* this background color is the best
  but if we want to keep the ideal
  midground we gotta lower it,
  so no dont touch this barely found it*/

  /* --background-color: #f9f8f4; */
  --background-color: #F7F8F8;

  /* --midground-color: #fcfaf7; would be ideal but too dark*/

  /* --midground-color: #fefcfb; */ /* this is it my wigga*/
  --midground-color: #FBFBFB;

  /* --subground-color: #ece8e1; */
  --subground-color: #efefef;

  /* ========= ACCENTS ========= */

  --accent-color: #ff5a4f;
  --accent-color-2: #2fbf71;

  --tag-color: #efebe5;

  /* ========= BORDERS ========= */

  --border: 2px solid var(--accent-color);

  --border-diff: #e5dfd7;
}

/* original dark mode */

:root.dark-mode {
  --text-dark: #ffffff;
  /* --text-light: #222222; */
  --text-light: #192024;
 /*  --text-muted: #595959; /*original*/
  --text-muted: #a1a1a1;

  --foreground-color: #192024;
  --background-color: #101418;
  --midground-color: #14191E; 
  --subground-color: #0a0e10;

  --accent-color: #ff5a4f;
  --accent-color-2: #3bb54a;
  --tag-color: var(--accent-color-2);

  --border: 2px solid var(--accent-color);

  /* --border-diff: #192024; */
  --border-diff: #2a2a2a;

  /* --midground-color: #101418;
  --background-color: #14191E; */
}









@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/Manrope-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: block;
}


.form__field {
  --background-color: var(--subground-color);

}

#query_input,
.form__field,
.nav__link,
.item-category,
.payment-options {
  --border: 2px solid var(--accent-color);
}

html {
  /* Sets global font size on small devices */
  font-family: "Manrope", sans-serif;
/*   background-color: #ffffff; */
  font-size: 10px;
  z-index: 8;
}

/* html.dark-mode {
  background-color: #192024;
  font-size: 10px;
} */

@media screen and (min-width: 45em) {
  html {
    font-size: 10px;
  }
}

/* When the screen width hits 960px, we increase the global font size to 14px. This changes
     the scale of all of our relative units (the rems), keeping everything in proportion */
@media screen and (min-width: 60em) {
  html {
    font-size: 10px;
  }
}

/* When the screen width hits 1200px, we once again increase the global font size, this time to 16px */
@media screen and (min-width: 75em) {
  html {
    font-size: 10px;
  }
}

body {
  display: flex;
  flex-direction: column;
  margin: 0 auto;

  font-family: "Manrope", sans-serif;
  
  color: var(--text-dark);
  line-height: 1.45;
  background-color: var(--background-color);
  padding-top: 0;
  z-index: 10;

  touch-action: manipulation;
  overscroll-behavior: none;

  /* background-image: url("/static/images/pattern-dark.svg");
  background-repeat: repeat; */
}

/* html.dark-mode .body {
  background-image: url("/static/images/pattern-dark.svg");
} */

/* font-family: "Roboto", sans-serif; */

h1 {
  display: flex;
  justify-content: left;
  align-items: left;

  
  margin-left: 1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-size: 28px;
  font-weight: 800;
}

h2 {
  display: flex;
  justify-content: left;
  align-items: left;

  margin-left: 1rem;
  margin-bottom: 0rem;
  margin-top: 0.25rem;
  font-size: 16px;
  font-weight: 800;

}

/* p {
  display: flex;
  justify-content: left;
  align-items: left;

  margin-left: 1rem;
  margin-bottom: 0rem;
  margin-top: 0.25rem;
  font-size: 12px;
  font-weight: 800;
} */

h3 {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
}

h4 {
  display: flex;
  justify-content: left;

  margin-left: 0rem;
  margin-bottom: 0rem;
  margin-top: 0rem;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01rem;
}

h5 {
  margin-left: 0rem;
  margin-bottom: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

h6 {
  display: flex;
  justify-content: left;
  align-items: left;

  margin-left: 1rem;
  margin-bottom: 0rem;
  margin-top: 0rem;
  font-size: 16px;
  font-weight: 800;
}


.midground_color {
  justify-content: center;
  align-items: center;
  margin: 0 auto;

  width: 100%;

  background-color: var(--midground-color);

  margin-top: 0.5rem;
  padding: 1rem 0.5rem 1rem 0.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}




.main {
  flex-grow: 0;
  padding: 2rem 0rem 0rem 0rem;
  margin-bottom: 10rem;
  margin: 0 auto;
  width: 100%;
  /* max-width: 43rem; */
}


.header {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  height: 2rem;
  padding: 0 2rem;
  right: 0;
  left: 0;
  z-index: 99999;
  background-color: #ff0a1d;
}

.header__logo {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0rem;
  left: 0rem;
  color: inherit;
  text-decoration: none;
}

.header__logo:hover {
  color: var(--accent-color);
}

.logo__icon {
  margin-left: 0;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: left;
}

.logo__name {
  display: flex;
  left: 0;
  align-items: left;
  justify-content: left;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.025rem;
  padding: 0.5rem 0rem 0.5rem 0rem;
}

.promotional-message{
  display: flex;
  text-align: center;
  
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.nav-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 80rem;
}

.nav {
  display: flex;
}

.nav__button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.nav__link {
  display: flex;
  align-items: center;
  /* padding: 1.35rem 0.5rem 0.5rem 0.5rem; */
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  text-decoration: none;
  color: inherit;
  z-index: 10;
}

.nav__link--active {
  margin-bottom: -2px;
  border-bottom: var(--border);
}

/* .nav__link:not(:last-child) {
  margin-right: 1rem;
} */

.nav__link:hover {
  margin-bottom: -2px;
  border-bottom: var(--border);
}

.nav__item {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.nav__icon {
  width: 1.25em;
  height: 1.25em;
  fill: var(--text-dark);
  transition: fill 0.3s ease;
}

.theme-icon-sun {
  display: none;
}

.dark-mode .theme-icon-sun {
  display: inline-flex;
}

.dark-mode .theme-icon-moon {
  display: none;
}



.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;

  width: 100%;
  height: fit-content;
  /* min-height: 42rem; */

  margin-top: 2rem;
  padding: 1rem 0 2rem 0;

  color: var(--text-muted);
  background-color: var(--subground-color);
  text-align: center;
  z-index: 8888;

  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

.footer-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;

  gap: 0.5rem;

  height: fit-content;
  width: 100%;
  max-width: 140rem;

  /* background-color: var(--background-color); */
  /* padding: 0.5rem 0.25rem 0.25rem 0.5rem;
  margin-bottom: 1rem;

  border-radius: 1.5rem; */

}

.footer-column{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  
  gap: 0rem;
  height: fit-content;
  width: 100%;

  /* background-color: var(--subground-color); */
  border-radius: 1.25rem;
  padding: 1rem 1rem 0rem 1rem;
  /* border: 1px solid var(--foreground-color); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
}

.footer_url_text{
  display: flex;
  text-align: left;
  margin-left: 1rem;
  margin-bottom: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.footer_url_text:hover{
  margin-left: 1rem;
  margin-bottom: 0.75rem;
  font-size: 12px;
  font-weight: 400;
  color: var(--accent-color);
  text-decoration: none;
}

.footer_title_text{
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0rem;
}

.footer_logo_wrapper{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  height: 15rem;
  word-wrap: break-word;
  padding: 1rem;
}

.footer_small_logo_container{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 16rem;
  height: fit-content;
  background-color: none;
  margin: 0 0 1rem 1rem;
  border-radius: 0rem;
}

.footer_small_logo_container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.button {
  
  display: block;
  outline: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  transition: background 0.1s ease-in;
}

.link {
  text-decoration: none;
  color: var(--accent-color);
  white-space: nowrap;
}

.link:hover {
  text-decoration: underline;
}



@media screen and (min-width: 45em) {

  .header {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    height: 2rem;
    padding: 0 2rem;
    right: 0;
    left: 0;
    z-index: 99999;
    background-color: #ff0a1d;
  }

  .header__logo {
    display: none;
  }

  .nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 80rem;
    height: 2rem;
  }

  .nav__link {
    display: none;
  }

  .nav__button {
    display: none;

  }

  h1 {
    display: flex;
    justify-content: left;
    align-items: left;

    margin-left: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0rem;
    font-size: 22px;
  }

  h2 {
    display: flex;
    justify-content: left;
    align-items: left;

    margin-left: 1rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
    font-size: 18px;
    font-weight: 800;

  }

  h3 {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
  }

  .midground_color {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  
    max-width: 42rem;
  
    background-color: var(--midground-color);
  
    margin-top: 0.5rem;

    padding: 1rem 0.5rem 1rem 0.5rem;

    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }
  
  .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    flex-grow: 0;
    padding: 2rem 0rem 0rem 0rem;
    margin-bottom: 10rem;

    width: 100%;  
    /* max-width: 136rem; */
    /* max-width: 142rem; */
    /* max-width: 154rem; */
    /* min-width: 90%; */
    margin: 0 auto;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  
    width: 100%;
    height: fit-content;
    /* min-height: 22rem; */
  
    margin-top: 2rem;
    padding: 1rem 5rem;
  
    color: var(--text-muted);
    background-color: var(--subground-color);
    text-align: center;
    z-index: 8888;

    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
  }
  
  .footer-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  
    gap: 1rem;
  
    height: 100%;
    width: 100%;
    max-width: 140rem;
  
    /* background-color: var(--background-color); */
    padding: 1rem 1rem 1rem 5rem;
    margin-bottom: 1rem;
  
    border-radius: 1.5rem;
  
  }
  
  .footer-column{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
    gap: 0.5rem;
    height: 100%;
    width: 100%;
    padding: 0rem 1rem 0rem 1rem;
  }

  .footer_url_text{
    display: flex;
    text-align: left;
    margin-left: 1rem;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
  }
  
  .footer_url_text:hover{
    margin-left: 1rem;
    margin-bottom: 0.75rem;
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-color);
    text-decoration: none;
  }
  
  .footer_title_text{
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0rem;
  }

  .footer_logo_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 140rem;
    height: fit-content;
    word-wrap: break-word;
    padding: 2rem 1rem 1rem 5rem;
  }

  .footer_small_logo_container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 20rem;
    height: fit-content;
    background-color: none;
    margin: 0rem 0rem 0 0;
    border-radius: 10rem;
  }

  .footer_small_logo_container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
}
