/*!
Theme Name: essense
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: essense
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

essense is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* *:not(.flickity-enabled *, .fancybox-container *) {
  -webkit-transition-duration: .25s;
  -moz-transition-duration: .25s;
  -o-transition-duration: .25s;
  transition-duration: .25s;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
} */

@font-face {
  font-family: 'font';
  src: url('font/font.woff2') format('woff2'),
       url('font/font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}

html {
  font-size: 1rem; /* 16px */
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: 'EB Garamond', serif;
  color: rgb(0, 0, 0);
  line-height: 1.25;
  background-color: rgb(255, 255, 255);
}

main {
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 400;
  line-height: .875;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  /* letter-spacing: -.075em; */
}

h1, .h1 {
  font-size: calc( 6vw / 1.6 + 24px );
}

h2, .h2 {
  font-size: calc( 5vw / 1.6 + 24px );
}

h3, .h3 {
  font-size: calc( 4vw / 1.6 + 24px );
}

h4, .h4 {
  font-size: calc( 3vw / 1.6 + 24px );
}

h5, .h5 {
  font-size: calc( 2vw / 1.6 + 24px );
}

h6, .h6 {
  font-size: calc( 1vw / 1.6 + 24px );
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  outline: none;
  cursor: pointer;
}

p {
  font-size: 1rem;
}

.lead {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
}

.position-relative {
  position: relative;
}

.text-transform-uppercase {
  text-transform: uppercase;
}

.font-family-sans-serif {
  font-family: 'font', Arial, sans-serif;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header .brand a {
  width: 112.5px;
}

.header .a-instagram {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 1rem;
  transform-origin: top left;
  transform: rotate(-90deg) translateX(-100%);
  font-size: .75rem;
}

/* .nav-hidden .header {
  transform: translateY(-100%);
}

.nav-bg .header {
} */

.header .nav {
  background-color: rgb(255, 255, 255);
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-100%);
  -webkit-transition-duration: .5s;
  -moz-transition-duration: .5s;
  -o-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-property: translate, opacity;
  -moz-transition-property: translate, opacity;
  -o-transition-property: translate, opacity;
  transition-property: translate, opacity;
  -webkit-transition-delay: 0, 1s;
  -moz-transition-delay: 0, 1s;
  -o-transition-delay: 0, 1s;
  transition-delay: 0, 1s;
}

.nav-open .header .nav {
  opacity: 1;
  transform: translateY(0);
  z-index: -1;
}

.header .nav ul li {
  font-size: calc( 3vw / 1.6 + 24px );
}

.header .nav ul li a {
  display: block;
  color: rgb(0, 0, 0);
}

.home .hero h1 {
  font-size: calc( 6vw / 1.6 + 32px );
  line-height: 1;
}

.button {
  display: inline-block;
  width: 100%;
  font-family: 'EB Garamond', serif;
  line-height: 1;
  padding-top: .75em;
  padding-bottom: .875em;
  padding-left: 1.5em;
  padding-right: 1.5em;
  color: rgb(0, 0, 0);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 0 1px inset rgb(180, 180, 180);
  cursor: pointer;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
}

.button:hover {
}

.text-background-gradient {
  display: inline-block;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(160, 155, 150) 75%);
  background-image: -moz-linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(160, 155, 150) 75%);
  background-image: -webkit-linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(160, 155, 150) 75%);
  background-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(160, 155, 150) 75%);
}

.ul-category:after {
  content: 'flickity';
  display: none;
}

.ul-category span {
  font-family: 'font', Arial, sans-serif;
  font-size: .875rem;
  line-height: 1rem;
  padding-top: .75rem;
  padding-bottom: .875rem;
  display: block;
}

/* card */

.card-img {
  overflow: hidden;
}

.card img {
  -webkit-transition-duration: 2s;
  -moz-transition-duration: 2s;
  -o-transition-duration: 2s;
  transition-duration: 2s;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
}

.card:hover img {
  transform: scale(110%);
}

/* footer */

.footer {
  font-size: .875rem;
}

.footer,
.footer a {
  color: rgb(0, 0, 0);
}

/* grid */

.grid-sizer,
.grid-item {
  width: 100%
}

.grid {
  margin: -.5rem;
}

