@import url("/assets/shared-ff3efc4f.css");
@import url("/assets/public_carts-63fb3bed.css");
@import url("/assets/public_products-c6b2bb17.css");

html {
  margin: 0 2rem;
}

html,
body {
  -webkit-overflow-scrolling: touch;
  background-color: var(--black);
  color: var(--white);
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  height: 100%;
  min-height: 100dvh;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Trade Winds", system-ui;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

#view {
  font-size: 1.5rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 10vh;
  padding-top: 10dvh;
  padding-bottom: 20rem;
  width: 100%;
}

.public-button {
  -webkit-transition: all 300ms;
  background-color: var(--white);
  border-color: var(--white);
  border-radius: 1rem;
  border: 1px var(--black) solid;
  color: var(--black);
  cursor: pointer;
  display: flex;
  padding: 0.5rem;
  transition: all 300ms;
  width: fit-content;
}

/* Homepage */

#view > #logo {
  width: 100%;
}

.links-container {
  display: grid;
  gap: 1rem;
  height: fit-content;
  text-align: center;
}

/* LoginForm */

.admin-login-form {
  border-color: var(--grey-light);
  border-radius: 1rem;
  border: 1px var(--black) solid;
  margin: 3rem auto;
  max-height: 40vh;
  width: 60vh;

  form {
    height: 100%;

    .form-inputs-container {
      align-content: center;
      height: 80%;
      margin: 0 auto;
      width: 80%;

      .input-container {
        display: grid;
        font-size: 2rem;
        grid-row-gap: 0.5rem;
        margin: 1rem auto;
      }
    }
    .form-buttons-container {
      text-align: center;
    }
  }
}

/* STATIC_PAGES */

.page-title {
  font-size: 2.5rem;
  text-decoration: underline;
  text-transform: capitalize;
}

.page-body {
  p {
    margin: 1rem 0.5rem;
  }
  ul {
    margin: 1rem 0.5rem 1rem 2rem;
    list-style: disc;
  }
  h3 {
    text-decoration: underline;
  }
}
.page-body.f-1 {
  font-size: 1.5rem;
}

#contact-button {
  margin: 2rem auto auto auto;
}

.links {
  display: grid;
  gap: 1rem;
  margin: 3rem auto 0 auto;
  text-align: center;
  width: fit-content;

  a {
    -webkit-transition: all 300ms;
    background-color: var(--white);
    border-color: var(--white);
    border-radius: 1rem;
    border: 1px var(--black) solid;
    color: var(--black);
    cursor: pointer;
    display: grid;
    grid-template-columns: 3rem 1fr;
    padding: 0.5rem;
    transition: all 300ms;
    width: 12rem;

    svg {
      align-self: center;
    }
  }
}

#ovni {
  margin: 2rem auto;
}

/* CATEGORIES */

.products-container {
  display: grid;
  gap: 3rem;
  line-height: 3rem;
  margin-top: 3rem;

  .product-link {
    display: grid;
  }
}

/* NAVIGATION */

#navbar {
  align-items: center;
  background-color: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 7rem 1fr 6rem;
  height: 10vh;
  height: 10dvh;
  left: 0;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;

  .logo-link {
    height: inherit;
  }

  #logo,
  #burger {
    height: inherit;
    width: auto;
  }

  #burger {
    width: 3rem;
  }

  #page-title {
    -webkit-transition: all 300ms;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 2rem;
    transition: all 300ms;
  }
  #page-title.black {
    color: var(--black);
  }

  #burger-button {
    color: var(--white);
    height: inherit;
    padding-right: 1rem;
    width: fit-content;
    margin-left: auto;
  }

  #menu {
    -webkit-transition: all 300ms;
    background-color: var(--black);
    display: grid;
    font-size: 2rem;
    grid-column: span 3;
    height: 90vh;
    height: 90dvh;
    transition: all 300ms;

    .links-container {
      .menu-item {
        a {
          display: block;
        }
      }
    }
  }
}

#footer {
  background-color: var(--black);
  bottom: 0;
  color: var(--white);
  display: grid;
  height: 5rem;
  left: 0;
  padding: 0.5rem;
  padding-bottom: env(safe-area-inset-bottom);
  position: fixed;
  width: 100%;

  #cart-wrapper {
    margin: 0 auto;
    position: relative;

    #cart-button {
      margin: 0 auto;
      width: 4rem;
    }
    #cart-counter {
      color: var(--black);
      display: block;
      position: absolute;
      text-align: center;
      top: 3px;
      width: 100%;
    }
  }
}

/* UI */

#facebook,
#bandcamp,
#instagram,
#spotify {
  height: 2rem;
}
