/* VARIABLES */
@font-face {
  font-family: "clearface";
  src: url("fonts/clearfacestd-bold.otf");
}
@font-face {
  font-family: "clearface";
  src: url("fonts/clearfacestd-italic.otf");
  font-style: italic;
}
/* MIXINS */
.hide {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin-block-end: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, button, input, label {
  line-height: 1.1;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

body {
  font-family: "bookmania", serif;
  font-size: 1rem;
  color: rgb(19, 36, 72);
  background-color: rgb(255, 255, 255);
  margin: 0rem;
  padding: 0rem;
}
body.sub {
  padding-top: 240px;
  background-image: url("../img/noise.webp");
}

/* ----- UNIVERSAL ----- */
/* NAV */
nav {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -120%;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 500;
  background: url("../img/bg-nav.jpg") no-repeat center/cover;
  font-family: "trade-gothic-next-compressed", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(255, 255, 255);
  padding: 40px;
  transition: top 0.25s ease;
}
nav.active {
  top: 0px;
}
nav .logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 120px;
  height: auto;
}
@media (min-width: 1024px) {
  nav .logo {
    top: 20px;
    left: 30px;
    width: 200px;
  }
}
@media (min-width: 1440px) {
  nav .logo {
    width: 300px;
  }
}
nav .logo img {
  display: block;
  width: 100%;
  height: auto;
}
nav .close {
  position: absolute;
  top: 30px;
  right: 35px;
  background: transparent;
  border: none;
  padding: 0px 16px;
  margin: 0px;
  line-height: 48px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  nav .close {
    top: 20px;
    right: 30px;
  }
}
nav .close::before {
  content: "X";
  font-family: "trade-gothic-next-compressed", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 48px;
  color: rgb(255, 255, 255);
  padding: 0px;
  margin: 0px;
}
@media (min-width: 1024px) {
  nav .close::before {
    font-size: 72px;
    line-height: 72px;
  }
}
nav .close span {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
nav ul {
  display: block;
  text-align: center;
  list-style: none;
  padding: 0px;
  margin: 40px 0px;
}
@media (min-width: 1024px) {
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0px;
  }
}
@media (min-width: 1024px) {
  nav ul li {
    width: 50%;
    margin-bottom: 48px;
  }
}
nav ul li a {
  display: block;
  font-size: 60px;
  line-height: 60px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255, 255, 255);
  margin-bottom: 12px;
}
@media (min-width: 1024px) {
  nav ul li a {
    font-size: 72px;
    line-height: 72px;
    margin-bottom: 0;
  }
}

/* HEADER */
header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 300;
}
header > a {
  display: block;
  width: 140px;
  height: 140px;
  transition: 0.25s ease-in-out;
}
@media (min-width: 1024px) {
  header > a {
    width: 350px;
    height: 350px;
  }
}
header > a.scrolled {
  width: 100px;
  height: 100px;
}
@media (min-width: 1024px) {
  header > a.scrolled {
    width: 80px;
    height: 80px;
  }
}
header > a h1 {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/its-bagels-logo.webp") no-repeat center/contain;
  margin: 1rem;
  transition: 0.25s ease-in-out;
}
header > a h1 span {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
header .hamburger {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
}
header .hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: rgb(19, 36, 72);
}
header .hamburger span:nth-child(1) {
  top: 0px;
}
header .hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
header .hamburger span:nth-child(3) {
  bottom: 0px;
}
header .delivery-btn {
  display: none;
}
@media (min-width: 1024px) {
  header .delivery-btn {
    display: block;
    position: absolute;
    right: 115px;
    top: 30px;
    height: 60px;
    width: 120px;
    background: url("../img/delivery-car-btn.webp") no-repeat center/contain;
  }
  header .delivery-btn span {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
  }
}
header .shopping-btn {
  display: none;
}
@media (min-width: 1024px) {
  header .shopping-btn {
    display: block;
    position: absolute;
    right: 34px;
    top: 100px;
    height: 60px;
    width: 50px;
    background: url("../img/shopping-btn.svg") no-repeat center/contain;
  }
  header .shopping-btn span {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
  }
}

/* ----- HOME PAGE ----- */
/* INTRO */
#intro {
  position: relative;
  height: 100vh;
  max-height: 50vh;
  min-height: 400px;
  overflow: hidden;
  background-image: url("../img/noise.webp");
  background-repeat: repeat;
  background-position: center;
}
@media (min-width: 1024px) {
  #intro {
    max-height: 1000px;
  }
}
#intro > div {
  display: grid;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 110%;
  height: auto;
  z-index: 200;
}
@media (min-width: 1024px) {
  #intro > div {
    width: 85%;
  }
}
#intro > div #bagel {
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 1;
  grid-row-end: 1;
  display: block;
  transform-origin: center;
  width: 100%;
  height: auto;
}
#intro > div #everything {
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 1;
  grid-row-end: 1;
  display: block;
  transform-origin: center;
  width: 100%;
  animation: rotating 20s linear infinite;
}

/* ----- SUB PAGES ----- */
.sub {
  /* FOOD MENU */
  /* HISTORY */
}
.sub #food-menu img {
  display: block;
  width: 100%;
  height: auto;
}
.sub #food-menu #food-menu-mobile {
  display: block;
}
@media (min-width: 1024px) {
  .sub #food-menu #food-menu-mobile {
    display: none;
  }
}
.sub #food-menu #food-menu-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .sub #food-menu #food-menu-desktop {
    display: block;
  }
}

/* SIGNUP FORM */
#mc_embed_shell {
  display: block;
}
#mc_embed_shell #mc_embed_signup_scroll {
  display: flex;
  flex-direction: row;
}
#mc_embed_shell #mc_embed_signup_scroll label {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
#mc_embed_shell #mc_embed_signup_scroll input[type=email] {
  display: inline-block;
  border: 1px solid rgb(19, 36, 72);
  border-radius: 2px;
  padding: 0.5rem 1rem 0.25rem 1rem;
  font-family: "bookmania", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: rgb(19, 36, 72);
  vertical-align: middle;
  margin-right: 8px;
  -webkit-appearance: none;
  appearance: none;
}
#mc_embed_shell #mc_embed_signup_scroll input[type=email]:focus {
  outline: none;
  box-shadow: 0px 0px 3px 0px rgba(19, 36, 72, 0.75) inset;
}
#mc_embed_shell #mc_embed_signup_scroll input[type=submit] {
  display: inline-block;
  height: 100%;
  border: 0px;
  border-radius: 2px;
  background: rgb(19, 36, 72);
  font-family: "bookmania", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  vertical-align: middle;
  padding: 0.5rem 1rem 0.25rem 1rem;
  -webkit-appearance: none;
  appearance: none;
}
#mc_embed_shell #mc_embed_signup_scroll input[type=submit]::-moz-focus-inner {
  border: 0;
}

/* ANIMATION */
@keyframes rotating {
  0% {
    transform: rotate(0deg) scale(110%);
  }
  100% {
    transform: rotate(360deg) scale(110%);
  }
}

/*# sourceMappingURL=styles.css.map */
