
@font-face {
  font-family: "FrauncesSoft";
  font-weight: bold;
  /* font-style: italic; */
  src: url("typography/Fraunces_144pt_Soft-BoldItalic.ttf");
}
@font-face {
  font-family: "FrauncesSoftt";
  font-weight: normal;
  /* font-style: italic; */
  src: url("typography/Fraunces144ptSoft-SemiBold.ttf");
}
/* 
@font-face {
  font-family: "FrauncesSoft";
  font-weight: bold;
  src: url("typography/Fraunces_144pt_Soft-Bold.ttf");
}

@font-face {
  font-family: "FrauncesSoft";
  font-weight: normal;
  src: url("typography/Fraunces_144pt_Soft-Regular.ttf");
} */

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: normal;
  src: url("typography/Fraunces_144pt-LightItalic.ttf");
}

@font-face {
  font-family: "Fraunces";
  font-weight: normal;
  src: url("typography/Fraunces_144pt-Light.ttf");
}

/* @font-face {
  font-family: "Fraunces";
  font-style: italic;
  src: url("typography/Fraunces_144pt-ThinItalic.ttf");
}

@font-face {
  font-family: "Fraunces";
  src: url("typography/Fraunces_144pt-Thin.ttf");
} */

/*  
mobile first 
*/

* {
  box-sizing: border-box;
}

/* 
Prevents flash of custom web components if they are not defined, which they
initially are not. 
*/
:not(:defined) {
  visibility: hidden;
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  background-color: white;
  margin: 0;
  font-family: "Fraunces";
  min-height: 100vh;
}

main {
  min-height: calc(100vh - 4rem);
}

h2 {
  font-size: 1rem;
}

footer {
  height: 12rem;
  background-color: whitesmoke;
  padding: 1rem;
  color: #bbb;
  display: flex;
  align-items: flex-end;
  font-weight: lighter;
}

header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr;
  height: 4rem;
  font-size: 1rem;
  font-family: "Fraunces";
  /* text-transform: lowercase; */
}

.icon-button-wrapper {
  padding: 0.5rem;
}

header > nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0.5rem;
}

#drawer > nav > a, header > nav > a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

#drawer > nav {
  display: flex;
  flex-direction: column;
}

#drawer > nav > a {
  margin-top: 1rem;
}

header > nav > a:hover {
  font-weight: bold;
}

header > nav > a.active {
  font-weight: bold;
}

.badge {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.75rem;
  letter-spacing: 0.025rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: 'FrauncesSoft';
  font-style: italic;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

.byline {
  color: #bbb
}

.splash {
  background-image: url("/photography/IMG_3457.png");
  object-fit: cover;
  object-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(100vh - 4rem);
}

.splash-main {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: FrauncesSoft;
  font-weight: bold;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  color: #d5dad3;
  font-size: 18vw;
}

.splash-yoga {
  background-image: url("/photography/lc-yoga-bw.jpeg");
  background-position: right bottom;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 4fr auto;
  height: calc(100vh - 4rem);
}

.section-split-img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  max-height: 100%;
  margin-bottom: 2rem;
}

.section-split > section.product-gallery {
  /* height: calc(100vh - 4rem); */
  overflow-y: scroll;
}

.gallery-wrap {
  padding: 1rem;
  font-weight: 500;
}

.gallery-wrap > p {
  font-weight: lighter;
}

.gallery-wrap > .title {
  font-weight: lighter;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
}

.gallery > .cell {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
}

.gallery > .left {
  justify-content: start;
}

.gallery > .cell:hover .item-name {
  text-decoration: underline;
}

.gallery > .cell > .item {
  height: 100%;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 2rem;
  grid-gap: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  max-width: 420px;
}

.gallery > .cell > .item > .item-display {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  align-items: start;
  max-height: 75vh;
}

.gallery > .cell > .item > .item-price {
  text-align: right;
}

.gallery > .cell > .item > .item-display > img {
  max-height: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.product-info-wrap {
  /* padding: 0.5rem; */
  padding: 1rem 2rem;
}

.clothing-title {
  display: none;
}

#drawer-nav {
  display: block;
  grid-column: 1;
  grid-row: 1;
  font-size: 1.5rem;
}

#button-nav {
  display: none;
}

body.admin {
  padding: 2rem;
}

li.bulletless {
  list-style-type: none;
}

section.card {
  background: #eee;
  border-radius: .25rem;
  padding: .5rem;
  display: block;
  margin-bottom: .5rem;
}

img.contained {
  width: 100%;
  object-fit: contain;
}

.about-wrap {
  padding: 1rem;
}

/*  
desktop modifications 
*/
@media only screen and (min-width: 768px) {
  header {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
  }

  header > .badge {
    grid-row: 1;
    grid-column: 2;
  }

  header > nav {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0.5rem;
  }


  header > nav > a {
    margin-left: 2rem;
  }

  footer {
    padding: 1rem 2rem;
  }

  .gallery-wrap {
    padding: 4rem;
  }
  
  .about-wrap {
    display: flex;
    justify-content: center;
  }

  .about-wrap > p {
    max-width: 50vw;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 2rem;
  }

  .head {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .splash-main {
    font-size: 10rem;
  }
  
  .section-split {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    height: calc(100vh - 4rem);
  }

  .product-info-wrap {
    padding: 1rem 2rem;
  }
  
  .gallery > .cell {
    max-width: 50vw;
  }
  
  .clothing-title {
    display: block;
  }

  #drawer-nav {
    display: none;
  }

  #button-nav {
    display: flex;
    justify-content: start;
  }
} 