.grid > * {
  padding: .5rem;
}

/* the content single post */

.the-content {
  margin-top: -1.25rem;
  margin-bottom: -1rem;
}

.the-content h1, .the-content h2, .the-content h3, .the-content h4, .the-content h5, .the-content h6 {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.the-content p {
  font-size: 1.125rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.the-content blockquote p {
  font-family: 'font', Arial, sans-serif;
  font-size: 1.5rem;
}

.the-content ul,
.the-content ol {
  font-size: 1.125rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  list-style-position: inside;
}

.the-content ul {
  list-style-type: disc;
}

.the-content figure {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  max-width: 100%;
}

.the-content figcaption {
  padding-top: .25rem;
  font-family: 'font', Arial, sans-serif;
  text-transform: uppercase;
  text-align: right;
  font-size: .875rem;
  color: rgb(120, 120, 120);
}

.the-content .gallery {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

.the-content .gallery img {
  display: block;
  height: calc( 16vw + 320px );
  width: auto;
  min-width: 200px;
  max-width: 200%;
  margin-left: 1rem;
}

/* hamburger */

.hamburger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  border-radius: 50%;
  -webkit-transition-duration: .5s;
  -moz-transition-duration: .5s;
  -o-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-property: box-shadow;
  -moz-transition-property: box-shadow;
  -o-transition-property: box-shadow;
  transition-property: box-shadow;
  -webkit-transition-delay: .5s;
  -moz-transition-delay: .5s;
  -o-transition-delay: .5s;
  transition-delay: .5s;
}

.nav-open .hamburger {
  box-shadow: 0 0 0 1px inset rgb(200, 200, 200);
}

.hamburger svg {
  display: block;
  width: 2rem;
  height: 2rem;
  fill: rgb(0, 0, 0);
}

.hamburger svg rect {
  -webkit-transition-duration: .25s;
  -moz-transition-duration: .25s;
  -o-transition-duration: .25s;
  transition-duration: .25s;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
}

.hamburger svg rect.rect_1 {
  transform: translate(0, 0);
}

.hamburger svg rect.rect_3 {
  transform: translate(0, 0);
}

.nav-open .hamburger svg rect.rect_1 {
  transform: translateY(4px);
}

.nav-open .hamburger svg rect.rect_3 {
  transform: translateY(-4px);
}

/* ------------------------------------------------------ MIN WIDTH 576 PX SM */

@media (min-width: 576px) {

  .grid-sizer,
  .grid-item {
    width: 50%
  }

}

/* ------------------------------------------------------ MIN WIDTH 768 PX MD */

@media (min-width: 768px) {

  .header .brand a {
    width: calc( 10vw / 1.6 + 80px );
  }

  .header .a-instagram {
    font-size: 1rem;
  }

}

/* ------------------------------------------------------ MIN WIDTH 992 PX LG */

@media (min-width: 992px) {

  .lead {
    font-size: calc( 1vw / 1.6 + 16px );
  }

  .ul-category:after {
    content: '';
  }

  .grid-sizer,
  .grid-item {
    width: 25%
  }

  .home .grid .grid-item:first-of-type {
    width: 50%;
  }

  .the-content .gallery {
    margin-left: calc(-25% - 1rem);
    margin-right: calc(-25% - 1rem);
  }

}

/* ----------------------------------------------------- MIN WIDTH 1200 PX XL */

@media (min-width: 1200px) {

  /* grid */

  .grid {
    margin: -1rem;
  }

  .grid > * {
    padding: 1rem;
  }

  /* the content single post */

  .the-content .gallery {
    margin-left: calc(-25% - 2rem);
    margin-right: calc(-25% - 2rem);
  }

  .header .a-instagram {
    top: 2rem;
    font-size: 1.25rem;
  }

}

/* ---------------------------------------------------- MIN WIDTH 1400 PX XXL */

@media (min-width: 1400px) {

  /* grid */

  .grid-sizer,
  .grid-item {
    width: 16.66666666%
  }

  /* the content single post */

  .the-content .gallery {
    margin-left: calc(-50% - 2rem);
    margin-right: calc(-50% - 2rem);
  }


}

/* --------------------------------------------------------- MAX WIDTH 991 PX */

@media (max-width: 991px) {

}
